Hello, I am new to maple and I am trying to create letters with the arrows and hats over them so they can represent vectors. I looked at all of the different fonts included in Maple and none of them that I saw had any characters with arrows over them. I looked at all of the shortcuts and I didn't see a way to type stuff directly above a letter, beacuse maple has letters and it has arrows so if there were a way to do a superscript of the arrow except directly over the letter that would work. I also looked at the symbol definitions, and I looked through maple help. I found an overwhelming amount of help for the commands, but nothing for a simple formatting issue. Is there a way to do this? If so please help and thank you.
Special Characters
AFAIK it is not possible to create special characters, such as accented letters, in Maple (or, indeed in a word processor). Such characters can be created with a specialist program e.g. Font Creator at www.high-logic.com. That may be more time and effort than you wish to invest for your project. A short method restricted to the upper and lower case vowels is: 1. Use the Windows character map to copy all the vowels with circumflexes from the Courier New font. 2. Paste these into a line headed with # into your worksheet. 3. Select, copy and paste each as required. Alternatively, you could adopt a private convention such as vectors are shown as lower case Greek letters. Hope this helps. J. Tarr
vector symbols
In the Standard GUI you can create symbols with arrows over them. Open the Layout palette, insert the Symbol with the `b' over the `A', then open the Arrows palette and change the `b' to the desired arrow shape. If you use lprint to print the Maple output, you can see how to create this via typing. The code inserted by the palettes contains optional fields to set the colors. If you are happy with the defaults you can omit them and then do, for example:
xvec := `#mover(mi("x"),mo("→"))`;That displays xvec as an x with a right pointing arrow on top. Now, if you actually want to assign a Vector to the fancy x, things get a little tricker. Messing with the palettes gets tedius, so, you could set an alias (see ?alias for details). Using worksheet mode in the Standard GUI you could do
restart: alias(`#mover(mi("x"),mo("&→"))` = xvec):If you then type
an assignment is displayed with the left side being the x with the arrow over it, the right side being the Vector. This can also be done in Document mode, but because the left side of assignments are normally suppressed, the x with an → over it is not shown, so there isn't much point.
To simplify the process you can assign a procedure
MakeVector := x -> nprintf("#mover(mi(\"%A\"),mo(\"→\"))", x):then use it as
Arrows et alia
Thanks Joe, your post prompted me to look at all the palettes available in the Standard GUI in Document mode, which I seldom use. I am afraid I got it wrong about special characters in that mode.
It is possible to improve slightly on your method: open the “Accents
Accents Palette?
You have an accents palette? In my Standard Maple GUI (for Linux) there are 19 palettes, but none labeled Accents. They are
Symbol Recognition
Expression
Units(SI)
Units(FPS)
Common Symbols
Matrix
Greek
Arrows
Fenced
Relational
Relational Round
Negated
Large Operators
Operators
Open Face
Fraktur
Script
Miscellaneous
Layout
27 Palettes
Maple 10.03 on my Windows box has 27 palettes! In addition to those Joe listed, there are Components, Cyrillic, Diacritical Marks, Roman Extended (upper case), Roman Extended (lower case), Accents, Constants & Symbols, and Punctuation. Might be a slight case of overkill…
Hope this helps,
J. Tarr
Vectors and command completion
In Maple 10.03, you can also use command completion to insert a name with an arrow over it. (Issue ?commandcompletion to get help on command completion.)
In 2-D math input mode, enter Vec and invoke command completion. Among the "Vector" entries is a template that consists of a name with an arrow over it. After you insert this into your worksheet or document, you can replace the name with one of your choice.
Paulina Chin
Maplesoft
Maple 10.03 Command Completion in OS X?
Command completion seems not to work in Maple 10.03 in OS X.
Works fine for me
It is a bit unfortunate that the Quick Help menu suggests Escape whereas the help page mentioned by Paulina suggests Command+Shift+Space - but they both work on my machine running 10.03 on Mac OS X 10.3.9.
What precisely goes wrong on your machine?
Works Fine for Me
I must have gotten distracted and failed to return to check replies. It works fine for me too. I don't know why I was having problems. Perhaps I had failed to load a package. Thanks for the reply.