add newpagesubsection option in SM

This commit is contained in:
Ming Su 2025-08-14 11:33:52 +08:00
parent 2fa5940ba7
commit d0020c576e
1 changed files with 2 additions and 0 deletions

View File

@ -16,8 +16,10 @@ $-- This supports Quarto's authors normalization
$if(isSM)$
\let\oldsection\section
\renewcommand{\section}{\clearpage\oldsection}
$(newpagesubsection)$
\let\oldsubsection\subsection
\renewcommand{\subsection}{\clearpage\oldsubsection}
$endif$
\renewcommand{\thetable}{S\arabic{table}}
\renewcommand{\thefigure}{S\arabic{figure}}
\renewcommand{\theequation}{S\arabic{equation}}