I'd like to do the text


with the quotation marks into a \texttt. However, when I do so, the first quotation mark is removed. I'm using the LNCS documentclass, I'm not sure if this has something to do with it. I also can't escape the first ", then it puts two dots above the c, which is wrong.

  • 3
    1. Please add a minimal working example (MWE). \documentclass{llncs} \begin{document} \texttt{"conservative"} \end{document} does it here. 2. \" is not escaping. Dec 9, 2012 at 22:59
  • For the record, the problem seems to have been fixed, at least with TeX Live 2016 and llncs.cls 2015/06/24 v2.20.
    – lhf
    Jan 10, 2017 at 9:38

3 Answers 3


this is a bit of a plain-tex hack, but it'll get you what you want.


you might want to make this into a command:


A bit simpler: \texttt{"{}conservative"{}}


I finally found an answer that works for me: Use the command \textquotedbl for double quotes in \texttt{} environments.

For your example, the result would be: \texttt{\textquotedbl conservative\textquotedbl}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .