On Saturday, 12 Mar 2016 at 18:49, Francesco Turco wrote:
> 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?

The \[ ... \] construct is only valid, in org, if on a single
line.  Your solution is perfectly valid although, in practice, I would
use equation* instead of displaymath.

Alternatively, you can enclose it all in a export block, as in

#+begin_export latex
\[
...
\]
#+end_export

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55

Reply via email to