At Mon, 19 Jan 2015 20:30:51 -0500,
Nick Dokos wrote:
> 
> Marko Schütz Schmuck <markoschu...@web.de> 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: pgp0tXa8hRCgj.pgp
Description: OpenPGP Digital Signature

Reply via email to