Discussion:
Maple document mode has no "hat" symbol?
(too old to reply)
Luna Moon
2007-07-26 02:15:29 UTC
Permalink
I don't understand what's the difference between the document mode and the
worksheet mode.

Here I interpretate the document mode to be the fancy mode in which users
can write math articles while processing math inline.

I didn't find the "hat" symbol? I want to label a variable to be "\hat{x}".
I didn't expect that Maple doesn't have this symbol.

What's wrong?

-----------------

In this mode, I cannot define functions or variables at my will,

to give an example,

if I want to define the greek "gamma" to be:

gamma=a+b*i,

and I want to substitute it to some other formulaes later,

it didn't allow me to define such a variable -- it says the greek "gamma" is
protected...

If I want to define a capital lettered D as a function,

again it says it is "protected"...

How can I author math articles if I cannot define variables in a natural way
and then later substitute them into other formulaes?
Joe Riel
2007-07-26 04:17:39 UTC
Permalink
Post by Luna Moon
I don't understand what's the difference between the document mode and the
worksheet mode.
Here I interpretate the document mode to be the fancy mode in which users
can write math articles while processing math inline.
I didn't find the "hat" symbol? I want to label a variable to be "\hat{x}".
I didn't expect that Maple doesn't have this symbol.
You could create it in 2D mode (fancy input) by selecting the "over" symbol
in the Layout palette, it looks like

b
A

Then change the A to an x and the be to a circumflex (type \^, since ^ is
normally interpreted in 2D input to be the superscript operator).
Post by Luna Moon
-----------------
In this mode, I cannot define functions or variables at my will,
to give an example,
gamma=a+b*i,
and I want to substitute it to some other formulaes later,
it didn't allow me to define such a variable -- it says the greek "gamma" is
protected...
If I want to define a capital lettered D as a function,
again it says it is "protected"...
How can I author math articles if I cannot define variables in a natural way
and then later substitute them into other formulaes?
Some variable names are used by Maple. See the help pages for D and gamma.
You could choose to unprotect gamma and then reassign it. For example,

unprotect('gamma'):
gamma := a+b*i;

It's not usually not a great idea to do this; some procedures in the
Maple library may expect that gamma be unassigned.

Note that unless you have reassigned it using interface('imaginaryunit=i')
i is not the imaginary unit.
--
Joe Riel
Luna Moon
2007-07-26 11:46:35 UTC
Permalink
Post by Joe Riel
Post by Luna Moon
I don't understand what's the difference between the document mode and the
worksheet mode.
Here I interpretate the document mode to be the fancy mode in which users
can write math articles while processing math inline.
I didn't find the "hat" symbol? I want to label a variable to be "\hat{x}".
I didn't expect that Maple doesn't have this symbol.
You could create it in 2D mode (fancy input) by selecting the "over" symbol
in the Layout palette, it looks like
b
A
Then change the A to an x and the be to a circumflex (type \^, since ^ is
normally interpreted in 2D input to be the superscript operator).
Post by Luna Moon
-----------------
In this mode, I cannot define functions or variables at my will,
to give an example,
gamma=a+b*i,
and I want to substitute it to some other formulaes later,
it didn't allow me to define such a variable -- it says the greek "gamma" is
protected...
If I want to define a capital lettered D as a function,
again it says it is "protected"...
How can I author math articles if I cannot define variables in a natural way
and then later substitute them into other formulaes?
Some variable names are used by Maple. See the help pages for D and gamma.
You could choose to unprotect gamma and then reassign it. For example,
gamma := a+b*i;
It's not usually not a great idea to do this; some procedures in the
Maple library may expect that gamma be unassigned.
Note that unless you have reassigned it using interface('imaginaryunit=i')
i is not the imaginary unit.
--
Joe Riel
Thanks! I will try your methods out! Maple should really use Latex standard
as input to make everything simple and convinient....

Loading...