Tag Info

New answers tagged


You could use the 'ASCII' circumflex provided by textcomp: \documentclass{article} \usepackage{amsfonts,textcomp} \usepackage{hyperref} \begin{document} \section{\texorpdfstring{Section $\mathbb{R}^k$}{Section R\textasciicircum k}} Blah blah \end{document}


A simple one-line solution which worked for me was: X \underset{k_2}{\stackrel{k_1}{\rightleftharpoons}} Y But the harpoon arrows don't extend when the text above and below is longer.


A token like \_ in the file name is not allowed, whereas _ is. You can do \newcommand{\namedinclude}[2]{% \subsection{\texttt{#1}}% #2\par \begingroup\def\_{_}% \lstinputlisting{#1}% \endgroup } or \newcommand{\namedinclude}[2]{% \subsection{\texttt{\detokenize{#1}}}% #2\par \lstinputlisting{#1}% } but, in this case, you do ...

Top 50 recent answers are included