Quotation marks in LaTeX (enquote, csquotes)

Load the csquotes package and write \enquote{text}. It prints the quotation marks of the document language and switches to inner marks for a quote inside a quote. By hand, English quotation marks are typed as two backticks and two apostrophes.

Preamble

The snippets on this page need these lines before \begin{document}:

\usepackage{csquotes}

Quotation marks that follow the language

\enquote{...} sets the opening and closing marks around its argument. Nested inside another \enquote, it prints single marks. Without babel the marks are the English ones.

\enquote{A quotation with \enquote{a second one} inside.}
Result
The compiled example

Open in the editor

English quotation marks by hand

Two backticks open a double quotation mark and two apostrophes close it. One backtick and one apostrophe give single marks. LaTeX turns them into the curved characters.

``Double quotation marks'' and `single quotation marks'.
Result
The compiled example

Open in the editor

German quotation marks

With babel and the option ngerman, \enquote prints the German marks, low at the start and high at the end. By hand, \glqq opens and \grqq closes; babel also has a short form: a straight quote followed by a backtick opens, a straight quote followed by an apostrophe closes. Load fontenc with T1 so the font contains the low mark as a character.

Complete document:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\begin{document}
\enquote{Mit csquotes}, \glqq mit Befehlen\grqq{} und "`mit der Kurzform"'.
\end{document}
Result
The compiled example

Open in the editor

Guillemets

The package option german=guillemets makes \enquote print the angle marks that many German books use, pointing inwards. german=swiss prints them pointing outwards.

Complete document:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[german=guillemets]{csquotes}
\begin{document}
\enquote{Ein Zitat mit \enquote{einem zweiten} darin.}
\end{document}
Result
The compiled example

Open in the editor

Type the characters directly

The curved quotation marks can be typed or pasted as characters. The German low mark and the guillemets need fontenc with T1.

Complete document:

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
„Deutsche Anführungszeichen“, »Guillemets« and “English quotation marks”.
\end{document}
Result
The compiled example

Open in the editor

Pitfalls

Compiled with pdfLaTeX from TeX Live 2023.

Related pages