Compare commits
14 Commits
56-bug-end
...
latex/fix-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92a7143d90 | ||
|
|
5e08d4f8c6 | ||
|
|
907f725fa7 | ||
|
|
676b2b1a87 | ||
|
|
e0fbc23257 | ||
|
|
39f966e71b | ||
|
|
740680d1c7 | ||
|
|
2db5170366 | ||
|
|
f83b890055 | ||
|
|
7820dd580a | ||
|
|
6c0fb67b86 | ||
|
|
792ed64027 | ||
|
|
c57a916a1a | ||
|
|
ca668ffc5f |
@@ -0,0 +1,64 @@
|
||||
% frontmatter/endorsement.tex
|
||||
\setmainfont{Times New Roman}
|
||||
|
||||
\begin{center}
|
||||
\textbf{\Large LEMBAR PENGESAHAN TUGAS AKHIR} \\[0.5em]
|
||||
\textit{APPROVAL SHEET}
|
||||
\end{center}
|
||||
|
||||
\vspace{1em}
|
||||
|
||||
\renewcommand{\arraystretch}{1.2}
|
||||
\begin{tabular}{llp{10cm}}
|
||||
\textbf{Judul} & : & \thesistitle \\
|
||||
\textit{Title} & & \\
|
||||
|
||||
\textbf{Mahasiswa} & : & \studentname \\
|
||||
\textit{Student} & & \\
|
||||
|
||||
\textbf{Nomor Mahasiswa} & : &\studentid \\
|
||||
\textit{Student ID.} & & \\
|
||||
|
||||
\textbf{Dosen Pembimbing} & : & 1. \firstadvisor \\
|
||||
\textit{Advisors} & & 2. \secondadvisor
|
||||
\end{tabular}
|
||||
|
||||
\vspace{1em}
|
||||
\textbf{Telah disetujui oleh Tim Penguji:} \\
|
||||
\textit{Approved by the Committee on Oral Examination}
|
||||
|
||||
\vspace{1em}
|
||||
\begin{tabular}{lp{5cm}}
|
||||
\textbf{\firstadvisor} &:
|
||||
% \vspace{2cm} % signature space
|
||||
% \\[1em] % pull up next row
|
||||
\\
|
||||
\textit{Ketua Tim Penguji} &
|
||||
\noindent\makebox[5cm]{\hrulefill}\\[-0.5em]
|
||||
\textit{\small Chair} & \small Yogyakarta, \dotfill 2020
|
||||
\\
|
||||
\textbf{\secondadvisor} &:
|
||||
% \vspace{2cm} % signature space
|
||||
% \\[1em] % pull up next row
|
||||
\\
|
||||
\textit{Ketua Tim Penguji} &
|
||||
\noindent\makebox[5cm]{\hrulefill}\\[-0.5em]
|
||||
\textit{\small Chair} & \small Yogyakarta, \dotfill 2020 \\
|
||||
\end{tabular}
|
||||
|
||||
\vspace{1em}
|
||||
\noindent
|
||||
\textbf{Diterima dan disetujui sebagai persyaratan untuk memperoleh gelar Sarjana Teknik} \\
|
||||
\textit{Accepted in partial fulfillment of the requirements for the degree of Bachelor of Engineering}
|
||||
|
||||
\vspace{2em}
|
||||
\begin{center}
|
||||
\textbf{Ketua Program Studi} \\
|
||||
\textit{Head of Department}
|
||||
\end{center}
|
||||
|
||||
\vspace{3em}
|
||||
\begin{center}
|
||||
\textbf{\headdepartement} \\
|
||||
NIK. \headdepartementid
|
||||
\end{center}
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
\theendorsementpage{toc}
|
||||
\originalitystatement{toc}
|
||||
\tableofcontents
|
||||
\clearpage
|
||||
|
||||
|
||||
11
latex/metadata.tex
Normal file
11
latex/metadata.tex
Normal file
@@ -0,0 +1,11 @@
|
||||
\newcommand{\studentname}{Rifqi Damar Panuluh}
|
||||
\newcommand{\studentid}{20210110224}
|
||||
\newcommand{\thesistitle}{Prediksi Lokasi Kerusakan dengan Machine Learning}
|
||||
\newcommand{\firstadvisor}{Ir. Muhammad Ibnu Syamsi, Ph.D.}
|
||||
\newcommand{\secondadvisor}{}
|
||||
\newcommand{\headdepartement}{Puji Harsanto, S.T. M.T., Ph.D.}
|
||||
\newcommand{\headdepartementid}{19740607201404123064}
|
||||
\newcommand{\faculty}{Fakultas Teknik}
|
||||
\newcommand{\program}{Teknik Sipil}
|
||||
\newcommand{\university}{Universitas Muhammadiyah Yogyakarta}
|
||||
\newcommand{\yearofsubmission}{2025}
|
||||
@@ -13,6 +13,7 @@
|
||||
\RequirePackage{hyperref}
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{tocloft}
|
||||
\RequirePackage{tocbibind}
|
||||
|
||||
% Page layout
|
||||
\geometry{margin=1in}
|
||||
@@ -27,13 +28,7 @@
|
||||
\setmonofont{Courier New}
|
||||
|
||||
% Metadata commands
|
||||
\newcommand{\studentname}{}
|
||||
\newcommand{\studentid}{}
|
||||
\newcommand{\thesistitle}{}
|
||||
\newcommand{\faculty}{}
|
||||
\newcommand{\program}{}
|
||||
\newcommand{\university}{}
|
||||
\newcommand{\yearofsubmission}{}
|
||||
\input{metadata} % Load metadata from external file
|
||||
|
||||
\newcommand{\setthesisinfo}[7]{%
|
||||
\renewcommand{\thesistitle}{#1}%
|
||||
@@ -53,48 +48,56 @@
|
||||
\fancyfoot[C]{\thepage}
|
||||
|
||||
% Chapter formatting
|
||||
\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter.}{1em}{}
|
||||
\titlespacing*{\chapter}{0pt}{-10pt}{20pt}
|
||||
\titleformat{\chapter}[display]
|
||||
{\bfseries\Large\centering}
|
||||
{BAB~\Roman{chapter}} % << display format
|
||||
{1ex}
|
||||
{\MakeUppercase}
|
||||
|
||||
% Ensure chapter reference in TOC matches
|
||||
\renewcommand{\cftchappresnum}{BAB~}
|
||||
\renewcommand{\cftchapaftersnum}{\quad}
|
||||
|
||||
% \titlespacing*{\chapter}{0pt}{-10pt}{20pt}
|
||||
|
||||
% Redefine \maketitle
|
||||
\renewcommand{\maketitle}{\input{frontmatter/maketitle}}
|
||||
|
||||
% Chapter & Section format
|
||||
\renewcommand{\cftchapfont}{\bfseries\MakeUppercase}
|
||||
\renewcommand{\cftsecfont}{}
|
||||
\renewcommand{\cftsubsecfont}{\itshape}
|
||||
% \renewcommand{\cftsecfont}{}
|
||||
% \renewcommand{\cftsubsecfont}{\itshape}
|
||||
% \renewcommand{\thesection}{\textup{\Roman{chapter}}.\arabic{section}}
|
||||
|
||||
|
||||
% Dot leaders, spacing, indentation
|
||||
\setlength{\cftbeforechapskip}{1em}
|
||||
\setlength{\cftbeforechapskip}{0em}
|
||||
\setlength{\cftchapindent}{0pt}
|
||||
\setlength{\cftsecindent}{1.5em}
|
||||
\setlength{\cftsecindent}{0em}
|
||||
\setlength{\cftsubsecindent}{3em}
|
||||
\setlength{\cftchapnumwidth}{3em}
|
||||
\setlength{\cftsecnumwidth}{3.5em}
|
||||
\setlength{\cftsubsecnumwidth}{4.5em}
|
||||
\setlength{\cftchapnumwidth}{4em}
|
||||
\setlength{\cftsecnumwidth}{2.5em}
|
||||
\setlength{\cftsubsecnumwidth}{2.5em}
|
||||
\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764
|
||||
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
|
||||
\renewcommand{\cftchappagefont}{\normalfont}
|
||||
|
||||
% Title styling
|
||||
\renewcommand{\contentsname}{\hfill\bfseries\normalsize DAFTAR ISI\hfill}
|
||||
% Ensure TOC and References Respect Custom Numbering
|
||||
\renewcommand{\thechapter}{\Roman{chapter}}
|
||||
\renewcommand\thesection{\arabic{chapter}.\arabic{section}}
|
||||
|
||||
|
||||
% Table of Contents (TOC) Title styling
|
||||
\renewcommand{\contentsname}{DAFTAR ISI}
|
||||
\renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase}
|
||||
\renewcommand{\cftaftertoctitle}{\hfill\hfill} % https://tex.stackexchange.com/a/255699/394075
|
||||
% \renewcommand{\cftaftertoctitle}{\vskip 2em}
|
||||
|
||||
\renewcommand{\tableofcontents}{
|
||||
\clearpage
|
||||
\pagestyle{plain} % Roman page number, centered bottom
|
||||
\pagenumbering{roman}
|
||||
\setcounter{page}{viii} % Optional: sync with expected numbering
|
||||
\addcontentsline{toc}{chapter}{DAFTAR ISI}
|
||||
\oldtableofcontents
|
||||
\clearpage
|
||||
\pagenumbering{arabic}
|
||||
\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}}%
|
||||
\ifstrequal{#1}{toc}{\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}%
|
||||
\input{frontmatter/#3}
|
||||
\end{titlepage}
|
||||
\clearpage
|
||||
|
||||
Reference in New Issue
Block a user