From: David Arnold <darnold@northcoast.com>
Subject: Sample of the day (Matrices in AMSTeX)
Date: Sun, 12 Sep 1999 12:15:32 -0700 [thread overview]
Message-ID: <3.0.5.32.19990912121532.00b5f2c0@mail.northcoast.com> (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 --]
reply other threads:[~1999-09-12 19:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3.0.5.32.19990912121532.00b5f2c0@mail.northcoast.com \
--to=darnold@northcoast.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).