9

I want to write this

required text

But it becomes to this in the resulting PDF file

enter image description here

How can i prevent LaTex from converting the apostrophe combination to this weird character?

6
  • Add a space inbetween: " e.
    – Johannes_B
    Commented Mar 27, 2016 at 15:18
  • 16
    Never use " for quotes, but always double back quote and ''
    – egreg
    Commented Mar 27, 2016 at 15:19
  • @Johannes_B Didn't help, the result is the same as before Commented Mar 27, 2016 at 15:19
  • 4
    Even better would be the use of package csquotes: \enquote{MARA}.
    – Johannes_B
    Commented Mar 27, 2016 at 15:21
  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Commented Mar 27, 2016 at 22:01

1 Answer 1

19

Never use " for quotes. In particular, if you use babel-german, where " is a shorthand character.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}

\begin{document}

``DAMN'' ebenfalls

,,Damn`` ebenfalls

"`Damn"' ebenfalls

"<Damn"> ebenfalls

\end{document}

enter image description here

You must log in to answer this question.

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