fix(latex): assign fancyhdr preset page style to frontmatter section macro

This commit is contained in:
nuluh
2025-05-11 12:52:52 +07:00
parent 43a0f40182
commit 702760cc5e

View File

@@ -107,7 +107,7 @@
\newcommand{\frontmattersection}[3]{%
\begin{titlepage}
\centering
\ifstrequal{#1}{toc}{\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}%
\ifstrequal{#1}{toc}{\thispagestyle{fancyplainfrontmatter}\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}%
\input{frontmatter/#3}
\end{titlepage}
\clearpage