I am trying to export a literal string from Emacs Org-mode to Latex for subsequent export to PDF. The literal string is:
str1\__str2
I have tried the following input in the Org file:
\verb+str1\__str2+
This produces the following code in the .tex file:
\verb+str1\hspace{3ex}str2+
I expected the following code in the .tex file:
\verb+str1\__str2+
I have also tried the following in the Org file:
\begin{verbatim}
str1\__str2
\end{verbatim}
This produces the following code in .tex file:
\begin{verbatim}
str1\hspace{3ex}str2
\end{verbatim}
Including the following option in the Org file has no effect on the output:
#+OPTIONS: ^:{}