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.

138 Chapter 5. Mathematical Formulas<br />

⎛<br />

<br />

⎝ <br />

j≥0<br />

k≥0<br />

ajkz k<br />

⎞<br />

<br />

⎠ =<br />

n≥0<br />

z n<br />

⎛<br />

⎜<br />

⎝<br />

<br />

k0,k1,...≥0<br />

k0+k1+···=0<br />

a0k0<br />

⎞<br />

⎟<br />

a1k1 . . . ⎟<br />

⎠<br />

\[ \prod_{j\ge0}\left( \sum_{k\ge0} a_{jk}zˆk \right) =<br />

\sum_{n\ge0} zˆn \left(\sum_{k_0,k_1\ldots\ge0 \a<strong>to</strong>p<br />

k_0+k_1+\cdots=0} a_{0k_0} a_{1k_1}\ldots \right) \]<br />

Similar structures can be generated with the L AT E X environments<br />

\begin{array}{c} upper line \\ lower line \end{array} (a<strong>to</strong>p)<br />

\left(\begin{array}{c} upper \\ lower \end{array}\right) (choose)<br />

The difference between these array structures <strong>and</strong> those of the T E X<br />

comm<strong>and</strong>s is that the former are always printed in the size <strong>and</strong> style of<br />

normal text formulas, whereas the latter will have varying sizes depending<br />

on where they appear within the formula.<br />

For comparison<br />

∆p1p2···pn−k<br />

p1p2···pn−k<br />

∆ p1p2 · · · pn−k<br />

p1p2 · · · pn−k<br />

The index array is produced using \a<strong>to</strong>p<br />

The index array is produced using \array<br />

The above TEX comm<strong>and</strong>s may also<br />

<br />

be<br />

<br />

employed<br />

<br />

<strong>to</strong><br />

<br />

produce small<br />

1 0 a b c<br />

matrices within text formulas, such as 0 1 or l m n . Here the first<br />

matrix was typed in with<br />

${1\,0\choose0\,1}$<br />

<strong>and</strong> the second with<br />

$\left({a\a<strong>to</strong>p l}{b\a<strong>to</strong>p m}{c\a<strong>to</strong>p n}\right)$<br />

The syntax of these Plain T E X comm<strong>and</strong>s is radically different from that<br />

! normally used by L AT E X. See page 189 for a way <strong>to</strong> correct this.<br />

5.4.7 Multiline equations<br />

A multiline equation is one that is developed over several lines in which<br />

the relation symbols (for example, = or ≤) in each line are all vertically<br />

aligned with each other. For this purpose, the environments<br />

\begin{eqnarray} line 1\\ ... \\ line n end{eqnarray}<br />

\begin{eqnarray*} line 1\\ ... \\ line n end{eqnarray*}<br />

are used <strong>to</strong> set several lines of formulas or equations in displayed math<br />

mode. The individual lines of the equation or formula are separated from<br />

one another by \\. Each entry line has the form

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

Saved successfully!

Ooh no, something went wrong!