Latex text formatting again - quotes in monotype

  • Context: LaTeX 
  • Thread starter Thread starter Borek
  • Start date Start date
  • Tags Tags
    Latex Text
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
Messages
29,210
Reaction score
4,635
This time I have a problem with monotype font and quotes.

When I switch to typewriter font using ``quotes'' stops to work*. Character sequences (`` and '') that in other parts of the text are understood as opening and closing quotes are not translated. Standard "quotes" are rendered mostly OK (and as these parts of the text are intended to look like an old, typed document from seventies, fact that they don't get changed is OK with me).

But that's where things get ugly, as some characters preceded by " are treated as a control sequences (perhaps that's not the correct name, but you should get what I mean). For example "A is rendered as Ą. What I am doing at the moment is I am using "\hphantom{}A to break the control sequence. It works, but I wonder if there is no better, more "latexish" method to do so.

*actually I am using ,,quotes'', as these are correct in Polish; I don't remember details but I did some research last year and that was the best option to get quotes rendered correctly in my book
 
Physics news on Phys.org
.The best option would be to switch fonts or to write the text in a different way. For example, you could use a typewriter-style font that doesn't interpret certain characters as control sequences. You could also try using the \texttt{} command to enclose text in typewriter font instead of using the typewriter font style.