fix(latex): remove titlepage environment from frontmattersection macro to make the \frontmatter and \mainmatter pagination number type change properly
Closes #57
This commit is contained in:
@@ -120,11 +120,9 @@
|
|||||||
|
|
||||||
% Frontmatter Macro (Toggle TOC Inclusion)
|
% Frontmatter Macro (Toggle TOC Inclusion)
|
||||||
\newcommand{\frontmattersection}[3]{%
|
\newcommand{\frontmattersection}[3]{%
|
||||||
\begin{titlepage}
|
|
||||||
\centering
|
\centering
|
||||||
\ifstrequal{#1}{toc}{\thispagestyle{fancyplainfrontmatter}\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}%
|
\ifstrequal{#1}{toc}{\thispagestyle{fancyplainfrontmatter}\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}%
|
||||||
\input{frontmatter/#3}
|
\input{frontmatter/#3}
|
||||||
\end{titlepage}
|
|
||||||
\clearpage
|
\clearpage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user