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.

534 Appendix H. Comm<strong>and</strong> Summary<br />

\DeclareMathAccent{\cmd}{type}{sym fnt}{pos} [p] . (A.3.4) – 375<br />

Declares \cmd <strong>to</strong> be a math accent comm<strong>and</strong>, printed with the character<br />

in position pos of the symbol font with the internal name<br />

sym fnt. The type is either \mathord or \mathalpha; in the latter<br />

case the symbol changes with math alphabet.<br />

\DeclareMathAlphabet{\cmd}{code}{fam}{ser}{shp} [p]<br />

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . (A.3.3) – 373<br />

Defines \cmd <strong>to</strong> be a math alphabet for setting letters in math mode;<br />

the font selected in all math versions is that with the specified font attributes.<br />

If a different font is <strong>to</strong> be invoked for certain math versions,<br />

they are defined individually with \SetMathAlphabet afterwards.<br />

However, if the shape attribute is left empty, the alphabet comm<strong>and</strong><br />

is indeed created, but remains undefined in all versions, requiring an<br />

explicit \SetMathAlphabet declaration for each one.<br />

\DeclareMathDelimiter{\cmd}{type}{sym fnt1}{pos1}<br />

{sym fnt2}{pos2} [p] . . . . . . . . . . . . . . (A.3.4) – 375<br />

Declares \cmd <strong>to</strong> be a math delimiter in two sizes: the smaller<br />

variant is the character in position pos1 of the symbol font with the<br />

internal name sym fnt1, while the larger is from position pos2 of font<br />

sym fnt2.<br />

\DeclareMathOpera<strong>to</strong>r{\cmd}{name} [p][a] . . . . . (12.2.5) – 268<br />

With the amsopn or amsmath packages, defines \cmd <strong>to</strong> be a math<br />

mode comm<strong>and</strong> <strong>to</strong> print the text name as a function name in an<br />

upright font with appropriate spacing. With the *-form, the raising<br />

<strong>and</strong> lowering opera<strong>to</strong>rs ˆ <strong>and</strong> _ produce limits, above or below the<br />

name.<br />

\DeclareMathRadical{\cmd}{sym fnt1}{pos1}<br />

{sym fnt2}{pos2} [p] . . . . . . . . . . . . . . (A.3.4) – 375<br />

Declares \cmd <strong>to</strong> be a math radical symbol: the smaller variant is the<br />

character in position pos1 of the symbol font with the internal name<br />

sym fnt1, while the larger is from position pos2 of font sym fnt2.<br />

\DeclareMathSizes{text}{math text}{script}{sscript} [p] (A.3.4) – 375<br />

Sets the point sizes for the three math styles \textstyle,<br />

\scriptstyle, <strong>and</strong> \scriptscriptstyle when the text is being<br />

printed in point size text. The unit pt is not included.<br />

\DeclareMathSymbol{\symbol}{type}{sym fnt}{pos} [p] (A.3.4) – 375<br />

Declares \symbol <strong>to</strong> be a comm<strong>and</strong> that prints the character in position<br />

pos with the symbol font with the internal name sym fnt. This<br />

same symbol is printed in all math alphabets, but may be different<br />

for other math versions if the symbol font has been \Set... <strong>to</strong> have<br />

different attributes in that math version.

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

Saved successfully!

Ooh no, something went wrong!