Compare commits

...

11 Commits

9 changed files with 30 additions and 33 deletions

View File

@@ -1,14 +0,0 @@
\chapter{TINJAUAN PUSTAKA DAN LANDASAN TEORI}
\section{Tinjauan Pustaka}
\begin{figure}[!ht]
\centering
\includegraphics[width=0.5\linewidth]{frontmatter/img/slice1.jpg}
\caption{Enter Caption}
\label{fig:enter-label}
\end{figure}
\section{Dasar Teori}
\subsection{Short-Time Fourier Transform}
\subsection{Machine Learning}
% \subsubsection{Dolor}

View File

@@ -0,0 +1,7 @@
\chapter{TINJAUAN PUSTAKA DAN LANDASAN TEORI}
\section{Tinjauan Pustaka}
\input{chapters/id/02_literature_review/abdeljaber2017.tex}
\section{Dasar Teori}
\input{chapters/id/theoritical_foundation/stft.tex}
\input{chapters/id/theoritical_foundation/machine_learning.tex}

View File

@@ -0,0 +1 @@
\subsection{Machine Learning}

View File

@@ -0,0 +1 @@
\subsection{Short-Time Fourier Transform}

View File

@@ -1,5 +1,6 @@
% frontmatter/endorsement.tex % frontmatter/endorsement.tex
\setmainfont{Times New Roman} \setmainfont{Times New Roman}
\addcontentsline{toc}{chapter}{LEMBAR PERSETUJUAN TUGAS AKHIR}
\begin{center} \begin{center}
\textbf{\Large LEMBAR PERSETUJUAN TUGAS AKHIR} \\[0.5em] \textbf{\Large LEMBAR PERSETUJUAN TUGAS AKHIR} \\[0.5em]

View File

@@ -2,6 +2,7 @@
\setmainfont{Times New Roman} \setmainfont{Times New Roman}
\chapter*{PERNYATAAN KEASLIAN} \chapter*{PERNYATAAN KEASLIAN}
\addcontentsline{toc}{chapter}{PERNYATAAN KEASLIAN}
% \begin{center} % \begin{center}
% {\normalsize\textit{ORIGINALITY STATEMENT}} % {\normalsize\textit{ORIGINALITY STATEMENT}}
% \end{center} % \end{center}

View File

@@ -19,9 +19,9 @@
\maketitle \maketitle
\frontmatter \frontmatter
\setcounter{page}{1} \input{frontmatter/approval}\clearpage
\theendorsementpage{toc} \input{frontmatter/originality}\clearpage
\originalitystatement{toc} \input{frontmatter/acknowledgement}\clearpage
\tableofcontents \tableofcontents
\clearpage \clearpage
\mainmatter \mainmatter

View File

@@ -9,6 +9,7 @@
\LoadClass[a4paper,12pt,oneside]{book} \LoadClass[a4paper,12pt,oneside]{book}
% Load common packages % Load common packages
\RequirePackage{polyglossia}
\RequirePackage{fontspec} \RequirePackage{fontspec}
\RequirePackage{titlesec} \RequirePackage{titlesec}
\RequirePackage{fancyhdr} \RequirePackage{fancyhdr}
@@ -20,6 +21,10 @@
\RequirePackage{tocloft} \RequirePackage{tocloft}
\RequirePackage{tocbibind} \RequirePackage{tocbibind}
% Polyglossia set language
\setmainlanguage{bahasai}
% \setotherlanguage{english}
% Conditionally load the watermark package and settings % Conditionally load the watermark package and settings
\if@draftmark \if@draftmark
\RequirePackage{draftwatermark} \RequirePackage{draftwatermark}
@@ -109,9 +114,13 @@
\setlength{\cftchapnumwidth}{3.5em} \setlength{\cftchapnumwidth}{3.5em}
\setlength{\cftsecnumwidth}{3.5em} \setlength{\cftsecnumwidth}{3.5em}
\setlength{\cftsubsecnumwidth}{2.5em} \setlength{\cftsubsecnumwidth}{2.5em}
\setlength{\cftfignumwidth}{5em}
\setlength{\cfttabnumwidth}{4em}
\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764 \renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}} \renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
\renewcommand{\cftchappagefont}{\normalfont} \renewcommand{\cftchappagefont}{\normalfont}
\renewcommand{\cftfigpresnum}{\figurename~}
\renewcommand{\cfttabpresnum}{\tablename~}
% Ensure TOC and References Respect Custom Numbering % Ensure TOC and References Respect Custom Numbering
\renewcommand{\thechapter}{\Roman{chapter}} \renewcommand{\thechapter}{\Roman{chapter}}
@@ -120,29 +129,20 @@
% Change figure numbering to include chapter (e.g., Figure 1.1, 1.2...) % Change figure numbering to include chapter (e.g., Figure 1.1, 1.2...)
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}} \renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}}
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}} \renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
\renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}}
% Table of Content (TOC) Title styling % Table of Content (TOC) Title styling
\renewcommand{\contentsname}{DAFTAR ISI}
\renewcommand{\cfttoctitlefont}{\hfill\bfseries\MakeUppercase} \renewcommand{\cfttoctitlefont}{\hfill\bfseries\MakeUppercase}
\renewcommand{\cftaftertoctitle}{\hfill} % https://tex.stackexchange.com/a/255699/394075 \renewcommand{\cftaftertoctitle}{\hfill} % https://tex.stackexchange.com/a/255699/394075
% List of Figures (LOF) Title styling
\renewcommand{\cftloftitlefont}{\hfill\bfseries\MakeUppercase}
\renewcommand{\cftafterloftitle}{\hfill}
% List of Tables (LOT) Title styling
\renewcommand{\cftlottitlefont}{\hfill\bfseries\MakeUppercase}
\renewcommand{\cftafterlottitle}{\hfill}
% \renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase} % \renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase}
% \renewcommand{\cftaftertoctitle}{\vskip 2em} % \renewcommand{\cftaftertoctitle}{\vskip 2em}
% Frontmatter Macro (Toggle TOC Inclusion)
\newcommand{\frontmattersection}[3]{%
% \begin{titlepage}
\ifstrequal{#1}{toc}{\thispagestyle{fancyplainfrontmatter}\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}%
\input{frontmatter/#3}
% \end{titlepage}
\clearpage
}
% Wrapper Command for Each Page
\newcommand{\theacknowledgementpage}[1]{\frontmattersection{#1}{LEMBAR PERNYATAAN}{acknowledgement}}
\newcommand{\theapprovalpage}[1]{\frontmattersection{#1}{LEMBAR PERSETUJUAN}{approval}}
\newcommand{\theendorsementpage}[1]{\frontmattersection{#1}{LEMBAR PENGESAHAN}{endorsement}}
\newcommand{\originalitystatement}[1]{\frontmattersection{#1}{PERNYATAAN KEASLIAN}{originality}}
% % Apply a custom fancyhdr layout only on the first page of each \chapter, and use no header/footer elsewhere % % Apply a custom fancyhdr layout only on the first page of each \chapter, and use no header/footer elsewhere
% % \let\oldchapter\chapter % % \let\oldchapter\chapter
% % \renewcommand{\chapter}{% % % \renewcommand{\chapter}{%