【发布时间】:2018-07-19 17:20:28
【问题描述】:
我正在用 R Markdown 写我的论文,并想更改 PDF 文档中脚注的格式。我该怎么做:
- 将字体大小调整为 10pt?
- 更改文本的对齐方式?
【问题讨论】:
标签: pdf r-markdown knitr footnotes
我正在用 R Markdown 写我的论文,并想更改 PDF 文档中脚注的格式。我该怎么做:
【问题讨论】:
标签: pdf r-markdown knitr footnotes
您可以包含 LaTeX 命令来覆盖模板中的文本大小。对于脚注,您可以使用 LaTeX commands 中的任何一个来过滤字体的大小,如果您想要更大的文本,请替换 \normalsize。
文字已用\justify命令完全对齐,该命令来自LaTeX包ragged2e
---
output:
pdf_document
header-includes:
- \usepackage{ragged2e}
- \renewcommand{\footnotesize}{\normalsize \justify}
---
This is some text^[This is a footnote which is fully justified. Some filler text, more filler text more filler text more filler text more filler text more filler text more filler text more filler text more filler text more filler text more filler text]
作为警告,如果你打算用 R Markdown 写论文,我会确保你熟悉 LaTeX!它将需要实现一些所需的自定义格式。
【讨论】: