From 63da3b6308d4658e383d76575fad37dc6fa484b0 Mon Sep 17 00:00:00 2001 From: nuluh Date: Mon, 12 May 2025 00:31:24 +0700 Subject: [PATCH] fix(latex): remove titlepage environment from frontmattersection macro to make the \frontmatter and \mainmatter pagination number type change properly Closes #57 --- latex/thesis.cls | 2 -- 1 file changed, 2 deletions(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index c9cf964..818ae9d 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -120,11 +120,9 @@ % Frontmatter Macro (Toggle TOC Inclusion) \newcommand{\frontmattersection}[3]{% - \begin{titlepage} \centering \ifstrequal{#1}{toc}{\thispagestyle{fancyplainfrontmatter}\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}% \input{frontmatter/#3} - \end{titlepage} \clearpage }