[OS X TeX] RE: Re: Equation alignment in enumerated list (Vincent McGarry)

Scott, Randy Scott_Randy at sccollege.edu
Fri Dec 5 21:53:31 CET 2008


Perfect! Thanks Vince!

Randy Scott
Santiago Canyon College


-----Original Message-----

Today's Topics:

   2. Equation alignment in enumerated list (Randy Scott)
   3. Re: Equation alignment in enumerated list (Vincent McGarry)
  
------------------------------

Message: 2
Date: Thu, 04 Dec 2008 13:18:59 -0800
From: Randy Scott <scott_randy at sccollege.edu>
Subject: [OS X TeX] Equation alignment in enumerated list
To: <macosx-tex at email.esm.psu.edu>
Message-ID: <C55D8943.3CF7%scott_randy at sccollege.edu>
Content-Type: text/plain;	charset="US-ASCII"

Hi,

I'm trying to create an enumerated list, where the items listed are
equations. So far so good. I've been using $\displaystyle . . . to get my
equations to line up with the the text that accompanies the equations.

However, I need to make an entry that has the top line of a series of
equations aligned with the item marker, and then the subsequent lines
aligned at the equal sign with the top equation. For example:

1. f(x) = x^2 + 1/x
        = x^3/x + 1/x
        = (x^3+1)/x

I've tried a \parbox[t] but that doesn't align the baseline of the equation
with the item marker. I've tried \begin{align*} but that won't operate
inside a $\displaystyle arrangement.

Any ideas that you all could send my way would be appreciated.

Thanks,

Randy Scott
Santiago Canyon College
Orange, CA



------------------------------

Message: 3
Date: Thu, 4 Dec 2008 17:12:35 -0600
From: Vincent McGarry <vmcgarry at austin.rr.com>
Subject: Re: [OS X TeX] Equation alignment in enumerated list
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <8E3787C7-79D5-4E22-ABAF-1F9A8EEED2D4 at austin.rr.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Try the following:

\begin{enumerate}
\item
$
	\begin{aligned}[t]
		Equations go here!
	\end{aligned}
$
\item
$
	\begin{aligned}[t]
		Equations go here!
	\end{aligned}
$
\end{enumerate}

Vince McGarry






More information about the macostex-archives mailing list