1

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?

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

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}

enter image description here

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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