在呈现为 PDF 时,我有哪些选项可以更改动态生成的输出的字体大小?我的文档目前看起来像这样:
---
title: "Foo"
author: "Bar"
date: "`r format(Sys.time(), '%B %e, %Y')`"
output:
pdf_document: default
html_document:
df_print: paged
header-includes: \usepackage{amsmath} \usepackage{color}
---
# Introduction
```{bash echo=FALSE}
perl -le 'print for 1..50'
```
我想减小字体大小以帮助更多输出适合 PDF 的单个页面。我目前还没有输出到 HTML,所以跨格式的解决方案会很酷,但不是真的必要。