[OS X TeX] Align in enumerate

Michael Sharpe msharpe at ucsd.edu
Wed Mar 16 20:06:57 EDT 2011


On Mar 16, 2011, at 4:26 PM, David Arnold wrote:

> All,
> 
> If I am in an enumerate environment, is it possible to start an align* environment?
> 
> This didn't work:
> 
> \item However, the graph of $y=-3$, being a horizontal line, has slope zero. Also note that the $y4-intercept of this graph is $(0,-3)$. If we substitute these numbers into $y=mx+b$, we get:
> \begin{align*}
> y&=mx+b
> &&{\color{darkred}\text{Slope-intercept form.}}\\
> y&=0x+(-3)
> &&{\color{darkred}\text{Substitute: $0$ for $m$, $-3$ for $b$.}}\\
> y&=-3 
> &&{\color{darkred}\text{Simplify.}}
> \end{align*}
> 
> 
> ./section6.tex:523: Package amsmath Error: \begin{align*} allowed only in parag
> raph mode.

You can enclose the align* environment in a minipage.

Michael


More information about the MacOSX-TeX mailing list