[OS X TeX] brackets in \aligned
Morten Høgholm
morten.hoegholm at gmail.com
Mon Jul 31 07:49:06 EDT 2006
On Mon, 31 Jul 2006 13:46:31 +0200, Bruce Kellogg <rbmjk at alltel.net> wrote:
Hi Bruce,
> This seems to be a bug. Using version 2.03 I type:
>
> \begin{equation*}
> \begin{aligned}
> [v](x) &=1, \\
> \{v\}(x) &=1,\\
> [v](x) &=1. \\
> \end{aligned}
> \end{equation*}
>
> and get 3 displayed equations. The 2nd and 3rd equations are ok,
> but the first equation is:
>
> (x) = 1,
>
> This is using version 2.03. When I type
>
> \begin{equation*}
> [v](x) =1
> \end{equation*}
>
> the equation is correctly displayed, so I guess the problem is with
> \aligned.
Version 2.03 of what? TeXShop? That is irrelevant in a case like this
where it is the LaTeX output which is wrong. For something like this you
should create a complete yet minimal example showing the problem.
Something like this:
\listfiles
\documentclass{article}
\usepackage{amsmath}
\begin{document}
OK:
\begin{equation*}
\begin{aligned}
[v](x) &=1, \\
\{v\}(x) &=1,\\
[v](x) &=1. \\
\end{aligned}
\end{equation*}
Not OK:
\begin{equation*}
[v](x) =1
\end{equation*}
\end{document}
\listfiles produces a list of files with version numbers at the end of the
log file. I get this:
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
***********
Very useful for spotting obsolete versions of packages.
> Is there anything I can do about it?
Substitute mathtools for amsmath. mathtools loads amsmath (including the
options given to it) and besides adding various bells and whistles for
mathematical typesetting it also fixes a few obscurities in amsmath. This
one is explained in the manual.
Cheers,
--
Morten,
who is obviously biased in this case being the author of mathtools ;-)
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list