Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to do the text

"conservative"

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.

share|improve this question
3  
1. Please add a minimal working example (MWE). \documentclass{llncs} \begin{document} \texttt{"conservative"} \end{document} does it here. 2. \" is not escaping. –  Qrrbrbirlbel Dec 9 '12 at 22:59
add comment

1 Answer

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

\texttt{\char`\"}

you might want to make this into a command:

\newcommand{\ditto}{\texttt{\char`\"}}
share|improve this answer
    
Never mind the hack, this is nice. Thanks. –  LLNCS Dec 9 '12 at 23:29
    
@LLNCS You probably can avoid hacks; why didn't you provide a MWE? –  egreg Dec 10 '12 at 13:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.