r-markdown:pdf_documents的德语引号 [英] r-markdown: German quotation marks for pdf_documents

查看:75
本文介绍了r-markdown:pdf_documents的德语引号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何使用"lang:de"选项(链接).即,将表正确命名为"Tabelle"时,应进行以下设置:

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. 

产生此输出:

需要以下内容:

推荐答案

Tobi 之后,我们可以定义语言并使用乳胶包装csquotes.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆