2026-06-14 09:57:53 +08:00
|
|
|
|
# ===== Pandoc =====
|
2026-05-26 16:54:54 +08:00
|
|
|
|
# 引用文献设置
|
|
|
|
|
|
csl: chinese-thesis.csl # 设置引用文献样式
|
|
|
|
|
|
link-citations: true # 正文中引用的文献需要交叉引用到文献列表
|
|
|
|
|
|
link-bibliography: false # 文献中的链接不要引出
|
|
|
|
|
|
|
2026-06-14 09:57:53 +08:00
|
|
|
|
# ===== pandoc-tex-numbering Filter =====
|
2026-05-26 16:54:54 +08:00
|
|
|
|
# 杂项设置
|
|
|
|
|
|
number-theorems: false
|
2026-06-14 09:57:53 +08:00
|
|
|
|
numbering-caption-delimiter: "\\ " # Do NOT delete \\. It is the escape for space.
|
2026-05-26 16:54:54 +08:00
|
|
|
|
prefix-space: true
|
|
|
|
|
|
section-max-levels: 3
|
|
|
|
|
|
number-reset-level: 0 # 编号不需要按章节重置,因此设置为0表示在最顶层的层级的父级才重置编号(即不重置编号)。
|
|
|
|
|
|
# 章节编号设置
|
|
|
|
|
|
number-sections: true
|
|
|
|
|
|
section-numstyle: "arabic"
|
|
|
|
|
|
section-src-format-1: "{num}"
|
|
|
|
|
|
section-src-format-2: "{num}"
|
|
|
|
|
|
section-src-format-3: "{num}"
|
|
|
|
|
|
# 公式编号设置
|
|
|
|
|
|
number-equations: true
|
|
|
|
|
|
equation-numstyle: "arabic"
|
|
|
|
|
|
equation-prefix: "公式"
|
|
|
|
|
|
equation-src-format: "\\qquad ({this_num})"
|
|
|
|
|
|
equation-cref-format: "{prefix}{this_num}"
|
|
|
|
|
|
equation-ref-format: "{this_num}"
|
|
|
|
|
|
# 图片编号设置
|
|
|
|
|
|
number-figures: true
|
|
|
|
|
|
figure-numstyle: "arabic"
|
|
|
|
|
|
figure-prefix: "图"
|
|
|
|
|
|
figure-src-format: "{prefix}{this_num}"
|
|
|
|
|
|
figure-cref-format: "{prefix}{this_num}"
|
|
|
|
|
|
figure-ref-format: "{this_num}"
|
|
|
|
|
|
# 表格编号设置
|
|
|
|
|
|
number-tables: true
|
|
|
|
|
|
table-prefix: "表"
|
|
|
|
|
|
table-numstyle: "arabic"
|
|
|
|
|
|
table-src-format: "{prefix}{this_num}"
|
|
|
|
|
|
table-cref-format: "{prefix}{this_num}"
|
|
|
|
|
|
table-ref-format: "{this_num}"
|