TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I write a German text in case that matters and use these packages:

\documentclass[12pt,a4paper]{article}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel} 
\usepackage{cite}

... starting a document

\section{Einleitung}
Idee des "guten Willens" an

... there comes more text

When I compile this, the output reads Idee des "guten Willensän instead of Idee des "guten Willens" an

I heard LaTeX changes "a to ä automatically, so this could be the reason of my error. How can I turn this feature off in case it is the problem?

share|improve this question
2  
This doesn't answer the question, but in general, you should use single quotes (grave `` and normal ' ' ) to denote quoted material. – Steven B. Segletes Feb 23 at 12:53
    
Welcome to LaTeX! Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Quotation marks in LaTeX should be indicated by `` and '' and not ". – JP-Ellis Feb 23 at 12:56
2  
@StevenB.Segletes: Your quotes are for english, not german. – Ulrike Fischer Feb 23 at 13:01
    
@UlrikeFischer I learn something new each day. Thanks! – Steven B. Segletes Feb 23 at 13:02
    
The space after an active duoble quote (") is ignored. This is a feature, not a bug. – jknappen Feb 23 at 13:04
up vote 12 down vote accepted

Here some variants to insert (german) quotes: I prefer the variants which make use of csquotes. Also don't load ucs or use utf8x unless you really need it.

\documentclass[]{scrbook}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{csquotes}
\MakeAutoQuote{«}{»}  % or \MakeAutoQuote {„}{“}  

\begin{document}
% ngerman shorthands:
"`Text mit \glq einem inneren Zitat\grq\ und weiter"'

%ngerman commands:
\glqq Text mit \glq einem inneren Zitat\grq\ und weiter\grqq\ und weiter

%direct utf8-input
„Text“

%with csquotes:

%1. \enquote (inner quotes uses automatically single quote signs):
\enquote{Text mit \enquote{einem innerem Zitat} und weiter} und weiter

%2. with the \MakeAutoQuote set above:
«Text mit «einem innerem Zitat» und weiter» und weiter

\end{document}

enter image description here

share|improve this answer
    
Thank you! For a beginner like me this is really helpful – Jonas Feb 23 at 13:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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