14.03.2013 Views

symbols-a4

symbols-a4

symbols-a4

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• Although “/” does not require any special treatment, L ATEX additionally defines a \slash command<br />

which outputs the same glyph but permits a line break afterwards. That is, “increase/decrease” is<br />

always typeset as a single entity while “increase\slash{}decrease” may be typeset with “increase/”<br />

on one line and “decrease” on the next.<br />

• \textasciicircum can be used instead of \^{}, and \textasciitilde can be used instead of \~{}.<br />

Note that \textasciitilde and \~{} produce raised, diacritic tildes. “Text” (i.e., vertically centered)<br />

tildes can be generated with either the math-mode \sim command (shown in Table 67 on page 30),<br />

which produces a somewhat wide “∼”, or the textcomp package’s \texttildelow (shown in Table 40<br />

on page 20), which produces a vertically centered “~” in most fonts but a baseline-oriented “” in<br />

Computer Modern, txfonts, pxfonts, and various other fonts originating from the TEX world. If your<br />

goal is to typeset tildes in URLs or Unix filenames, your best bet is to use the url package, which has a<br />

number of nice features such as proper line-breaking of such names.<br />

• The various \char commands within \texttt are necessary only in the OT1 font encoding. In other<br />

encodings (e.g., T1), commands such as \{, \}, \_, and \textbackslash all work properly.<br />

• The code page 437 (IBM PC) version of ASCII characters 1 to 31 can be typeset using the ascii package.<br />

See Table 227 on page 72.<br />

• To replace “‘” and “’” with the more computer-like (and more visibly distinct) “`” and “'” within<br />

a verbatim environment, use the upquote package. Outside of verbatim, you can use \char18 and<br />

\char13 to get the modified quote characters. (The former is actually a grave accent.)<br />

Similar to Table 328, Table 329 on the next page is an amalgamation of data from other tables in this<br />

document. While Table 328 shows how to typeset the 7-bit ASCII character set, Table 329 shows the Latin 1<br />

(Western European) character set, also known as ISO-8859-1.<br />

The following are some additional notes about the contents of Table 329:<br />

• A “(tc)” after a symbol name means that the textcomp package must be loaded to access that symbol.<br />

A “(T1)” means that the symbol requires the T1 font encoding. The fontenc package can change the<br />

font encoding document-wide.<br />

• Many of the \text. . . accents can also be produced using the accent commands shown in Table 17 on<br />

page 14 plus an empty argument. For instance, \={} is essentially the same as \textasciimacron.<br />

• The commands in the “L ATEX 2ε” columns work both in body text and within a \texttt{. . .} command<br />

(or, more generally, when \ttfamily is in effect).<br />

• The “£” and “$” glyphs occupy the same slot (36) of the OT1 font encoding, with “£” appearing in italic<br />

fonts and “$” appearing in roman fonts. A problem with L ATEX’s default handling of this double-mapping<br />

is that “{\sffamily\slshape\pounds}” produces “$”, not “£”. Other font encodings use separate slots<br />

for the two characters and are therefore robust to the problem of “£”/”$” conflicts. Authors who use<br />

\pounds should select a font encoding other than OT1 (as explained on page 8) or use the textcomp<br />

package, which redefines \pounds to use the TS1 font encoding.<br />

• Character 173, \-, is shown as “-” but is actually a discretionary hyphen; it appears only at the end of<br />

a line.<br />

Microsoft ® Windows ® normally uses a superset of Latin 1 called “Code Page 1252” or “CP1252” for<br />

short. CP1252 introduces <strong>symbols</strong> in the Latin 1 “invalid” range (characters 128–159). Table 330 presents the<br />

characters with which CP1252 augments the standard Latin 1 table.<br />

The following are some additional notes about the contents of Table 330:<br />

• As in Table 329, a “(tc)” after a symbol name means that the textcomp package must be loaded to access<br />

that symbol. A “(T1)” means that the symbol requires the T1 font encoding. The fontenc package can<br />

change the font encoding document-wide.<br />

• Not all characters in the 128–159 range are defined.<br />

• Look up “euro signs” in the index for alternatives to \texteuro.<br />

115

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!