0

I know you can use inline LaTeX in Org, and that works fine for the most part when exporting to HTML. However, I've not managed to get Org to recognise the \LaTeX{} macro properly, unless I enclose it in $\LaTeX{}$—but that exports it in italics, which I don't want.

  • You can embed LaTeX code inline. Does that help? – Juancho Jul 3 '17 at 13:45
  • @Juancho: not for HTML export - latex things are just omitted. It works with $...$ because MathJax takes care of latex things in math mode (including non-math things). – NickD Jul 3 '17 at 19:14
2

Try

$\rm\LaTeX$

You might also be able to redefine the \LaTeX macro in MathJax so that it uses an upright font.

EDIT: here's a reference for defining macros for MathJax use: http://docs.mathjax.org/en/latest/tex.html#defining-tex-macros

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.