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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

394 Appendix B. The L AT E X Clockwork<br />

afterpage (Section 7.1 on page 171) permits comm<strong>and</strong>s <strong>to</strong> be saved<br />

<strong>and</strong> executed at the end of the current page. This is useful<br />

for forcing stubborn floats <strong>to</strong> be output right away, with<br />

\afterpage{\clearpage}. If \clearpage were issued directly,<br />

a new page would be inserted at that point. With \afterpage, the<br />

comm<strong>and</strong> is reserved until the end of the page.<br />

array (Section 4.8.4 on page 106) is a re-implementation of the tabular<br />

<strong>and</strong> array environments with several additional features.<br />

bm permits individual math symbols <strong>to</strong> be printed in bold face with<br />

comm<strong>and</strong> \bm{\sym}. Thus $\alpha + \bm{\beta}$ produces<br />

α + β without recourse <strong>to</strong> the \boldmath comm<strong>and</strong> which would<br />

set the whole formula in bold face. There is also a comm<strong>and</strong><br />

\DeclareBoldMathComm<strong>and</strong>{\name}{\sym} that defines \name <strong>to</strong><br />

be \bm{\sym}.<br />

calc re-implements the counter <strong>and</strong> length comm<strong>and</strong>s <strong>to</strong> allow ‘normal’<br />

arithmetic with them, such as<br />

\setlength{\mylen}{3cm + \textwidth}<br />

\setcounter{page}{\value{section} * 3}<br />

\parbox{\linewidth / \real{1.6}}{...}<br />

Note that the arithmetical expressions can be used not only <strong>to</strong> set<br />

values but also as arguments <strong>to</strong> comm<strong>and</strong>s <strong>and</strong> environments.<br />

dcolumn (Section 4.8.4) requires the array package; it allows decimal<br />

point alignment in the tabular tables.<br />

delarray (Section 4.8.4) requires the array package; it permits large<br />

bracketing symbols <strong>to</strong> be put around array environments, for making<br />

matrices of various sorts.<br />

enumerate (Section 4.3.5, page 74) re-implements the enumerate environment<br />

so that an optional argument determines the numeration<br />

style.<br />

fileerr.dtx when unpacked, produces a set of small files that may<br />

be used <strong>to</strong> reply <strong>to</strong> T E X when a file is not found; this makes the<br />

responses similar <strong>to</strong> those for error messages; the files are named<br />

h.tex, e.tex, s.tex, <strong>and</strong> x.tex; thus, replying x〈return〉 loads the<br />

last one, which terminates the input.<br />

fontsmpl is a package <strong>to</strong> output a sample text, accents, <strong>and</strong> special characters<br />

for a given font; with the accompanying file fontsmpl.tex, a<br />

family such as cmr can be printed with all attributes <strong>and</strong> encodings.<br />

ftnright puts footnotes in the right-h<strong>and</strong> column in two-column mode.

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

Saved successfully!

Ooh no, something went wrong!