From 76a09c02198fcecda419a80428845a4c4c471880 Mon Sep 17 00:00:00 2001 From: nuluh Date: Tue, 3 Jun 2025 19:17:08 +0700 Subject: [PATCH] refactor(documentclass): update title handling by using input files for maketitle Closes #91 --- latex/main.tex | 4 ++-- latex/thesis.cls | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/latex/main.tex b/latex/main.tex index b4f2e8b..e0e3784 100644 --- a/latex/main.tex +++ b/latex/main.tex @@ -16,8 +16,8 @@ \input{preamble/macros} \begin{document} - -\maketitle +\input{frontmatter/maketitle} +\input{frontmatter/maketitle_secondary} \frontmatter % \input{frontmatter/approval}\clearpage % \input{frontmatter/originality}\clearpage diff --git a/latex/thesis.cls b/latex/thesis.cls index d1174d3..10e9199 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -109,9 +109,6 @@ % \titlespacing*{\chapter}{0pt}{-10pt}{20pt} -% Redefine \maketitle -\renewcommand{\maketitle}{\input{frontmatter/maketitle}} - % Chapter & Section format \renewcommand{\cftchapfont}{\normalsize\MakeUppercase} % \renewcommand{\cftsecfont}{}