* latex formula error when nested into a list?
@ 2014-07-10 6:41 Luca Ferrari
2014-07-10 15:51 ` Rasmus
0 siblings, 1 reply; 2+ messages in thread
From: Luca Ferrari @ 2014-07-10 6:41 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: latex formula error when nested into a list?
2014-07-10 6:41 latex formula error when nested into a list? Luca Ferrari
@ 2014-07-10 15:51 ` Rasmus
0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2014-07-10 15:51 UTC (permalink / raw)
To: emacs-orgmode
Hi Luca,
Luca Ferrari <fluca1978@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-10 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10 6:41 latex formula error when nested into a list? Luca Ferrari
2014-07-10 15:51 ` Rasmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.