Download AMS-LATEX Version 1.1 User's Guide

Transcript
optional arguments t and b for \smash, because sometimes it is advantageous to
be able to \smash" only the top or only the bottom of something while retaining
the natural depth or height. For example, to smash only the part of a subformula
that extends below the baseline, you would type \smashb]{hwhatever i}.
24 New LATEX environments
24.1 The \cases" environment
\Cases" constructions like the following are common in mathematics:
j is odd
Pr;j = 0r! (;1)(r;j)=2 ifif rr ;
; j is even:
and in the amstex option there is a cases environment:
(5)
\begin{equation} P_{r-j}=
\begin{cases}
0& \text{if $r-j$ is odd},\\
r!\,(-1)^{(r-j)/2}& \text{if $r-j$ is even}.
\end{cases}
\end{equation}
Notice the use of \text and the embedded math.
24.2 Matrix
In the creation of the amstex option, AMS-TEX's \matrix could have been discarded, since LATEX's array environment has the same function. But we wanted
to keep AMS-TEX's \pmatrix, \bmatrix, \vmatrix and \Vmatrix commands,
with delimiters built in for consistency, the basic \matrix has been retained
also. It and the other matrix commands have been changed into LATEX environments that work like array, except that they don't have an argument specifying
the format of the columns. Instead a default format is provided: up to 10 centered columns. The maximum number of columns is determined by the counter
MaxMatrixCols, which you can change if necessary using LATEX's \setcounter
or \addtocounter commands. I.e., suppose you have a big matrix with 19 or
20 columns. Then you'd do something like this:
\begin{equation}
\setcounter{MaxMatrixCols}{20}
A=\begin{pmatrix}
...&...&...&...&...&...&...&...&...&...&...&...&
... \\
...
24
... \\