我似乎无法从我的RMarkdown pdf文档中删除目录。我尝试了许多不同的方法,例如。
toc: no
更改为false
base_format: rticles::ieee_article
不同的getNamespaceExports("rticles")
武器。csl: elsevier-harvard.csl
似乎没有任何作用,每次编译目录时都会出现-我缺少什么?
降价:
---
title: some title
author:
- name: some name
email: some email
affiliation: some department
footnote: some footnote
- name: some name
email: some email
affiliation: some department
footnote: 2
footnote:
- code: 1
text: "Corresponding Author"
- code: 2
text: "Corresponding Author"
abstract: |
some abstract here
journal: "An awesome journal"
date: "`r Sys.Date()`"
bibliography: mybibfile.bib
#linenumbers: true
#numbersections: true
csl: elsevier-harvard.csl
output:
bookdown::pdf_document2:
base_format: rticles::ieee_article
number_sections: no
toc: no
tables: true
header-includes:
- \usepackage{floatrow}
- \floatplacement{figure}{H}
- \usepackage{booktabs}
- \usepackage{array}
---
尝试如下格式化YAML标头的输出部分:
output:
bookdown::pdf_document2:
number_sections: no
toc: no
tables: true
base_format: rticles::ieee_article
然后目录将消失。我希望将base_format参数考虑在内。请尝试报告。