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.

H.1. Brief description of the L AT E X comm<strong>and</strong>s 517<br />

\begin{comm<strong>and</strong> name} . . . . . . . . . . . . . . . . . (2.2) – 20<br />

Most declaration comm<strong>and</strong>s, such as the font styles <strong>and</strong> sizes, can be<br />

used as environment names. For example, \begin{small} switches<br />

<strong>to</strong> font size \small until the countercomm<strong>and</strong> \end{small} is given.<br />

\begin{alltt} . . . . . . . . . . . . . . . . . . . . (4.9.1) – 111<br />

When the alltt package has been loaded, this environment prints<br />

out original text in typewriter typeface, maintaining line breaks, special<br />

symbols, <strong>and</strong> so on, except for \ { } which function as usual.<br />

This allows comm<strong>and</strong>s <strong>to</strong> be executed within the typewriter text.<br />

\begin{bmatrix} [m][a] . . . . . . . . . . . . . . . (12.2.4) – 266<br />

Like the matrix environment, but enclosed in square brackets [].<br />

\begin{Bmatrix} [m][a] . . . . . . . . . . . . . . . (12.2.4) – 266<br />

Like the matrix environment, but enclosed in curly braces { }.<br />

\begin{cases} [m][a] . . . . . . . . . . . . . . . . (12.2.6) – 277<br />

With the amsmath package, writes math expressions on several lines,<br />

terminated by \\, in left-justified columns, separated by &, with a<br />

curly brace enclosing all lines at the left, the whole being centered<br />

vertically.<br />

\begin{description} . . . . . . . . . . . . . . . . . . (4.3.3) – 70<br />

Start of the environment description <strong>to</strong> produce an indented list<br />

with labels. The label text is the argument label in the comm<strong>and</strong><br />

\item[label].<br />

\begin{displaymath} . . . . . . . . . . . . . . . . . . (5.1) – 120<br />

Switches from text <strong>to</strong> displayed math mode for producing a formula<br />

on a line by itself. Functions the same as \[.<br />

\begin{document} . . . . . . . . . . . . . . . . . . . . (1.5.2) – 12<br />

Start of the outermost environment of a text document. This comm<strong>and</strong><br />

terminates the preamble. It is obliga<strong>to</strong>ry for every L AT E X document,<br />

as is its counterpart \end{document} for ending the document.<br />

\begin{enumerate} . . . . . . . . . . . . . . . . . . . (4.3.2) – 70<br />

Start of the environment enumerate <strong>to</strong> produce a numbered, indented<br />

listing. The style of numbering depends on the depth of<br />

nesting; at the first level, it consists of a running Arabic number that<br />

is incremented with each call <strong>to</strong> \item.<br />

\begin{eqnarray} [m] . . . . . . . . . . . . . . . . . (5.4.7) – 138<br />

Switches from text <strong>to</strong> displayed math mode <strong>to</strong> produce a set of equations<br />

or a multiline formula in the form of a three-column table {rcl}.<br />

The individual lines of the formula are ended with the comm<strong>and</strong> \\;<br />

the fields within a line are separated by & characters. Each line is<br />

given a sequential equation number unless the comm<strong>and</strong> \nonumber<br />

appears within it.

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

Saved successfully!

Ooh no, something went wrong!