next up previous contents
Next: Japanese Text Up: Commands currently recognized Previous: Miscellaneous

Text Strings

When using the TEXT command to plot text the input text string can contain various codes to change the font type and size within the string, and also to give you access to additional characters. These ``control'' sequences can also be used with any other commands which takes text input such as TITLE.

The sequences presently recognized are:
[tex2html_wrap_inline309]sf Symbol Font
[tex2html_wrap_inline311]if Italic Font
[tex2html_wrap_inline313]bf Bold Font
[tex2html_wrap_inline315]bi Bold Italic
[tex2html_wrap_inline317]tf Times Font (default)
[tex2html_wrap_inline319]cf Courier Font
[tex2html_wrap_inline321]hf Helvetica Font
[tex2html_wrap_inline323]nf normal Font (not bold or italic)
[tex2html_wrap_inline325]up move up to a position 1/2 the font size higher (superscript)
[tex2html_wrap_inline327]dn move down
[tex2html_wrap_inline329]bs move back one character size (approx.)
[tex2html_wrap_inline331]red change color to red. (Also green, blue, white, black)
Color changes are only applied to the text within the string being plotted. After the text is plotted the current drawing color reverts back to that previously being used.
A text size in points can be given such as
[tex2html_wrap_inline333]08
[tex2html_wrap_inline335]10
[tex2html_wrap_inline337]12
[tex2html_wrap_inline339]18 etc.

To decrease or increase the font size by two points use the commands [tex2html_wrap_inline341]-- and [tex2html_wrap_inline343]+ respectively.

In order to obtain ``special'' characters use codes such as [tex2html_wrap_inline345]{infinity}. This pattern can also be used to generate Greek characters. e.g. [tex2html_wrap_inline347]{alpha} to get [tex2html_wrap_inline349] or [tex2html_wrap_inline351]{Gamma} to get [tex2html_wrap_inline353].

``Accented'' characters can be accessed using two schemes. One is based on TeX usage. e.g. 'o, (ó); ^o, (ô); "o, (ö); `o, (ò); ~o, (õ). Alternatively more explicit but longer names can be used: oacute, (ó); ocircumflex, (ô); odieresis, (ö); ograve, (ò); otilde, (õ). Note that only a limited number of characters have ``accented'' versions available.

Other character names are patterned after those used in TeX in general with some additional duplicate names (typically those used in PostScript). These include: -, -; ?, ¿; !, ¡; ae, æ; AE, Æ; aleph, [tex2html_wrap_inline357]; angle, [tex2html_wrap_inline359]; approx, [tex2html_wrap_inline361]; aring, å; aa, å; Angstrom, Å; Aring, Å; AA, Å; ast, [tex2html_wrap_inline363]; asterisk, [tex2html_wrap_inline365]; backslash, [tex2html_wrap_inline367]; bullet, [tex2html_wrap_inline369]; bot, [tex2html_wrap_inline371]; cap, [tex2html_wrap_inline373]; circlemultiply, [tex2html_wrap_inline375]; circleplus, [tex2html_wrap_inline377]; club, [tex2html_wrap_inline379]; clubsuit, [tex2html_wrap_inline381]; copyright, [tex2html_wrap_inline383]; congruent, [tex2html_wrap_inline385]; cong, [tex2html_wrap_inline387]; cup, [tex2html_wrap_inline389]; degree, [tex2html_wrap_inline391], diamond, [tex2html_wrap_inline393]; diamondsuit, [tex2html_wrap_inline395]; divide, [tex2html_wrap_inline397]; div, [tex2html_wrap_inline399]; downarrow, [tex2html_wrap_inline401]; Downarrow, [tex2html_wrap_inline403]; element, [tex2html_wrap_inline405]; emptyset, [tex2html_wrap_inline407]; equiv, [tex2html_wrap_inline409]; equivalent, [tex2html_wrap_inline411]; exists, [tex2html_wrap_inline413]; forall, [tex2html_wrap_inline415]; geq, [tex2html_wrap_inline417]; gradient, [tex2html_wrap_inline419]; greaterequal, [tex2html_wrap_inline421]; heart, [tex2html_wrap_inline423]; heartsuit, [tex2html_wrap_inline425]; Im, [tex2html_wrap_inline427]; in, [tex2html_wrap_inline429]; infinity, [tex2html_wrap_inline431]; infty, [tex2html_wrap_inline433]; integral, [tex2html_wrap_inline435]; intersection, [tex2html_wrap_inline437]; land, [tex2html_wrap_inline439]; langle, [tex2html_wrap_inline441]; lceil, [tex2html_wrap_inline443]; leftarrow, [tex2html_wrap_inline445]; Leftarrow, [tex2html_wrap_inline447]; lessequal, [tex2html_wrap_inline449]; leq, [tex2html_wrap_inline451]; lfloor, [tex2html_wrap_inline453]; lnot, [tex2html_wrap_inline455]; lor, [tex2html_wrap_inline457]; leftrightarrow, [tex2html_wrap_inline459]; Leftrightarrow, [tex2html_wrap_inline461]; minus, -, nabla, [tex2html_wrap_inline465]; ne, [tex2html_wrap_inline467]; neq, [tex2html_wrap_inline469]; notequal, [tex2html_wrap_inline471]; notsubset, [tex2html_wrap_inline473]; not=, [tex2html_wrap_inline475]; notin, [tex2html_wrap_inline477]; o, ø; O, Ø; paragraph, ¶; partial, [tex2html_wrap_inline479]; partialdiff, [tex2html_wrap_inline481]; perpendicular, [tex2html_wrap_inline483]; plusminus, [tex2html_wrap_inline485]; pm, [tex2html_wrap_inline487]; pounds, £; product, [tex2html_wrap_inline489]; prod, [tex2html_wrap_inline491]; proportional, [tex2html_wrap_inline493]; propto, [tex2html_wrap_inline495]; rangle, [tex2html_wrap_inline497]; rceil, [tex2html_wrap_inline499]; Re, [tex2html_wrap_inline501]; registered, (registered); rfloor, [tex2html_wrap_inline503]; rightarrow, [tex2html_wrap_inline505]; Rightarrow, [tex2html_wrap_inline507]; spade, [tex2html_wrap_inline509]; spadesuit, [tex2html_wrap_inline511]; ss, ß; subset, [tex2html_wrap_inline513]; subseteq, [tex2html_wrap_inline515]; summation, [tex2html_wrap_inline517]; sum, [tex2html_wrap_inline519]; superset, [tex2html_wrap_inline521]; supset, [tex2html_wrap_inline523]; supseteq, [tex2html_wrap_inline525]; surd, [tex2html_wrap_inline527]; therefore, (therefore); times, [tex2html_wrap_inline529], trademark, TM; union, [tex2html_wrap_inline531]; universal, [tex2html_wrap_inline533]; uparrow, [tex2html_wrap_inline535]; Uparrow, [tex2html_wrap_inline537]; section, §; sterling, £; weierstrass, [tex2html_wrap_inline539]; wp, [tex2html_wrap_inline541]; and yen, (yen).





next up previous contents
Next: Japanese Text Up: Commands currently recognized Previous: Miscellaneous



Robin Corbet
Sat May 3 16:56:08 EDT 1997