1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
<HTML>
<HEAD>
<TITLE>Text formatting</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<P><font size="+2" color="green"><B>Text formatting</B></font></P>
<p>
The text string to be drawn may contain format commands and special character names which
are included inside the string, and must be bracketed by the command delimiters, < and
>. The special characters include all of the Greek letters as well as some math
symbols and other symbols. The names for the special characters can be seen in the figure
below. When the special name is in uppercase, the uppercase version of the special
character is used. If the special name is in lowercase, the lowercase version of the
special character is used.</P>
<P>
<center><img src="special.png"></center></p>
<P>
The format commands are listed below.</P>
<P>
<table><tr>
<td>bolding</td><td><CODE><Bn></CODE></td>
</tr><tr>
<td>colour</td><td><CODE><Cn></CODE></td>
</tr><tr>
<td>font</td><td><CODE><Ffontname></CODE></td>
</tr><tr>
<td>height</td><td><CODE><Hnn.n></CODE> or <CODE><Hnn.n%></CODE></td>
</tr><tr>
<td>sub-scripts</td><td><CODE><_></CODE></td>
</tr><tr>
<td>super-scripts</td><td><CODE><^></CODE></td>
</tr><tr>
<td>italics</td><td><CODE><I></CODE></td>
</tr><tr>
<td>vertical space</td><td><CODE><Vnn.n></CODE> or <CODE><Vnn.n%></CODE></td>
</tr><tr>
<td>horizontal space</td><td><CODE><Znn.n></CODE> or <CODE><Znn.n%></CODE></td>
</tr></table></P>
<P>
<a href="justandloc.htm"><img src="../shadow_left.gif">
<font size="+1" color="olive">Alignment and location</font></a><br />
<a href="date.htm"><img src="../shadow_right.gif">
<font size="+1" color="olive">Date and time</font></a></p>
</BODY>
</HTML>
|