For the record, you can also "fix" this problem using the following
file-local customization:
#+OPTIONS: ^:{}
I'm a regular LaTeX user, but find that escaping underscores (with
'\') gets tedious when cutting and pasting multiple file names
and/or variable names that include them.
With the above option, "before_after" is left as is, while
"before_{after}" has "after" set as a subscript. See section 12.2
of the documentation.
Dan
Parker, Matthew wrote:
Perfect. Thanks!
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Dokos
Sent: Thursday, August 14, 2008 9:52 PM
To: Parker, Matthew
Cc: Emacs-orgmode@gnu.org
Subject: Re: [Orgmode] Exporting to HTML - underscores cause unwanted
sub-script
Parker, Matthew <[EMAIL PROTECTED]> wrote:
One thing that I'm tripping up on is that I'm trying to list data base
names that have underscores, e.g. prc_tms.
And the 'second word' is coming out subscript: 'prc[tms'] field
I realize this may be a feature and not a bug... but how to turn it
off?
Escape the underscore with a backslash: prc\_tms. Similarly, ^ produces
a superscript whereas \^ produces a caret. And for something completely
different, \alpha produces α which is rendered as the first letter
of the Greek alphabet etc.
This notation is TeX-inspired: Carsten is a scientist, he uses TeX/LaTeX
for papers and he uses org-mode for notes, so it was natural for him to
adopt the notation.
Nick
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode