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.

2.5. Special characters 23<br />

Instead of a blank line, the comm<strong>and</strong> \par may also be used <strong>to</strong> indicate<br />

the end of a paragraph.<br />

2.5.2 Quotation marks<br />

The quotation marks found on the typewriter " are not used in book<br />

printing. Instead different characters are used at the beginning <strong>and</strong> end,<br />

such as ‘single quotes’ <strong>and</strong> “double quotes”. Single quotes are produced<br />

with ‘ <strong>and</strong> ’, while double quotes are made by typing the respective<br />

characters twice: ‘‘ for “ <strong>and</strong> ’’ for ”. Furthermore the typewriter<br />

character " will also generate the double closing quote ”. However, it<br />

should be avoided since it can lead <strong>to</strong> confusion.<br />

2.5.3 Hyphens <strong>and</strong> dashes<br />

In book printing, the character that appears on the typewriter as - comes<br />

in various lengths: -, –, —. The smallest of these, the hyphen, is used<br />

for compound words such as father-in-law <strong>and</strong> for word division at the<br />

end of a line; the middle-sized one, the en dash, is used in ranges of<br />

numbers, for example, pages 33–36; <strong>and</strong> the largest, the em dash, is used<br />

as punctuation—what is normally called the dash. These are generated<br />

by typing the hyphen character one, two, or three times, so that - yields<br />

-, while -- makes –, <strong>and</strong> --- produces —. A fourth type of dash is the<br />

minus sign −, which is entered in math mode as $-$ (Chapter 5).<br />

2.5.4 Printing comm<strong>and</strong> characters<br />

As mentioned in Section 2.1, the characters # $ ˜ _ ˆ % { } are interpreted<br />

as comm<strong>and</strong>s. To print them as text, one must give a comm<strong>and</strong><br />

consisting of \ plus that character.<br />

$ = \$ & = \& % = \% # = \# = \_ { = \{ } = \}<br />

2.5.5 The special characters , , , , <strong>and</strong> <br />

These special characters do not exist on the computer keyboard. They<br />

can however be generated by special comm<strong>and</strong>s as follows:<br />

§ = \S † = \dag ‡ = \ddag = \P © = \copyright £ = \pounds<br />

The production of Greek letters <strong>and</strong> other mathematical symbols is<br />

described in Chapter 5.

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

Saved successfully!

Ooh no, something went wrong!