fix(latex): replace \input with \include and add [titles] options to tocloft package to automatically give \clearpage

This commit is contained in:
Rifqi D. Panuluh
2025-08-07 22:16:30 +00:00
parent 79da2e7bcc
commit da5192a315
2 changed files with 9 additions and 27 deletions

View File

@@ -22,41 +22,23 @@
\input{frontmatter/glossaries} \input{frontmatter/glossaries}
\input{frontmatter/notations} \input{frontmatter/notations}
% \makeatletter
% \hypersetup{
% keeppdfinfo,
% pdftitle={\thetitle},
% pdfauthor={\theauthor},
% % pdfdate={\thedate},
% pdfsubject={Bachelor Thesis},
% pdfkeywords={structural health monitoring, machine learning, stft, vibration, signal},
% pdfpublisher={Universitas Muhammadiyah Yogyakarta},
% pdfcontactemail={rifqi.damar.ft21mail.umy.ac.id},
% pdflicenseurl={https://github.com/nuluh/thesis/blob/main/LICENSE},
% pdflang={id},
% pdfcreator={XeLaTeX with hyperref and hyperxmp},
% pdfproducer={TeX Live 2024},
% pdftrapped=False,
% pdfpubtype=book
% }
% \makeatother
\begin{document} \begin{document}
\frontmatter \frontmatter
% \maketitle % \maketitle
\input{frontmatter/maketitle} \include{frontmatter/maketitle}
\input{frontmatter/maketitle_secondary} \include{frontmatter/maketitle_secondary}
\input{frontmatter/approval}\clearpage \include{frontmatter/approval}
\input{frontmatter/originality}\clearpage \include{frontmatter/originality}
\input{frontmatter/acknowledgement}\clearpage \include{frontmatter/acknowledgement}
\tableofcontents\clearpage \tableofcontents
\listoffigures\clearpage \listoffigures
\listoftables \listoftables
\glsaddall[types={main,notation,\acronymtype}] \glsaddall[types={main,notation,\acronymtype}]
\printglossary[type=notation,style=altlong3customheader,title=Daftar Simbol dan Lambang] \printglossary[type=notation,style=altlong3customheader,title=Daftar Simbol dan Lambang]
\printglossary[type=\acronymtype,style=supercol,title=Daftar Singkatan] \printglossary[type=\acronymtype,style=supercol,title=Daftar Singkatan]
\printglossary[type=main,style=mylistalt] \printglossary[type=main,style=mylistalt]
\input{frontmatter/abstract} \include{frontmatter/abstract}
% \pagestyle{fancyplain} % \pagestyle{fancyplain}
\mainmatter \mainmatter
% Include content % Include content

View File

@@ -24,7 +24,7 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage{svg} \RequirePackage{svg}
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{tocloft} \RequirePackage[titles]{tocloft}
\RequirePackage{tocbibind} \RequirePackage{tocbibind}
\RequirePackage{indentfirst} \RequirePackage{indentfirst}
\RequirePackage{float} \RequirePackage{float}