In the label clickbox, a limited subset of rudimentary LATEX-like commands may be embedded in the string. These include:
For example, the string
before\it italic\rm roman\bf bold\rm
Embedded LATEXcommands in a label.
would produce:
When specifying a font, a font name should be specified that corresponds to the second part of an X-window fontname, for example:
before \font courier more text\font helvetica after
will print the label ``before more text after'' in 3 different fonts.
Greek letters can also be printed, for example:
abc\size 14 \up 6 \gr abc
will print something like
abc
.
In making superscripts, it may be helpful to preface the label with a ``down'' command. For example, the string:
\gr\d14 2p\rm e\s14 \u9 -x\u5 2
would be rendered as:
Note: Font commands are cumulative, so a command like
\tt a \rm b \gr c \it d
would probably give an error because on most systems there is no
Italic Greek font. The correct command would be:
\tt a \rm b \gr c \rm\it d
This would change the typeface back to Roman before changing it to
Greek symbols.
Note: LATEX-like commands only work with the ``label'' command, and do not work when simply typing text on the image.