Compare commits
18 Commits
latex/54-d
...
latex/fix-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92a7143d90 | ||
|
|
5e08d4f8c6 | ||
|
|
907f725fa7 | ||
|
|
676b2b1a87 | ||
|
|
e0fbc23257 | ||
|
|
39f966e71b | ||
|
|
740680d1c7 | ||
|
|
2db5170366 | ||
|
|
f83b890055 | ||
|
|
7820dd580a | ||
|
|
6c0fb67b86 | ||
|
|
792ed64027 | ||
|
|
c57a916a1a | ||
|
|
ca668ffc5f | ||
|
|
8d09adefd4 | ||
|
|
05926e3857 | ||
|
|
d13dfdc34e | ||
|
|
6b866b9ed5 |
64
latex/frontmatter/endorsement.tex
Normal file
64
latex/frontmatter/endorsement.tex
Normal file
@@ -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}
|
||||
BIN
latex/frontmatter/img/logo.png
Normal file
BIN
latex/frontmatter/img/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 253 KiB |
31
latex/frontmatter/maketitle.tex
Normal file
31
latex/frontmatter/maketitle.tex
Normal file
@@ -0,0 +1,31 @@
|
||||
\begin{titlepage}
|
||||
\centering
|
||||
\vspace*{1cm}
|
||||
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thesistitle}}\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
\includegraphics[width=5cm]{frontmatter/img/logo.png}
|
||||
\vspace{1.5cm}
|
||||
|
||||
|
||||
\textbf{Disusun oleh:} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentname}} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
|
||||
|
||||
|
||||
\vfill
|
||||
|
||||
{\fontsize{12pt}{14pt}\selectfont
|
||||
\textbf{\program} \\
|
||||
\textbf{\faculty} \\
|
||||
\textbf{\university} \\
|
||||
\textbf{\yearofsubmission}
|
||||
}
|
||||
|
||||
\end{titlepage}%
|
||||
|
||||
|
||||
0
latex/frontmatter/originality.tex
Normal file
0
latex/frontmatter/originality.tex
Normal file
@@ -0,0 +1,37 @@
|
||||
\documentclass{thesis}
|
||||
|
||||
% Title Information
|
||||
\setthesisinfo
|
||||
{Prediksi Lokasi Kerusakan dengan Machine Learning}
|
||||
{Rifqi Damar Panuluh}
|
||||
{20210110224}
|
||||
{PROGRAM STUDI TEKNIK SIPIL}
|
||||
{FAKULTAS TEKNIK}
|
||||
{UNIVERSITAS MUHAMMADIYAH YOGYAKARTA}
|
||||
{2025}
|
||||
|
||||
% Input preamble
|
||||
\input{preamble/packages}
|
||||
% \input{preamble/fonts}
|
||||
\input{preamble/macros}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
\theendorsementpage{toc}
|
||||
\originalitystatement{toc}
|
||||
\tableofcontents
|
||||
\clearpage
|
||||
|
||||
% Include content
|
||||
\include{content/abstract}
|
||||
\include{content/introduction}
|
||||
\include{chapters/01_introduction}
|
||||
\include{content/chapter2}
|
||||
\include{content/conclusion}
|
||||
|
||||
% Bibliography
|
||||
% \bibliographystyle{IEEEtran}
|
||||
% \bibliography{references}
|
||||
|
||||
\end{document}
|
||||
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}
|
||||
5
latex/preamble/macros.tex
Normal file
5
latex/preamble/macros.tex
Normal file
@@ -0,0 +1,5 @@
|
||||
\newcommand{\eg}{\textit{e.g.},\ }
|
||||
\newcommand{\ie}{\textit{i.e.},\ }
|
||||
\newcommand{\etal}{\textit{et al.}}
|
||||
|
||||
\let\oldtableofcontents\tableofcontents % backup
|
||||
3
latex/preamble/packages.tex
Normal file
3
latex/preamble/packages.tex
Normal file
@@ -0,0 +1,3 @@
|
||||
\usepackage{amsmath, amssymb, siunitx}
|
||||
\usepackage{caption}
|
||||
\usepackage{subcaption}
|
||||
111
latex/thesis.cls
Normal file
111
latex/thesis.cls
Normal file
@@ -0,0 +1,111 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{thesis}[2025/05/10 Bachelor Thesis Class]
|
||||
|
||||
\LoadClass[a4paper,12pt]{report}
|
||||
|
||||
% Load common packages
|
||||
\RequirePackage{fontspec}
|
||||
\RequirePackage{titlesec}
|
||||
\RequirePackage{fancyhdr}
|
||||
\RequirePackage{geometry}
|
||||
\RequirePackage{setspace}
|
||||
\RequirePackage{graphicx}
|
||||
\RequirePackage{hyperref}
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{tocloft}
|
||||
\RequirePackage{tocbibind}
|
||||
|
||||
% Page layout
|
||||
\geometry{margin=1in}
|
||||
\setlength{\parskip}{0.5em}
|
||||
\setlength{\parindent}{0pt}
|
||||
\onehalfspacing
|
||||
|
||||
% Fonts
|
||||
\defaultfontfeatures{Ligatures=TeX}
|
||||
\setmainfont{Times New Roman}
|
||||
\setsansfont{Arial}
|
||||
\setmonofont{Courier New}
|
||||
|
||||
% Metadata commands
|
||||
\input{metadata} % Load metadata from external file
|
||||
|
||||
\newcommand{\setthesisinfo}[7]{%
|
||||
\renewcommand{\thesistitle}{#1}%
|
||||
\renewcommand{\studentname}{#2}%
|
||||
\renewcommand{\studentid}{#3}%
|
||||
\renewcommand{\program}{#4}%
|
||||
\renewcommand{\faculty}{#5}%
|
||||
\renewcommand{\university}{#6}%
|
||||
\renewcommand{\yearofsubmission}{#7}%
|
||||
}
|
||||
|
||||
% Header and footer
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
\fancyhead[R]{\nouppercase{\rightmark}}
|
||||
\fancyhead[L]{\nouppercase{\leftmark}}
|
||||
\fancyfoot[C]{\thepage}
|
||||
|
||||
% Chapter formatting
|
||||
\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{\thesection}{\textup{\Roman{chapter}}.\arabic{section}}
|
||||
|
||||
|
||||
% Dot leaders, spacing, indentation
|
||||
\setlength{\cftbeforechapskip}{0em}
|
||||
\setlength{\cftchapindent}{0pt}
|
||||
\setlength{\cftsecindent}{0em}
|
||||
\setlength{\cftsubsecindent}{3em}
|
||||
\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}
|
||||
|
||||
% 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}
|
||||
|
||||
% Frontmatter Macro (Toggle TOC Inclusion)
|
||||
\newcommand{\frontmattersection}[3]{%
|
||||
\begin{titlepage}
|
||||
\centering
|
||||
\ifstrequal{#1}{toc}{\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}%
|
||||
\input{frontmatter/#3}
|
||||
\end{titlepage}
|
||||
\clearpage
|
||||
}
|
||||
|
||||
% Wrapper Command for Each Page
|
||||
\newcommand{\theendorsementpage}[1]{\frontmattersection{#1}{Pengesahan}{endorsement}}
|
||||
\newcommand{\originalitystatement}[1]{\frontmattersection{#1}{Pernyataan Keaslian}{originality}}
|
||||
|
||||
|
||||
\endinput
|
||||
Reference in New Issue
Block a user