[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Exporting to HTML - underscores cause unwanted sub-script

From: Rick Moynihan
Subject: Re: [Orgmode] Exporting to HTML - underscores cause unwanted sub-script
Date: Fri, 15 Aug 2008 09:39:26 +0100
User-agent: Thunderbird (Macintosh/20080707)

Parker, Matthew wrote:

The export to HTML is really great....
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: 'prctms' field

I had this same problem and tried to find a way to turn it off, but noticed that whenever I used underscores I was referring to elements of a program, e.g. method_name, variable_name, database_name, or /file/path etc...

So my solution was to use the following syntax:



Surrounding the word in ='s like above causes the font to be exported inside an inline <code> tag, which renders as a fixed width font and ensures it's not confused as something else. It also nicely disables the subscripting.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]