0

I want to export an org tree to latex, but whenever I have a command that nests curly brackets, org export will automatically prepend all brackets with a backslash.

For example, the tree:

enter image description here

Exports to (C-c C-e C-s l l):

enter image description here

Instead of:

enter image description here

Question: How do I export the literal latex command I typed without having org-export prepend backslashes as in the example above?

1 Answer 1

0

This discussion thread is related to my question. A solution that seems to work for single line Latex commands is to use the in-buffer setting #+LATEX.

In the example mentioned in the question, we would have:

enter image description here

Which correctly exports to:

enter image description here

1
  • Presumably, your answer has answered your question satisfactorily. If so, you should accept it.
    – NickD
    Mar 8, 2021 at 3:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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