From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: LaTeX export for numbered equations Date: Mon, 4 Jun 2012 14:21:40 +0200 Message-ID: References: <80pq9grt77.fsf@somewhere.org> <19536.1338790479@alphaville> <80haursewf.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbWIU-00054O-DI for emacs-orgmode@gnu.org; Mon, 04 Jun 2012 08:22:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SbWIN-0005yD-Vy for emacs-orgmode@gnu.org; Mon, 04 Jun 2012 08:22:09 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:57045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbWIN-0005y1-Oa for emacs-orgmode@gnu.org; Mon, 04 Jun 2012 08:22:03 -0400 Received: by obbwd18 with SMTP id wd18so8897453obb.0 for ; Mon, 04 Jun 2012 05:22:02 -0700 (PDT) In-Reply-To: <80haursewf.fsf@somewhere.org> 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: Sebastien Vauban Cc: emacs-orgmode@gnu.org Hey Seb, On Mon, Jun 4, 2012 at 9:41 AM, Sebastien Vauban wrote: > Hi Nick, > > Nick Dokos wrote: >> Sebastien Vauban wrote: >> >>> I'm trying to get numbered equations in Beamer, hence using the begin_e= quation >>> block, but the formula is not correctly translated to LaTeX, and I have= no >>> clue why... >>> >>> Here an ECM: >>> ... >>> - These should be numbered: >>> >>> #+begin_equation >>> \frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} } >>> #+end_equation >>> >>> #+begin_equation >>> \frac{1}{\sqrt{2\pi\sigma^2}}e^{-\frac{(x-\mu)^2}{2\sigma^2}} >>> #+end_equation >>> ... >> >> The following workaround seems to be effective in both of these cases: >> >> #+begin_equation >> #+LATEX: =C2=A0\frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigm= a^2} } >> #+end_equation > > I confirm your workaround is working in my case as well -- I would never = have > thought doing that. Thanks! > I know it should work, but is there any particular reason you need to use #+begin_equation .. #+end_equation ? The following seems to work for me well. #+begin_latex \begin{equation} \frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} } \end{equation} #+end_latex If you want fontlocking you can even use #+begin_src latex :eval yes \begin{equation} \frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} } \end{equation} #+end_src --=20 Suvayu Open source is the future. It sets us free.