[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] underscore escaping
From: |
Andreas Leha |
Subject: |
[O] underscore escaping |
Date: |
Wed, 23 Oct 2013 14:35:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi all,
do I miss something wrt underscore escaping?
According to the manual [fn:1] I expect to see underscores in the
exported (to LaTeX) version of this test file:
--8<---------------cut here---------------start------------->8---
* Underscore\_Escaping_Test
Underscore\_Escaping_Test
#+caption: Underscore\_Escaping_Test
#+begin_src latex :exports code
\latex
#+end_src
--8<---------------cut here---------------end--------------->8---
But instead, I get something with $\backslash$$_....$:
--8<---------------cut here---------------start------------->8---
\section{Underscore$\backslash$$_{\text{Escaping}}$$_{\text{Test}}$}
\label{sec-1}
Underscore$\backslash$$_{\text{Escaping}}$$_{\text{Test}}$
\lstset{language=TeX,caption={Underscore$\backslash$$_{\text{Escaping}}$$_{\text{Test}}$},numbers=none}
\begin{lstlisting}
\latex
\end{lstlisting}
--8<---------------cut here---------------end--------------->8---
Is that intended? And if so, what is the intended way to escape an
underscore?
Regards,
Andreas
Footnotes:
[fn:1] http://orgmode.org/manual/Subscripts-and-superscripts.html
- [O] underscore escaping,
Andreas Leha <=