Add Initial LaTeX Template #66

Merged
nuluh merged 48 commits from latex/initial-template into main 2025-05-14 11:41:52 +00:00
3 changed files with 13 additions and 0 deletions
Showing only changes of commit d13dfdc34e - Show all commits

View File

View File

View File

@@ -90,6 +90,19 @@
\setcounter{page}{1} % Start chapter 1 at page 1
}
% Frontmatter Macro (Toggle TOC Inclusion)
\newcommand{\frontmattersection}[3]{%
\begin{titlepage}
\centering
\ifstrequal{#1}{toc}{\section*{#2}\addcontentsline{toc}{section}{#2}}{\section*{#2}}%
\input{frontmatter/#3}
\end{titlepage}
\clearpage
}
% Wrapper Command for Each Page
\newcommand{\endorsementpage}[1]{\frontmattersection{#1}{Pengesahan}{endorsement}}
\newcommand{\originalitystatement}[1]{\frontmattersection{#1}{Pernyataan Keaslian}{originality}}
\endinput