emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] latex environment inside math mode problem


From: Marko Schütz Schmuck
Subject: Re: [O] latex environment inside math mode problem
Date: Mon, 19 Jan 2015 23:44:56 -0400
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Mon, 19 Jan 2015 20:30:51 -0500,
Nick Dokos wrote:
> 
> Marko Schütz Schmuck <address@hidden> writes:
> 
> > Dear All,
> >
> > the new exporter does not seem to handle \begin/\end inside \( ... \).
> >
> > If the org file contains
> >
> >     \(f =
> >       \begin{cases}
> >       t & 1\\
> >       f & 2\\
> >       \end{cases}
> >     \)
> >
> > the resulting tex file contains
> >
> > $\backslash$(f =
> > \begin{cases}
> > t & 1\\
> > f & 2\\
> > \end{cases}
> > $\backslash$)
> >
> > Is there a known fix or workaround?
> >
> 
> My guess is that inline math is recognized as such by the latex exporter
> only if the closing delimiter is on the same line as the opening
> delimiter. Try
> 
>     \(f = \begin{cases} t & 1\\ f & 2\\ \end{cases} \)

It recognized inline math across multiple lines without the cases
environment inside. It also recognizes your suggestion. Thanks for the
suggestion, but I hesitate to apply it to the real inline math
environments that I have, it would obfuscate the code quite a bit...

Attachment: pgp1UowmMqiw8.pgp
Description: OpenPGP Digital Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]