0

I am using the textext extension to Inkscape to insert LaTeX into my figure. I am trying to insert a mathematical equation in which I need a cases environment, but when I put a:

\begin{equation}
f(x) =
    \begin{cases}
        x & x>0, \\
        0 & \textrm{otherwise},
    \end{cases}
\end{equation}

I get a bunch of errors from textext, like ! Misplaced alignment tab character &.. How can I fix this? The example screenshot on the textext website has a cases environment, so it has to work somehow.

a06e
  • 1,098

0 Answers0