【问题标题】:changing rmarkdown "table of contents" default title更改 rmarkdown“目录”默认标题
【发布时间】:2019-03-29 08:42:39
【问题描述】:

我正在使用 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"
    #]

提前致谢

【问题讨论】:

    标签: r r-markdown docx tableofcontents


    【解决方案1】:
    ---
    title: "Untitled"
    output: 
      word_document: 
        toc: yes
    toc-title: "INDICE"
    ---
    

    重要提示:注意正确的缩进!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-05-18
      • 2014-05-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-30
      • 1970-01-01
      相关资源
      最近更新 更多