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.

12.2. St<strong>and</strong>ard features of A M S-L AT E X 279<br />

formulas as necessary. This comm<strong>and</strong> <strong>to</strong>o takes an optional argument<br />

num with possible values between 0 <strong>and</strong> 4 which make it progressively<br />

easier for au<strong>to</strong>matic page breaks <strong>to</strong> occur.<br />

Once \allowdisplaybreaks has been given in the preamble, it is still<br />

possible <strong>to</strong> suppress page breaks within a formula by ending an equation<br />

line with \\* instead of with \\.<br />

12.2.8 Package options for amsmath<br />

The main amsmath package for A M S-L AT E X recognizes a number of options<br />

that may be given when it is loaded with<br />

\usepackage[options]{amsmath}<br />

They are listed here as pairs with opposing effects. The member of<br />

each pair that is assumed if neither is given, the default, is indicated by<br />

underlining.<br />

centertags | tbtags The equation number for a split environment<br />

(page 272) is centered vertically by default. With tbtags, it is placed<br />

either <strong>to</strong> the left of the first line or <strong>to</strong> the right of the last line,<br />

depending on the side on which numbers are <strong>to</strong> appear.<br />

sumlimits | nosumlimits In displayed formulas, initial <strong>and</strong> final limits<br />

appear below <strong>and</strong> above the sign with the sumlimits option. With<br />

nosumlimits, they are placed beside the sign, raised <strong>and</strong> lowered<br />

with the usual ˆ <strong>and</strong> _ characters.<br />

<br />

Other<br />

<br />

symbols<br />

<br />

that are<br />

<br />

affected by these options are<br />

<strong>and</strong> . On the other h<strong>and</strong>, integral signs are not<br />

influenced by them.<br />

sumlimits<br />

∞<br />

m−1<br />

1 <br />

n!<br />

= 2; n − i =<br />

2n (n − m)!<br />

n=0<br />

i=0<br />

nosumlimits<br />

∞ 1<br />

n=0 2n = 2; m−1 n!<br />

n − i =<br />

i=0 (n − m)!<br />

The input text is the same for both of the above cases.<br />

intlimits | nointlimits Integral signs normally have their limits at<br />

the side; these options allow them <strong>to</strong> be placed above <strong>and</strong> below as<br />

for summations.<br />

intlimits<br />

a<br />

0<br />

<br />

a 2 − x 2 dx =<br />

1<br />

0<br />

a 2<br />

<br />

1 − sin 2 t d sin t = a 2<br />

π/2 <br />

cos 2 t dt = πa2<br />

4<br />

0

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

Saved successfully!

Ooh no, something went wrong!