jkuczm / mmacells

Mathematica cells in TeX
61 stars 18 forks source link

Handle `\left` and `\right` commands #47

Closed jkuczm closed 3 years ago

jkuczm commented 3 years ago

\left and \right commands used with listings-fancyverb interface, even when properly registered with morefvcmdparams lead to "Missing delimiter" error.

Probably they use their argument in some special way incompatible with how listings is passing arguments to fvcmdparams-registered commands.

We can make them work by wrapping them with "ordinary" document level commands. Since those commands should work as originals, we just redefine originals locally inside formatted cells that use listings.