summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-specials.html
blob: 37cdc5c574ffbed98b28ecdb3c074d8f20a08d1f (plain)
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
<head>
<title>UK TeX FAQ -- question label specials</title>
</head><body>
<h3><code>\</code><code>special</code> commands</h3>
<p>TeX provides the means to express things that device drivers can
do, but about which TeX itself knows nothing.  For example, TeX
itself knows nothing about how to include PostScript figures into
documents, or how to set the colour of printed text; but some device
drivers do.
<p>Such things are introduced to your document by means of <code>\</code><code>special</code>
commands; all that TeX does with these commands is to expand their
arguments and then pass the command to the DVI file.  In most
cases, there are macro packages provided (often with the driver) that
provide a comprehensible interface to the <code>\</code><code>special</code>; for example,
there&rsquo;s little point including a figure if you leave no gap for it in
your text, and changing colour proves to be a particularly fraught
operation that requires real wizardry. LaTeX2e
has standard graphics and colour packages that make figure inclusion,
rotation and scaling, and colour typesetting via <code>\</code><code>special</code>s all easy.
<p>The allowable arguments of <code>\</code><code>special</code> depend on the device driver
you&rsquo;re using.  Apart from the examples above, there are <code>\</code><code>special</code>
commands in the emTeX drivers (e.g., <i>dvihplj</i>, <i>dviscr</i>,
<em>etc</em>.) that will draw lines at arbitrary orientations, and
commands in <i>dvitoln03</i> that permit the page to be set in
landscape orientation.
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=specials">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=specials</a>
</body>