首页 > 解决方案 > 使用 rmarkdown 在 PDF 输出中的参考书目位置

问题描述

我正在使用 RMarkdown 创建包含参考书目的 PDF 报告。我将此部分放在脚本的末尾,# References但有时,随着文档变得更加拥挤,这部分会随机放置在 PDF 文档的中间。

有没有办法在最后几页修复它?

我典型的 YAML 标头是:

---
title: ""
author: ""
output:
  pdf_document:
    toc: yes
  rmarkdown::html_document:
    number_sections: yes
    toc: yes  
  bookdown::pdf_document2: default
  always_allow_html: true
  html_document:
    toc: yes
    df_print: paged
  word_document:
    toc: yes
bibliography: _outliers.bib
link-citations: yes
zotero:
  library: <_outliers>
  scannable-cite: false
  client: <zotero>
  author-in-text: false 
csl: science.csl

标签: r-markdownknitrbibtex

解决方案


推荐阅读