What I want:
I'd like to have German quotation marks in my TeX-PDF via rmarkdown and tinytex on MacOS (Catalina). See for example:
The problem:
It used to work following the guidelines as proposed here. But now, it stopped working. I only get English quotation marks, but not German ones:
What I tried, without success:
R-Code:
---
title: "German quotation marks"
output: pdf_document
---
"Das ist sehr schön", sagte sie.
The R Markdown package used to provide its own template, which used csquotes.sty
. Nowadays the default pandoc
template is used, which does not seem to use csquotes
. You can call for it manually, though:
---
title: "German quotation marks"
output:
pdf_document:
keep_tex: yes
lang: de-DE
header-includes:
- \usepackage{csquotes}
---
"Das ist sehr schön", sagte sie.
Result: