Debian Codegraph @

docs/manual/Text_styles.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Text styles</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 Text styles
13 </b></font></table></table>
14 <p>When drawing text into the <a href="Picture_window.html">Picture window</a> or into an editor, you can use text styles other than regular Roman.</p>
15 <h2>Italic, bold, superscript, subscript</h2>
16 <p>With the following symbols, you introduce stretches of text drawn in special styles:</p>
17 <dl>
18 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;<code><font size=+1>%</font></code>: the following letter will be italic.</dd>
19 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;<code><font size=+1>#</font></code>: the following letter will be bold.</dd>
20 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;<code><font size=+1>#%</font></code>: the following letter will be bold-italic.</dd>
21 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;<code><font size=+1>^</font></code>: the following letter will be superscript: <code><font size=+1>%m%c^2</font></code> gives <i>m</i><i>c</i><sup>2</sup>.</dd>
22 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;<code><font size=+1>_</font></code>: the following letter will be subscript. Example: <i>F</i><sub>0</sub> is typed as <code><font size=+1>%F_0</font></code>.</dd>
23 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;<code><font size=+1>%%</font></code>: the following letters will be italic, until the following <code><font size=+1>%</font></code>:</dd>
24 <dd>&nbsp;&nbsp;&nbsp;&nbsp;<code><font size=+1>Now %%you% try</font></code> gives: Now <i>you</i> try.</dd>
25 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;The same goes for <code><font size=+1>##</font></code>, <code><font size=+1>^^</font></code>, and <code><font size=+1>__</font></code>.</dd>
26 <dd style="position:relative;padding-left:1em;text-indent:-2em">&nbsp;<code><font size=+1>\s{...}</font></code>: small:</dd>
27 <dd>&nbsp;&nbsp;&nbsp;&nbsp;<code><font size=+1>W\s{ARP}</font></code> gives: W<font size=-1>ARP</font></dd>
28 </dl>
29 <p>To draw a % or # or ^ or _ symbol, you type &#8220;<code><font size=+1>\% </font></code>&#8221; or &#8220;<code><font size=+1>\# </font></code>&#8221; or &#8220;<code><font size=+1>\^ </font></code>&#8221; or &#8220;<code><font size=+1>\_ </font></code>&#8221;, respectively: a backslash, the symbol, and a space.</p>
30 <h2>See also</h2>
31 <p><a href="Special_symbols.html">Special symbols</a></p>
32 <h3>Links to this page</h3>
33 <ul>
34 <li><a href="Font_menu.html">Font menu</a>
35 <li><a href="ManPages.html">ManPages</a>
36 <li><a href="OT_learning_2_2__Inside_the_grammar.html">OT learning 2.2. Inside the grammar</a>
37 <li><a href="Text___.html">Text...</a>
38 <li><a href="Viewport_text___.html">Viewport text...</a>
39 <li><a href="What_was_new_in_3_6_.html">What was new in 3.6?</a>
40 </ul>
41 <hr>
42 <address>
43 <p>© Paul Boersma 1996,2023,2025</p>
44 </address>
45 </body>
46 </html>