style(scaffolds/manual): align figure/table caption gap with Typst template

- Load caption package and set skip=0.65em to match Typst default
  figure/table gap.
- Use small caption font with bold label for manual style.
This commit is contained in:
Zhengshou Lai
2026-07-18 14:57:10 +08:00
parent a5c2cc32e1
commit 7ff58f4695
+4
View File
@@ -15,6 +15,7 @@
\usepackage{fancyhdr}
\usepackage{enumitem}
\usepackage{setspace}
\usepackage{caption}
\usepackage{hyperref}
% ---- fonts (Times New Roman + SimSun/SimHei/KaiTi; ctex default set as fallback) ----
@@ -33,6 +34,9 @@
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.6em}
% ---- captions (Typst figure/table gap default 0.65em) ----
\captionsetup{skip=0.65em, font=small, labelfont=bf, labelsep=colon}
% ---- palette (keep in sync with templates/md-to-pdf/manual/template.typ) ----
\definecolor{primary}{HTML}{1F4E79}
\definecolor{secondary}{HTML}{2C3E50}