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.

−−→ r dϕ = 2πr<br />

0.2π<br />

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

\int_{\overrightarrow{0.2\pi}}<br />

r\,d\varphi = 2\pi r<br />

There are two more comm<strong>and</strong>s for horizontal arrows of variable length:<br />

\xleftarrow[below]{above} \xrightarrow[below]{above}<br />

which place the m<strong>and</strong>a<strong>to</strong>ry above in superscript size over the arrow, <strong>and</strong><br />

the optional below in subscript size beneath it.<br />

A n+µ−1<br />

←−−−− B n±i−1<br />

−−−→ C<br />

T<br />

\[ A \xleftarrow{n+\mu-1} B<br />

\xrightarrow[T]{n\pm i-1} C \]<br />

The package amscd (Section 12.3.2) offers further possibilities for<br />

combining arrows <strong>and</strong> text.<br />

Stacked accents<br />

Attempting <strong>to</strong> place multiple accents over a character with st<strong>and</strong>ard L AT E X,<br />

say with $\hat{\hat{A}}$, results in a misplacement: ˆ Â. The same<br />

applies <strong>to</strong> the other mathematical accents comm<strong>and</strong>s \check, \breve,<br />

\acute, \grave, \tilde, \bar, \vec, \dot, <strong>and</strong> \ddot (Section 5.3.9).<br />

The amsmath package provides a set of math accent comm<strong>and</strong>s with the<br />

same names but capitalized,<br />

\Hat \Breve \Grave \Bar \Dot<br />

\Check \Acute \Tilde \Vec \Ddot<br />

which can be safely combined with one another for the expected results:<br />

$\Hat{\Hat{A}}$, $\Breve{\Bar{B}}$ <strong>and</strong> $\Tilde{\Tilde{C}}$<br />

produce Â, ˘¯B, <strong>and</strong> ˜C.<br />

Three or four dots in a row over a symbol are often used for time<br />

derivatives of third <strong>and</strong> fourth order. They can be placed with the comm<strong>and</strong>s<br />

\dddot{sym} <strong>and</strong> \ddddot{sym}<br />

In this way ...<br />

u <strong>and</strong> ....<br />

u are produced with $\dddot{u}$ <strong>and</strong> $\ddddot{u}$.<br />

Continuation dots<br />

In st<strong>and</strong>ard L AT E X, one has the comm<strong>and</strong>s \ldots <strong>and</strong> \cdots for printing<br />

three continuation dots, either on the baseline or raised <strong>to</strong> the center of<br />

the line. A M S-L AT E X offers a number of additional possibilities. The most<br />

general of these is the \dots comm<strong>and</strong> which adjusts the vertical height<br />

according <strong>to</strong> the symbol that follows it. If this is an equals sign or binary<br />

opera<strong>to</strong>r, such as + or −, the dots are raised, as with \cdots, otherwise<br />

they are on the baseline, as with \ldots.

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

Saved successfully!

Ooh no, something went wrong!