[O] latex formula error when nested into a list?

2014-07-10 Thread Luca Ferrari
Hi all,
don't know if this is a normal behavior, but using a latex formula like this:

\begin{equation}
\begin{align}
a \times b = c \times d \\ = f
\end{align}
\end{equation}

into an org list, that is:

- \begin{equation}
\begin{align}
a \times b = c \times d \\ = f
\end{align}
\end{equation}

produces the following latex error:

! Package amsmath Error: Erroneous nesting of equation structures;
(amsmath)trying to recover with `aligned'.

while removing the list bullet makes it working. Am I doing something
wrong? Is it possible to nest formulas into lists?

Luca



Re: [O] latex formula error when nested into a list?

2014-07-10 Thread Rasmus
Hi Luca,

Luca Ferrari fluca1...@gmail.com writes:

 Hi all,
 don't know if this is a normal behavior, but using a latex formula like this:

 \begin{equation}
 \begin{align}
 a \times b = c \times d \\ = f
 \end{align}
 \end{equation}

 into an org list, that is:

 - \begin{equation}
 \begin{align}
 a \times b = c \times d \\ = f
 \end{align}
 \end{equation}

 produces the following latex error:

 ! Package amsmath Error: Erroneous nesting of equation structures;
 (amsmath)trying to recover with `aligned'.

 while removing the list bullet makes it working. Am I doing something
 wrong? Is it possible to nest formulas into lists?

Did you see the error message?  

 ! Package amsmath Error: Erroneous nesting of equation structures;
 (amsmath)trying to recover with `aligned'.

You want

\begin{equation}
\begin{aligned}
a \times b = c \times d \\ = f
\end{aligned}
\end{equation}

or

\begin{align}
a \times b = c \times d \\ = f
\end{align}

depending on whether you want the expression to have one number or one
number per line.

You can access the amsmath help file by typing texdoc amsmath or
mthelp amsmath in your terminal with TL or MikTeX.

Hope it helps,
Rasmus

-- 
Dobbelt-A