Gio*_*ato 3 r docx tableofcontents r-markdown
我正在使用 RMarkdown 以不同于英语的语言撰写我的硕士论文。论文应以 .docx 格式呈现。阅读 SO,我发现可以提供一些 pandoc 参数,其中toc-title可以解决我的问题。尽管如此,我还是没能做到。我当前的 YAML 标头是:
output:
word_document:
reference_docx: stile_tesi.docx
toc: yes
fig_caption: true
#pandoc_args: [
# "--toc-title", "INDICE"
#]
Run Code Online (Sandbox Code Playgroud)
提前致谢
---
title: "Untitled"
output:
word_document:
toc: yes
toc-title: "INDICE"
---
Run Code Online (Sandbox Code Playgroud)
重要提示:注意正确的缩进!