From: David Arnold <darnold@northcoast.com>
Subject: Sample of the day. More on align.
Date: Thu, 09 Sep 1999 12:51:37 -0700 [thread overview]
Message-ID: <3.0.5.32.19990909125137.00b4eb10@mail.northcoast.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
All, dvi attached.
\documentclass[leqno]{amsldoc}
\usepackage{amsmath}
\begin{document}
You can put the tags on the left with the legno option.
You can align equations with automatic numbering each line.
\begin{align}
2x+3&=5\\
2x+3-3&=5-3\\
2x&=2\\
\frac{2x}2&=\frac22\\
x&=1
\end{align}
You can suppress numbering.
\begin{align*}
2x+3&=5\\
2x+3-3&=5-3\\
2x&=2\\
\frac{2x}2&=\frac22\\
x&=1
\end{align*}
You can have subnumbering.
\begin{subequations}
\begin{align}
2x+3&=5\\
2x+3-3&=5-3\\
2x&=2\\
\frac{2x}2&=\frac22\\
x&=1
\end{align}
\end{subequations}
You can interject text.
\begin{align*}
2x+3&=5\\
2x+3-3&=5-3 & \text{Subract 3 from both sides}\\
2x&=2 & \text{Simplify}\\
\frac{2x}2&=\frac22 & \text{Divide both sides by 2}\\
x&=1 & \text{Simplify}
\end{align*}
You can align more than one set of equations.
\begin{align*}
2x+3&=5 & r&=0\\
2x+3-3&=5-3 & 1+2\sin\theta&=0\\
2x&=2 & \sin\theta&=-\frac12\\
\frac{2x}2&=\frac22 & \theta&=\frac{7\pi}6\\
x&=1
\end{align*}
\end{document}
[-- Attachment #2: align2.dvi --]
[-- Type: application/octet-stream, Size: 2868 bytes --]
reply other threads:[~1999-09-09 19:51 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.19990909125137.00b4eb10@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).