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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.7. Fine-tuning text 29<br />

simply a symbol for the blank which is otherwise invisible.) Both these<br />

methods insert the normal interword spacing; in addition, ˜ is a protected<br />

space that prevents the line from being broken at this point. The above<br />

examples should be typed in as i.˜e., Prof.˜Jones, <strong>and</strong> Phys.\ Rev.,<br />

producing i. e., Prof. Jones, <strong>and</strong> Phys. Rev. with the correct spacing <strong>and</strong><br />

forcing the first two <strong>to</strong> be all on one line. In the third case, there is nothing<br />

wrong with putting Phys. <strong>and</strong> Rev. on different lines.<br />

A period following an upper case letter is not interpreted as the end<br />

of a sentence, but as an abbreviation. If it really is the end of a sentence,<br />

then it is necessary <strong>to</strong> add \@ before the period in order <strong>to</strong> achieve the<br />

extra spacing. For example, this sentence ends with NASA. It is typed in<br />

as This sentence ends with NASA\@.<br />

French spacing<br />

The additional interword spacing between sentences can be switched<br />

off with the comm<strong>and</strong> \frenchspacing, which remains in effect until<br />

counterm<strong>and</strong>ed with \nonfrenchspacing. In this case, the comm<strong>and</strong> \@<br />

is ignored <strong>and</strong> may be omitted. This paragraph has been printed with<br />

\frenchspacing turned on, so that all word spacings within one line are<br />

the same. It corresponds <strong>to</strong> the normal rule for non-English typesetting.<br />

Character combinations “ ‘ <strong>and</strong> ’ ”<br />

A small spacing is produced with the comm<strong>and</strong> \,. This may be used, for<br />

example, <strong>to</strong> separate the double quotes “ <strong>and</strong> ” from the corresponding<br />

single quotes ‘ <strong>and</strong> ’ when they appear <strong>to</strong>gether. For example, the text<br />

‘‘\,‘Beginning’ <strong>and</strong> ‘End’\,’’ produces “ ‘Beginning’ <strong>and</strong> ‘End’ ”.<br />

Inserting arbitrary spacing<br />

Spacing of any desired size may be inserted in<strong>to</strong> the text with the comm<strong>and</strong>s<br />

\hspace{space}<br />

\hspace*{space}<br />

where space is the length specification for the amount of spacing, for<br />

example 1.5cm or 3em. (Recall that one em is the width of the letter M in<br />

the current typeface.)<br />

This comm<strong>and</strong> puts blank space of width space at that point in the<br />

text where it appears. The st<strong>and</strong>ard form (without *) has no effect if it<br />

should come at the beginning of an output line, just as normal blanks are<br />

removed at the beginning of lines. The *-form, on the other h<strong>and</strong>, inserts<br />

the spacing no matter where it occurs.<br />

A blank before or after the comm<strong>and</strong> will also be included:

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

Saved successfully!

Ooh no, something went wrong!