在YAML metablock中是否可以指定PDF的页眉和/或页脚?可以设置出现在每一页上的内容。这是在rmarkdown中,然后将被渲染为PDF(使用pandoc和knitr)。我没有找到任何东西(header: 和 footer: 都不起作用!)
---
title: testpdf | test
footer: "test footer"
theme: "zenburn"
date: "`r Sys.Date()`"
output: "pdf_document"
fig_width: 12
fig_height: 6
fig_caption: true
---