From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: latex formula error when nested into a list? Date: Thu, 10 Jul 2014 17:51:55 +0200 Message-ID: <8738e9tdno.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Gdy-0002bc-1i for emacs-orgmode@gnu.org; Thu, 10 Jul 2014 11:52:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5Gdq-0007iV-Gv for emacs-orgmode@gnu.org; Thu, 10 Jul 2014 11:52:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:33756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Gdq-0007iJ-9e for emacs-orgmode@gnu.org; Thu, 10 Jul 2014 11:52:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X5Gdo-0004zi-Sj for emacs-orgmode@gnu.org; Thu, 10 Jul 2014 17:52:12 +0200 Received: from 109.201.154.182 ([109.201.154.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jul 2014 17:52:12 +0200 Received: from rasmus by 109.201.154.182 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jul 2014 17:52:12 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Luca, Luca Ferrari 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