diff --git a/mytoolkit/scaffolds/manual/main.tex b/mytoolkit/scaffolds/manual/main.tex index 989934e..7b6dfd6 100644 --- a/mytoolkit/scaffolds/manual/main.tex +++ b/mytoolkit/scaffolds/manual/main.tex @@ -16,6 +16,14 @@ \usepackage{enumitem} \usepackage{hyperref} +% ---- fonts (Cambria + SimSun/SimHei/KaiTi; falls back to ctex default set) ---- +\IfFontExistsTF{Cambria}{\setmainfont{Cambria}}{} +\IfFontExistsTF{SimSun}{% + \setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun}% + \setCJKsansfont[BoldFont={SimHei}]{SimHei}% +}{} +\IfFontExistsTF{Courier New}{\setmonofont{Courier New}}{\setmonofont{Menlo}} + % ---- palette (keep in sync with templates/md-to-pdf/manual/template.typ) ---- \definecolor{primary}{HTML}{1F4E79} \definecolor{secondary}{HTML}{2C3E50} diff --git a/mytoolkit/templates/md-to-docx/default/template.docx b/mytoolkit/templates/md-to-docx/default/template.docx index b6af6d4..08f70c3 100644 Binary files a/mytoolkit/templates/md-to-docx/default/template.docx and b/mytoolkit/templates/md-to-docx/default/template.docx differ diff --git a/mytoolkit/templates/md-to-docx/review/template.docx b/mytoolkit/templates/md-to-docx/review/template.docx index bf01fa5..e7841b5 100644 Binary files a/mytoolkit/templates/md-to-docx/review/template.docx and b/mytoolkit/templates/md-to-docx/review/template.docx differ