r-markdown:pdf_documents 的德语引号 [英] r-markdown: German quotation marks for pdf_documents
本文介绍了r-markdown:pdf_documents 的德语引号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道如何使用lang: de"选项(
而以下是需要的:
解决方案
按照
I coudln't find out how to use the "lang: de" option (link) properly. That is, while tables are correctly named "Tabelle", the following settings:
---
title: "German quotation marks"
author: "will"
date: "24 Jänner 2018"
output: pdf_document
---
"Das ist sehr schön", sagte sie.
Produce this output:
whereas the following is needed:
解决方案
Following Tobi we can define language and use latex package csquotes
.
---
title: "German quotation marks"
author: "will"
date: "24 Jänner 2018"
output: pdf_document
lang: de
header-includes:
- usepackage{csquotes}
---
"Das ist sehr schön", sagte sie.
Yields:
这篇关于r-markdown:pdf_documents 的德语引号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文