+5 votes
75 views
in Office by (242k points)
reopened
LaTeX: insert quotation marks - this is how it works

1 Answer

+3 votes
by (1.6m points)
 
Best answer

How to insert quotation marks with package option
How to insert quotation marks with commands
How to insert English and French quotation marks

Would you like to insert quotation marks in LaTeX? Then read our tips + tricks article on this..

image image

If you are new to the LaTeX world, inserting quotation marks is often a problem at the beginning. If you do not import an additional package at the beginning of the LaTeX document, American quotation marks are automatically inserted. In the following instructions we will show you how you can use the German style for quotation marks. We'll also show you how to use English and French quotation marks.

How to insert quotation marks with package option

You can get German quotation marks in the simplest variant by using the babel package with the package option german or ngerman . The commands for the German quotation marks are integrated here and can be obtained by entering "` for the lower quotation mark and "' for the upper one .

A minimal example of this looks like this:

\documentclass[11pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]

\begin{document}
"`tipps+tricks"' in Anführungszeichen.
\end{document}

How to insert quotation marks with commands

You can of course also enter the German quotation marks with commands or if the above option does not work properly:

code output
\ glqq "
\ grqq "
\ glqq tips + tricks \ grqq {} example “Tips + tricks” example
\ glq
\ grq '
Code Ausgabe
\glqq
\grqq
\glqq tipps+tricks \grqq{} Beispiel „tipps+tricks“ Beispiel
\glq
\grq

How to insert English and French quotation marks

You can get English quotation marks as follows:

  • In LaTeX you insert the introductory quotation mark with two accents: ``
  • Add the final quotation mark with two apostrophes: ''

The following code: is then converted to: "tips" + "tricks!".

``tipps'' + ``tricks!''

Also French and half French quotation marks can be inserted. To do this, simply use the codes from the following table:

code output
\ frqq »
\ flqq «
\ frq
\ flq
Code Ausgabe
\frqq »
\flqq «
\frq
\flq

...