remark icon indicating copy to clipboard operation
remark copied to clipboard

Escaping paired math delimiters

Open jonathanlilly opened this issue 5 years ago • 1 comments

It would be nice to be able to escape math delimiters, so I can show LaTeX code in the presentation.

It seems the dollar sign can't be escaped, so I can't write

\$\gamma\$

and have it render as $\gamma$.

While I can write \\\[ to render \[, having an escaped opening math delimiter that is followed by an escaped closing math delimiter doesn't work.

Thus, while the preceding example works, \\\[\gamma\\\] does not render \[\gamma\]. This appears to be a bug.

The same applied for \(\).

jonathanlilly avatar Dec 20 '19 07:12 jonathanlilly

you should use backticks to escaper everything like this

isentropic avatar Sep 08 '20 05:09 isentropic