# babel disable quotation mark translation

I am using the babel ngerman package and my inputenc is set to utf-8, so I only need the translation strings for things like the \tableofcontents. How can I disable the Umlaut translation like "overflow" -> överflow", without having to escape the quotation mark?

• \shorthandoff{"} – Ulrike Fischer Dec 29 '14 at 20:47
• You shouldn't be using " anyway. – egreg Dec 29 '14 at 20:49
• Welcome to TeX.SX! Use the csquotes package for such stuff – user31729 Dec 29 '14 at 20:51
• Or at least use overflow''. (But csquotes is better.) – cfr Dec 29 '14 at 20:52

This uses a command \afz{Overflow} which provides german style of "" - quotes.

(afz stands for "Anführungszeichen", the German word for this ;-))

\documentclass{article}

\usepackage[ngerman]{babel}

\usepackage[babel,style=german]{csquotes}

\newcommand{\afz}[1]{\enquote{#1}}%

\begin{document}

\tableofcontents

\section{\afz{Overflow}}

\end{document}


• okay, I will start using csquotes from now :) Thanks for your help! – Moritz Hoffmann Dec 29 '14 at 21:07
• @MoritzHoffmann: csquotes ist der einfachste Weg, um deutsche Anführungszeichen zu erhalten. – user31729 Dec 29 '14 at 21:08
• Why the additional command to wrap around enquote? – MaxNoe Dec 30 '14 at 0:04