emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Rasmus
Subject: Re: [O] latex formula error when nested into a list?
Date: Thu, 10 Jul 2014 17:51:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hi Luca,

Luca Ferrari <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]