From: Peter Rayner <prayner@unimelb.edu.au>
To: emacs-orgmode@gnu.org
Subject: overruling subscripts in latex export
Date: Wed, 25 Jan 2012 13:02:12 +1100 [thread overview]
Message-ID: <20255.25252.403452.217345@raynernix2.earthsci.unimelb.edu.au> (raw)
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
next reply other threads:[~2012-01-25 2:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-25 2:02 Peter Rayner [this message]
2012-01-25 4:27 ` overruling subscripts in latex export Nick Dokos
2012-01-25 4:54 ` Peter Rayner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20255.25252.403452.217345@raynernix2.earthsci.unimelb.edu.au \
--to=prayner@unimelb.edu.au \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).