emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* underscore behaviour
@ 2011-10-13 13:28 Andrea Crotti
  2011-10-13 14:03 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Crotti @ 2011-10-13 13:28 UTC (permalink / raw)
  To: emacs-orgmode

I use names with "_" very often, and I like to export to PDF, because 
it' the one that looks nicest.

But the _ in latex means something different, and I find my output a bit 
messed up.
Isn't it possible to add an automatic quote for every "_" when exporting 
to latex/pdf maybe?

Or is there a better way to write things like function names "__init__" 
or similar?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: underscore behaviour
  2011-10-13 13:28 underscore behaviour Andrea Crotti
@ 2011-10-13 14:03 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2011-10-13 14:03 UTC (permalink / raw)
  To: Andrea Crotti; +Cc: nicholas.dokos, emacs-orgmode

Andrea Crotti <andrea.crotti.0@gmail.com> wrote:

> I use names with "_" very often, and I like to export to PDF, because
> it' the one that looks nicest.
> 
> But the _ in latex means something different, and I find my output a
> bit messed up.
> Isn't it possible to add an automatic quote for every "_" when
> exporting to latex/pdf maybe?
> 
> Or is there a better way to write things like function names
> "__init__" or similar?
> 

#+OPTIONS: ^:nil

or 

#+OPTIONS: ^:{}

should do it - see

    (info "(org) Export options")

for more options than you can shake a stick at.

Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-13 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-13 13:28 underscore behaviour Andrea Crotti
2011-10-13 14:03 ` Nick Dokos

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).