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 579<br />

\set<strong>to</strong>depth{\length cmd}{text} . . . . . . . . . . . . (8.2) – 184<br />

The length comm<strong>and</strong> with the name \length cmd is assigned a value<br />

equal <strong>to</strong> the depth of text below the baseline.<br />

\set<strong>to</strong>height{\length cmd}{text} . . . . . . . . . . . . (8.2) – 184<br />

The length comm<strong>and</strong> with the name \length cmd is assigned a value<br />

equal <strong>to</strong> the height of text above the baseline.<br />

\set<strong>to</strong>width{\length cmd}{text} . . . . . . . . . . . . (8.2) – 184<br />

The length comm<strong>and</strong> with the name \length cmd is assigned a value<br />

equal <strong>to</strong> the length of text as it would be set in an LR box.<br />

\sfdefault . . . . . . . . . . . . . . . . . . . . . . (A.3.1) – 372<br />

This comm<strong>and</strong> defines the family attribute that is selected with the<br />

\sffamily comm<strong>and</strong>. It may be redefined with \renewcomm<strong>and</strong>:<br />

\renewcomm<strong>and</strong>{\sfdefault}{phv}<br />

\sffamily . . . . . . . . . . . . . . . . . . (4.1.3), (A.2) – 64, 371<br />

This declaration switches <strong>to</strong> a font in the current series <strong>and</strong> shape,<br />

but with the sans serif family attribute.<br />

\shadowbox{text} . . . . . . . . . . . . . . . . . . . . (4.7.9) – 94<br />

With the fancybox package, is a variant of \fbox, drawing a shadowed<br />

box around text; the thickness of the shadow is given by the<br />

length \shadowsize.<br />

\sharp [m] produces ♯ . . . . . . . . . . . . . . . . . (5.3.6) – 127<br />

\shortstack[pos]{text} . . . . . . . . . . . . . . . (13.1.4) – 297<br />

Formats the text in<strong>to</strong> a single column, where the individual<br />

rows are terminated by \\. The optional positioning argument<br />

pos takes on values of l or r <strong>to</strong> set the text left or right justified,<br />

otherwise it is centered. Example:<br />

\shortstack{aa\\bbb\\cc\\x\\yy\\zzz}<br />

aa<br />

bbb<br />

cc<br />

x<br />

yy<br />

zzz<br />

\sideset{pre}{post}\symbol [m][a] . . . . . . . . . (12.2.2) – 262<br />

With the amsmath package, places superscripts <strong>and</strong> subscripts snugly<br />

before (pre) <strong>and</strong> after (post) the math symbol \symbol. Example:<br />

$\sideset{_\dagˆ*}{_\dagˆ*}\prod$ yields ∗∗<br />

\Sigma [m] produces Σ . . . . . . . . . . . . . . . . . (5.3.1) – 125<br />

\sigma [m] produces σ . . . . . . . . . . . . . . . . . (5.3.1) – 125<br />

\signature{name} . . . . . . . . . . . . . . . . . . (16.1) – 351<br />

In the letter document class, supplies the name of the writer that<br />

should go below the signature if this is different from the entry in<br />

\name.<br />

†<br />

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

Saved successfully!

Ooh no, something went wrong!