From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: underscore behaviour Date: Thu, 13 Oct 2011 10:03:10 -0400 Message-ID: <18144.1318514590@alphaville.dokosmarshall.org> References: <4E96E764.6050205@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RELsX-0002Fg-IY for emacs-orgmode@gnu.org; Thu, 13 Oct 2011 10:03:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RELsS-00042t-02 for emacs-orgmode@gnu.org; Thu, 13 Oct 2011 10:03:21 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:42853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RELsR-00041f-Rg for emacs-orgmode@gnu.org; Thu, 13 Oct 2011 10:03:15 -0400 In-Reply-To: Message from Andrea Crotti of "Thu, 13 Oct 2011 14:28:04 BST." <4E96E764.6050205@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrea Crotti Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Andrea Crotti 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