emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX equation align in orgmode?
@ 2015-09-28 19:10 Rainer M Krug
  2015-09-29  4:06 ` Andreas Leha
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Rainer M Krug @ 2015-09-28 19:10 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]


Hi

I would need in a document several equations which are aligned as in 
http://tex.stackexchange.com/a/167908/6941

How can I use the following latex formula in orgmode?

--8<---------------cut here---------------start------------->8---
\begin{proof} The proof is a follows: 
\begin{align}
(x+y)^3&=(x+y)(x+y)^2\\
       &=(x+y)(x^2+2xy+y^2)\\
       &=x^3+3x^2y+3xy^3+x^3.\qedhere
\end{align}
\end{proof}
--8<---------------cut here---------------end--------------->8---

I have effectrively

--8<---------------cut here---------------start------------->8---
#+LATEX_HEADER: \usepackage{amsmath}

* The equations

\begin{equation}
\begin{align}
(x+y)^3&=(x+y)(x+y)^2\\
       &=(x+y)(x^2+2xy+y^2)\\
       &=x^3+3x^2y+3xy^3+x^3.\qedhere
\end{align}
\end{equation}
--8<---------------cut here---------------end--------------->8---

but with latex fragment preview (C-c C-x C-l) I only get an empty frame.

How can use this align environment in org?

I could use


--8<---------------cut here---------------start------------->8---
\begin{eqnarray*}
\hat{f}(x) & \propto & \sum_{\nu} \frac{|F(\nu)H(\nu)|^2}{|N(\nu)|^2}  
           \frac{G(\nu)}{H(\nu)} e^{\frac{2 \pi i \nu x}{N}}\\
           & \propto & \sum_{\nu} \frac{|F(\nu)|^2}{|N(\nu)|^2} H(\nu) H^*(\nu) 
           \frac{G(\nu)}{H(\nu)} e^{\frac{2 \pi i \nu x}{N}}\\
           & \propto & \sum_{\nu} H^*(\nu) G(\nu) e^{\frac{2 \pi i \nu x}{N}}
\end{eqnarray*}
--8<---------------cut here---------------end--------------->8---

but eqnarray is apparently bad (see link above).

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-10-14 15:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-28 19:10 LaTeX equation align in orgmode? Rainer M Krug
2015-09-29  4:06 ` Andreas Leha
2015-09-29  7:52   ` BUG?: LaTeX equation align in orgmode? - even in -Q Rainer M Krug
2015-09-29  8:24   ` LaTeX equation align in orgmode? Ken Mankoff
2015-09-29  7:38 ` Eric S Fraga
2015-09-29  8:09   ` SOLVED: " Rainer M Krug
2015-09-29 15:54     ` Andreas Leha
2015-10-08 22:25       ` Enzo Chi
2015-10-09  9:41         ` Eric S Fraga
2015-10-11 21:49           ` Enzo Chi
2015-10-12  7:23             ` Eric S Fraga
2015-10-12  7:34               ` Rasmus
2015-10-14 11:35                 ` Eric S Fraga
2015-10-14 12:58                   ` Rasmus
2015-10-14 14:09                     ` Eric S Fraga
2015-10-14 14:18                       ` Rasmus
2015-10-14 15:24                         ` Eric S Fraga
2015-09-29 13:43   ` Rasmus
2015-09-29 15:49 ` Nicolas Goaziou

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).