我似乎不能从我的RMarkdown pdf文档中删除目录。我尝试过许多不同的东西,例如。
false
toc: no转换为与getNamespaceExports("rticles").
csl: elsevier-harvard.csl
不同的base_format: rticles::ieee_article工件
似乎什么都没有用,每次我编辑目录时都会出现--我缺少了什么?
减价:
---
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}
---发布于 2020-06-04 07:21:37
尝试将YAML标题的输出部分格式化如下:
output:
bookdown::pdf_document2:
number_sections: no
toc: no
tables: true
base_format: rticles::ieee_article那么TOC就应该消失。我希望base_format的论点能得到考虑。请试着报告。
https://stackoverflow.com/questions/62181315
复制相似问题