emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* overruling subscripts in latex export
@ 2012-01-25  2:02 Peter Rayner
  2012-01-25  4:27 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rayner @ 2012-01-25  2:02 UTC (permalink / raw)
  To: emacs-orgmode

I'm documenting some code including lists of parameters.  These have
underscores in them which I don't want to interpret as subscripts.
According to the manual I can overrule this behaviour with an option
but it looks like I'm doing something wrong.

Here is the test file
#+OPTIONS: ^:{}
#+TITLE: test file

- p_c_in :: this is the first parameter 
- g_c_in :: and this is the second



And here is the exported latex
% Created 2012-01-25 Wed 12:04
\documentclass[11pt]{article}
% package includes deleted 

\title{test file}
\author{Peter Rayner}
\date{25 January 2012}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}


\begin{description}
\item[p$_c$$_{\mathrm{in}}$] this is the first parameter
\item[g$_c$$_{\mathrm{in}}$] and this is the second
\end{description}

\end{document}

Note those $ signs in the \item brackets.  I would rather see
p\_c\_in  or \verb|p_c_in|

I am probably misunderstanding how to set the option, could someone
please explain?

This is with
Org-mode version 7.5 (release_7.8.03.74.gd6e40f)
Thanks in advance
Peter



-- 
Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: prayner@unimelb.edu.au

and
CLIMMOD ENGINEERING
http://www.climmod.com
mail-to: Peter.Rayner@climmod.com

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

end of thread, other threads:[~2012-01-25  4:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-25  2:02 overruling subscripts in latex export Peter Rayner
2012-01-25  4:27 ` Nick Dokos
2012-01-25  4:54   ` Peter Rayner

Code repositories for project(s) associated with this public 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).