From: Francesco Turco <fturco@fastmail.fm>
To: emacs-orgmode@gnu.org
Subject: Exporting math code containing a cases environment to LaTeX
Date: Sat, 12 Mar 2016 18:49:22 +0100 [thread overview]
Message-ID: <1457804962.3605548.547270650.7ABB8973@webmail.messagingengine.com> (raw)
Why the following piece of Org Mode document doesn't display correctly
when exported to a PDF document via LaTeX?
\[n!=
\begin{cases}
1 & n=0 \\
n(n-1)! & n\ge 1 \\
\end{cases}
\]
It is displayed at the left instead of center of the document.
Moreover the \[ and \] symbols are not removed in the final document.
I can fix the problem by replacing \[ and \] with \begin{displaymath}
end \end{displaymath} respectively:
\begin{displaymath}
n!=
\begin{cases}
1 & n=0 \\
n(n-1)! & n\ge 1 \\
\end{cases}
\end{displaymath}
Is this the best way to fix the problem? Am I missing a better solution?
next reply other threads:[~2016-03-12 17:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-12 17:49 Francesco Turco [this message]
2016-03-12 18:16 ` Exporting math code containing a cases environment to LaTeX Eric S Fraga
2016-03-12 18:33 ` Francesco Turco
2016-03-13 8:13 ` Eric S Fraga
2016-03-13 9:35 ` Francesco Turco
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457804962.3605548.547270650.7ABB8973@webmail.messagingengine.com \
--to=fturco@fastmail.fm \
--cc=emacs-orgmode@gnu.org \
/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 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.