代码之家  ›  专栏  ›  技术社区  ›  Giorgio Spedicato

更改r标记“目录”默认标题

  •  2
  • Giorgio Spedicato  · 技术社区  · 7 年前

    我正在用一种不同于英语的语言写我的硕士论文。论文应以.docx格式提交。读了这么多,我发现有可能提供一些潘多克的论据其中 toc-title 可以解决我的问题。不过,我还是做不到。我当前的YAML标题是:

    output:
      word_document:
        reference_docx: stile_tesi.docx
        toc: yes
        fig_caption: true
        #pandoc_args: [
        # "--toc-title", "INDICE"
        #]
    

    提前谢谢

    1 回复  |  直到 7 年前
        1
  •  5
  •   R Yoda    7 年前
    ---
    title: "Untitled"
    output: 
      word_document: 
        toc: yes
    toc-title: "INDICE"
    ---
    

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