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.

258 Chapter 12. Math Extensions with A M S-L AT E X<br />

12.1 Invoking A M S-L AT E X<br />

If the \documentclass statement at the beginning of the LAT Package:<br />

EX document<br />

amsmath selects one of the AMS classes amsbook, amsart, or amsproc, then most<br />

of the AMS-LAT EX features are loaded au<strong>to</strong>matically. These features may<br />

still be employed with other classes by including the main extension<br />

package amsmath by means of<br />

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

in the document’s preamble. The list of allowable options is described<br />

below in Section 12.2.8.<br />

The amsmath package defines many of the new math typesetting features<br />

itself, but it also loads a number of other packages from the A M S-<br />

L AT E X collection that contain further extensions, such as amsopn, amstext,<br />

<strong>and</strong> amsbsy. These packages could be loaded separately without amsmath<br />

if only their limited features are wanted. On the other h<strong>and</strong>, the packages<br />

amscd <strong>and</strong> amsthm are not included in amsmath <strong>and</strong> must be loaded explicitly<br />

if their features are desired. Simply add their names <strong>to</strong> the list of<br />

packages in \usepackage.<br />

The following Section 12.2 describes the new comm<strong>and</strong>s <strong>and</strong> environments<br />

made available with amsmath <strong>and</strong> its associated packages. We call<br />

these the st<strong>and</strong>ard features of A M S-L AT E X. Further extensions added by<br />

other packages are explained afterwards.<br />

The examples in this chapter employ the user-defined comm<strong>and</strong>s \mi, \me,<br />

! <strong>and</strong> \dif defined in Section 5.4.10 for printing upright i, e, <strong>and</strong> d in math mode.<br />

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

This relatively long section presents those st<strong>and</strong>ard features of A M S-L AT E X<br />

that are activated by loading the amsmath package, or by selecting one of<br />

the A M S classes amsart, amsbook, or amsproc.<br />

12.2.1 Additional font switching comm<strong>and</strong>s<br />

St<strong>and</strong>ard LAT Package:<br />

EX provides the math alphabet comm<strong>and</strong>s \mathcal, \mathrm,<br />

amsbsy \mathbf, \mathsf, \mathit, \mathtt for changing fonts within math<br />

mode (Section 5.4.2). With AMS-LAT EX, one may also use the comm<strong>and</strong>s<br />

\boldsymbol{symbol} <strong>and</strong> \pmb{symbol}<br />

<strong>to</strong> print symbol in a bold face, provided there is an appropriate bold<br />

font for it. Whereas the comm<strong>and</strong> \mathbf sets only Latin letters,<br />

numbers, <strong>and</strong> Greek upper case letters in bold, these comm<strong>and</strong>s also<br />

affect math symbols <strong>and</strong> Greek lower case letters. Compare the result<br />

of $\mathbf{\nabla\times V\,d\sigma}$ (∇ × V dσ ) with that

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

Saved successfully!

Ooh no, something went wrong!