四开:无法删除 TOC、LOF 和 LOT 标题

Alb*_*nda 6 latex r r-markdown quarto

这个 Github 存储库在 Rmarkdown 中托管我的论文模板,我正在尝试将其更新为四开本。但是,我无法摆脱 qmd 版本中的 TOC、LOT 和 LOF 标题。

我试过了

\addto\captionsportuguese{% since I'm setting Babel to Brazil
  \renewcommand{\contentsname}%
    {Whatever}%
}
Run Code Online (Sandbox Code Playgroud)

\renewcommand{\contentsname}{Whatever}
Run Code Online (Sandbox Code Playgroud)

当然,toc-title: ''在 yaml 中设置没有成功。它仍然打印“目录”。

sha*_*fee 4

要删除toc-title,只需在您的文件中添加以下内容preamble.tex即可删除标题。

序言.tex

\deftocheading{toc}{}%
Run Code Online (Sandbox Code Playgroud)

要在as下的 quarto yaml 标头中删除lot-title并定义这些内容。lof-titlecrossref""

专着.qmd

title: ""
format:
    pdf:
        include-in-header: config/preamble.tex
csl: config/abnt.csl
bibliography: config/bib.bib
fontsize: 12pt
geometry: margin=1in
spacing: onehalfspacing
crossref: 
  lot-title: ""
  lof-title: ""
Run Code Online (Sandbox Code Playgroud)

我不确定为什么设置toc-titleas""在这种情况下不起作用,但 using\deftocheading{toc}{}肯定有效。