28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

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.

24 Chapter 2. Text, Symbols, <strong>and</strong> Comm<strong>and</strong>s<br />

2.5.6 Non-English letters<br />

Special letters that exist in languages other than English can also be<br />

generated with T E X. These are:<br />

œ={\oe} Œ={\OE} æ={\ae} Æ={\AE} ˚a={\aa} ˚A ={\AA} ¡ =!‘<br />

ø ={\o} Ø ={\O} ł ={\l} Ł ={\L} ß={\ss} SS={\SS} ¿=?‘<br />

˚Angstrøm may be written as {\AA}ngstr{\o}m while Karlstraße can be<br />

input as Karlstra{\ss}e. The ‘letter’ \SS is the upper case equivalent<br />

of \ss, used for au<strong>to</strong>matic conversion between upper <strong>and</strong> lower case.<br />

However, see Section 2.5.9 for the possibility of entering such characters<br />

directly.<br />

2.5.7 Accents<br />

In non-English languages, there is a multiplicity of diacritical marks or<br />

accents, most of which can be printed with T E X:<br />

ò =\‘{o} ó=\’{o} ô=\ˆ{o} ö=\"{o} õ=\˜{o}<br />

ō =\={o} ˙o=\.{o} ŏ=\u{o} ǒ=\v{o} ő=\H{o}<br />

oo=\t{oo} o¸=\c{o} o . =\d{o} ō=\b{o} ˚o=\r{o}<br />

The o above is given merely as an example: any letter may be used. With<br />

i <strong>and</strong> j it should be pointed out that the dot must first be removed. This<br />

is carried out by prefixing these letters with a backslash: the comm<strong>and</strong>s<br />

\i <strong>and</strong> \j yield ı <strong>and</strong> j. In this way ĭ <strong>and</strong> ˝j are formed by typing \u{\i}<br />

<strong>and</strong> \H{\j}.<br />

The accent comm<strong>and</strong>s consisting of a non-letter may also be given<br />

without the curly braces:<br />

ò=\‘o ó=\’o ô=\ˆo ö=\"o õ=\˜o ō=\=o ˙o=\.o<br />

The letter accent comm<strong>and</strong>s should always be used with the curly braces.<br />

2.5.8 The euro symbol<br />

Package:<br />

textcomp<br />

The euro symbol € (or e) is <strong>to</strong>o new <strong>to</strong> be part of the original L AT E X, but it<br />

can be produced with the help of some additional fonts <strong>and</strong> contributed<br />

packages. Just which package you may use depends on your installation,<br />

<strong>and</strong> whether you have access <strong>to</strong> these additional fonts.<br />

The Text Companion fonts, described in Section G.4.4, do contain a<br />

euro symbol. Since these fonts should be part of every modern L AT E X<br />

installation, you should be able <strong>to</strong> use their euro symbol if all else fails.<br />

The package textcomp must be loaded in the preamble with<br />

\usepackage{textcomp}

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

Saved successfully!

Ooh no, something went wrong!