update caption style

This commit is contained in:
2026-05-09 12:45:16 +08:00
parent 6e9b07a64b
commit e5279034a0
2 changed files with 9 additions and 12 deletions

View File

@@ -69,10 +69,13 @@
\titleformat{\subsection}{\zihao{4}\heiti}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\zihao{-4}\heiti}{\thesubsubsection}{1em}{}
% 1-1
% 1
% https://www.latexstudio.net/archives/51638.html
\captionsetup[figure]{labelformat=simple, labelsep=space}
\renewcommand{\thefigure}{\arabic{section}-\arabic{figure}}
\DeclareCaptionFormat{austcaption}{\heiti{}\zihao{5}#1#2#3\par}
\captionsetup[figure]{format=austcaption, labelsep=space}
\captionsetup[table]{format=austcaption, labelsep=space}
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}
% region:
\newenvironment{austabstract}[1]