Disabling underscore-to-subscript in Emacs Org-Mode export

zpinter picture zpinter · Mar 30, 2009 · Viewed 22.7k times · Source

When I export to PDF via org-mode (C-c C-e d), any words with underscores end up being partially converted to subscript. How can I prevent this from happening?

I found this article on the subject:

Disabling Underscore subscript in Emacs Tex Mode

However, I either wasn't able to figure out the correct elisp or it simply didn't work. Note, I don't want to change any global font options. I only want this fix to apply to tex/latex/org-mode.

I also found this post, though it didn't work either:

disable subscript superscript raise/lower?

Answer

Don W picture Don W · Mar 30, 2009

You can disable super/subscripting within an org file by adding the following line:

#+OPTIONS: ^:nil

Check the org manual for more options.
The following command inserts a template containing all the options: C-c C-e #