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.

516 Appendix H. Comm<strong>and</strong> Summary<br />

\begin{envrnmnt} . . . . . . . . . . . . . . . . . . . . (2.2) – 19<br />

Start of an environment with the name envrnmnt. This comm<strong>and</strong><br />

must be coupled with \end{envrnmt} <strong>to</strong> terminate the environment.<br />

The environment name in both these comm<strong>and</strong>s must be identical.<br />

\begin{abstract} . . . . . . . . . . . . . . . . . . . . (3.3.2) – 55<br />

Start of the environment abstract <strong>to</strong> produce an abstract. With<br />

document class article, font size \small <strong>and</strong> the quotation environment<br />

are selected. With report, the abstract appears on a<br />

separate page with normal font size <strong>and</strong> line width. In both cases,<br />

the heading Abstract is centered above the text.<br />

\begin{align} [a] . . . . . . . . . . . . . . . . . . (12.2.6) – 274<br />

With the amsmath package, switches <strong>to</strong> displayed math mode <strong>to</strong> produce<br />

a set of aligned equations. Line are terminated by \\ comm<strong>and</strong>s.<br />

The lines are split in<strong>to</strong> columns aligned on the first, third, fifth . . . &<br />

characters. Each line receives an equation number unless the *-form<br />

of the environment has been selected.<br />

\begin{alignat}{num} [a] . . . . . . . . . . . . . (12.2.6) – 275<br />

Is the same as the align environment except that no spacing is<br />

inserted au<strong>to</strong>matically between the column pairs. The argument num<br />

is the number of column pairs = (1 + n&)/2 where n& is the number<br />

of & signs in one row. Explicit spacing may be placed between column<br />

pairs, especially if the left part of that pair is otherwise empty.<br />

\begin{aligned}[pos] [m][a] . . . . . . . . . . . . (12.2.6) – 276<br />

With the amsmath package, is like the align environment but is<br />

used as an element within math mode. The optional argument pos<br />

determines the vertical positioning relative <strong>to</strong> neighboring elements:<br />

t or b for <strong>to</strong>p or bot<strong>to</strong>m, no argument for centering.<br />

\begin{appendix} . . . . . . . . . . . . . . . . . . . . (3.3.4) – 57<br />

Start of the environment appendix <strong>to</strong> produce an appendix. The<br />

main section counter is reset <strong>to</strong> zero <strong>and</strong> its numbering appears as<br />

capital letters.<br />

\begin{array}[pos]{col} [m] . . . . . . . . (4.8.1), (5.4.3) – 95, 134<br />

Start of the environment array <strong>to</strong> produce matrices <strong>and</strong> arrays in<br />

math mode. The column definition col contains a formatting character<br />

for each column. Thus \begin{array}{lcr} produces an array<br />

with three columns: one left justified, one centered, <strong>and</strong> one right<br />

justified. The optional parameter pos determines how the array is<br />

aligned vertically with text outside it on the same line: t with the <strong>to</strong>p<br />

line, b with the bot<strong>to</strong>m line, while the default is with the center. See<br />

also \begin{tabular}<br />

\begin{center} . . . . . . . . . . . . . . . . . . . . . (4.2.1) – 67<br />

Start of the environment center. Each line of text terminated by \\<br />

appears centered. See also \centering.

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

Saved successfully!

Ooh no, something went wrong!