XM Grace Symbols
XM Grace Symbols
XM Grace Symbols
Greek Characters
For Greek characters (for example, sigma):
1
\ f { Symbol} s \ f {}
or
1
\x s \ f {}
Note that you need a capital S on Symbol! The \f{} returns the original font. For
different characters after the {Symbol} part you get different output as described in the
table below:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o o
p
q
r
s
t
u
v $
w
x
y
z
A A
B B
C X
D
E E
F
G
H H
I
I
J
K K
L
M M
N N
O O
P
Q
R P
S
T T
U Y
V
W
X
Y
Z Z
Superscripts
For example x2 is:
1
x\S2\N
Note that the capital S makes it a superscript. The \N returns the text to the default
state
Subscripts
For example ab is:
1
a \sb\N
Note that the lower case S makes it a subscript. The \N returns the text to the default
state
Overlines
Overlines are created in the following way:
1
\oA\O
Rotations
To rotate the next set of elements by x degrees anticlockwise relative to the current
orientation (note that the effect is cumulative):
1
\ r {x} r o t a t e d f o n t
to return to normal:
1
\ r{x}
Slanting
To slant (to the right) by a factor of x (slant back to the left by -x to cancel):
1
\ l {x}
Vertical Shift
To vertically shift by x units (note that 1 appears to be roughly double line spacing):
1
\v{x}
Horizontal Shift
To horizontally shift by x units:
1
\h{x}
Underlines
To begin and end an underling, use:
1
\u asd \U
To get: asd
Italics
1
\q i t a l i c s \Q NOT
Gives: italics NOT. Note that this is equivalent to slanting by 0.25 (e.g. \l{0.25})
Colours
2
\R{ colourname }
Gives a colour of the type colourname. Suitable colournames include (note no capitalisation): red, blue, yellow, green, cyan, brown, grey, violet, magenta, orange, green4, indigo,
maroon, turquoise.
Font Size
Increase or decrease font size using:
1
\+ \
Where \+ increases font size and \- decreases font size. Note that \N returns the text to
the default state
Curly Font
To use a curly font try (note, if your system doesnt have the URW Chancery L font,
this will do nothing):
1
\ f {URWChanceryLM e d i u m I t a l i c }
\x\c\C
\x\c.\C
\x\c1\C
\x\c3\C
\x\c6\C
\x\c9\C
6=
P
\x\ce\C
R
\x\cr\C
\x\cQ\C
Q
\x\cU\C
\x\cO\C
/
\x\c;\C
\x\cB\C
Real Part
\x\cA\C
Im Part
\x\c#\C
\x\cN\C
\x \C
\c 0\C
\x\ca\C
h
\x\cq\C
i
\f{ZapfDingbats}=
Note, there may be issues with spaces turning into Euro symbols if you are still in the
\c environment.
Fractions
Not a nice thing, but by playing around with the horizontal and vertical placement of
what youve got and adding in some underscores you cen jerry rig a fraction:
1
\+\v { 0 . 7 } 1 \ v{ 0.3}\h { 0 . 7 }
This gives 13 . Note that for longer numbers youll have to adjust the number of underscores
and horizontal placement.
PRINTING PDFs
It is possible to adjust the page size in ViewPage Setup using the Orientation and
Size options.
Once an appropriate size has been chosen (note: Letter will do!), go to PlotGraph
Appearance and change options in Viewport (i.e. Xmin, Xmax, Ymin, Ymax ) - I have
used the values 0.08, 1.39, 0.09, 0.98 (respectively) as these remove whitespace effectively.
It is worth noting that having scaled up the graph size, the fonts seem a little small so
it may be useful to increase text size (this would then require changing the Viewport
values again).
Export this as a postcript (.ps) file then ps2pdf it. Be aware that if Greek characters
(or other characters perhaps) are included in the graph then ps2pdf may have trouble printing them so you need to add the following flags: -dPDFSETTINGS=/printer
-dAutoRotatePages=/All
NOTE: it is not necessary to crop the graphs manually, one can also export them as
.ps, then convert to pdf and use the pdfcrop command line function.
Graph-ception
To make a sub-graph (i.e. inset), first have the original graph you want to include the
inset with. Then go: Data Import ASCII (as usual) to bring up the Read Sets
menu. In the section Read To Graph, right click in the scroll box and select the option
Create new, this now enables a second graph to be created and have data read into it.
Then going to Edit Arrage Graphs to bring up the menu that lets you adjust the Page
Offsets of each graph to make it fit in the right place.
In order to edit a graph make sure that the correct graph is selected from Edit
Arrange Graphs (i.e. the corners have black squares on them).
Figure 1: The Arrange Graphs menu with the Page Offsets options set to produce an
inset