* Sample of the day (Matrices in AMSTeX)
@ 1999-09-12 19:15 David Arnold
0 siblings, 0 replies; only message in thread
From: David Arnold @ 1999-09-12 19:15 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
There are a number of matrix options in \AmSTeX.
There is pmatrix.
$$
A=\pmatrix
x-\lambda & 1 & 0\\
0 & x-\lambda & 1\\
0 & 0 & x-\lambda
\endpmatrix
$$
There is bmatrix.
$$
A=\bmatrix
x-\lambda & 1 & 0\\
0 & x-\lambda & 1\\
0 & 0 & x-\lambda
\endbmatrix
$$
There is vmatrix.
$$
A=\vmatrix
x-\lambda & 1 & 0\\
0 & x-\lambda & 1\\
0 & 0 & x-\lambda
\endvmatrix
$$
There is Vmatrix.
$$
A=\Vmatrix
x-\lambda & 1 & 0\\
0 & x-\lambda & 1\\
0 & 0 & x-\lambda
\endVmatrix
$$
Justification and other formatting is available.
$$
A=\pmatrix\format \r &\quad\r\\
\cos\theta & \sin\theta\\
-\sin\theta & \cos\theta
\endpmatrix
$$
And, \AmSTeX\ supplies it own cases command.
$$
f(x)=\cases x+1, &\text{if $x>0$}\\
x-1, &\text{if $x\le 0$}\endcases
$$
\bye
[-- Attachment #2: matrix.dvi --]
[-- Type: application/octet-stream, Size: 1780 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-09-12 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-12 19:15 Sample of the day (Matrices in AMSTeX) David Arnold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).