y_duck 下面是我的yaml,我想输出的word文件中的图表题注中的“Figure”字样改为中文“图”。yaml应该怎么改呢? title: "word模板" author: "yongchuang" date: '2023-01-17' output: bookdown::word_document2 editor_options: chunk_output_type: inline
tctcab 需要新建一个_bookdown.yaml 然后设置 language: label: fig: '图 ' tab: '表 ' eq: 'Equation ' thm: 'Theorem ' lem: 'Lemma ' cor: 'Corollary ' prp: 'Proposition ' cnj: 'Conjecture ' def: 'Definition ' exm: 'Example ' exr: 'Exercise ' hyp: 'Hypothesis ' proof: 'Proof. ' remark: 'Remark. ' solution: 'Solution. ' ui: edit: Edit chapter_name: '' appendix_name: '' 具体可参考bookdown文档 4.5节 https://bookdown.org/yihui/bookdown/internationalization.html