# 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{"} Dec 29 '14 at 20:47
• You shouldn't be using " anyway. 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
• @UlrikeFischer's suggestion also fixes ! Argument of \language@active@arg has an extra }. errors for e.g. Dutch.
– Mew
Aug 20 '21 at 12:26

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! 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? Dec 30 '14 at 0:04