From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: LaTeX export for numbered equations Date: Sun, 03 Jun 2012 23:17:32 +0200 Message-ID: <80pq9grt77.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, I'm trying to get numbered equations in Beamer, hence using the begin_equation block, but the formula is not correctly translated to LaTeX, and I have no clue why... Here an ECM: --8<---------------cut here---------------start------------->8--- #+TITLE: ECM Equations #+DATE: 2012-06-13 #+Time-stamp: <2012-06-03 Sun 23:13 Fabrice on MEDIACENTER> #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation,t] #+BEAMER_HEADER_EXTRA: \usetheme{default}\usecolortheme{default} #+BEAMER_FRAME_LEVEL: 1 #+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_extra(Extra) * Equations - This is a displayed formula, not numbered: \[\frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} }\] - 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 * LaTeX output - The first equation, unnumbered, is correctly translated to: \[\frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} }\] - The two other are wrongly translated: + the first one with two curly brackets escaped: v v \begin{equation} \frac{1}{\sqrt{2\pi\sigma^2}}e^\{ -\frac{(x-\mu)^2}{2\sigma^2} \} \end{equation} + the last one with one curly bracket escaped: v \begin{equation} \frac{1}{\sqrt{2\pi\sigma^2}}e^\{-\frac{(x-\mu)^2}{2\sigma^2}} \end{equation} --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban