emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: nicholas.dokos@hp.com
Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org
Subject: Re: LaTeX export for numbered equations
Date: Mon, 4 Jun 2012 15:41:27 +0200	[thread overview]
Message-ID: <5FA2B409-CE92-4C40-979B-0612351424DE@gmail.com> (raw)
In-Reply-To: <19536.1338790479@alphaville>


On 4.6.2012, at 08:14, Nick Dokos wrote:

> Sebastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:
> 
>> 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:
>> ... 
>> - 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:  \frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} }
> #+end_equation

You just use

   \begin{equation}
   \frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} }
   \end{equation}

Entire LaTeX environments should be automatically
protected and passed through for LaTeX export.

- Carsten




> 
> Nick
> 
> 

      parent reply	other threads:[~2012-06-04 13:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03 21:17 LaTeX export for numbered equations Sebastien Vauban
2012-06-04  6:07 ` Nick Dokos
2012-06-04  7:26   ` Sebastien Vauban
2012-06-04  7:33     ` Bastien
2012-06-04  6:14 ` Nick Dokos
2012-06-04  7:41   ` Sebastien Vauban
2012-06-04 12:21     ` suvayu ali
2012-06-04 13:41   ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5FA2B409-CE92-4C40-979B-0612351424DE@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).