Compare commits
2 Commits
latex/docu
...
latex/fron
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a32415cebf | ||
|
|
12669ed24c |
@@ -21,6 +21,7 @@
|
|||||||
#
|
#
|
||||||
# Scope:
|
# Scope:
|
||||||
# latex (changes to thesis LaTeX)
|
# latex (changes to thesis LaTeX)
|
||||||
|
# documentclass (LaTeX in-house document class changes)
|
||||||
# src (changes to Python source code)
|
# src (changes to Python source code)
|
||||||
# nb (changes to notebooks)
|
# nb (changes to notebooks)
|
||||||
# ml (ML model specific changes)
|
# ml (ML model specific changes)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
|
||||||
\vspace{1.5cm}
|
\vspace{1.5cm}
|
||||||
|
|
||||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thesistitle}}\par}
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thetitle}}\par}
|
||||||
\vspace{1.5cm}
|
\vspace{1.5cm}
|
||||||
|
|
||||||
\includegraphics[width=5cm]{frontmatter/img/logo.png}
|
\includegraphics[width=5cm]{frontmatter/img/logo.png}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
|
|
||||||
\textbf{Disusun oleh:} \\
|
\textbf{Disusun oleh:} \\
|
||||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentname}} \\
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\theauthor}} \\
|
||||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
|
||||||
|
|
||||||
|
|
||||||
@@ -28,4 +28,3 @@
|
|||||||
|
|
||||||
\end{titlepage}%
|
\end{titlepage}%
|
||||||
|
|
||||||
|
|
||||||
29
latex/frontmatter/maketitle_secondary.tex
Normal file
29
latex/frontmatter/maketitle_secondary.tex
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
\begin{titlepage}
|
||||||
|
\centering
|
||||||
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
|
||||||
|
\vspace{1.5cm}
|
||||||
|
|
||||||
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thetitle}}\par}
|
||||||
|
\vspace{1cm}
|
||||||
|
{\normalsize\selectfont Diajukan guna melengkapi persyaratan untuk memenuhi gelar Sarjana Teknik di Program Studi Teknik Sipil, Fakultas Teknik, Universitas Muhammadiyah Yogyakarta\par}
|
||||||
|
\vspace{1.5cm}
|
||||||
|
|
||||||
|
\includegraphics[width=5cm]{frontmatter/img/logo.png}
|
||||||
|
\vspace{1.5cm}
|
||||||
|
|
||||||
|
|
||||||
|
\textbf{Disusun oleh:} \\
|
||||||
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\theauthor}} \\
|
||||||
|
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
|
||||||
|
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
{\fontsize{12pt}{14pt}\selectfont
|
||||||
|
\textbf{\program} \\
|
||||||
|
\textbf{\faculty} \\
|
||||||
|
\textbf{\university} \\
|
||||||
|
\textbf{\yearofsubmission}
|
||||||
|
}
|
||||||
|
|
||||||
|
\end{titlepage}%
|
||||||
@@ -21,17 +21,25 @@
|
|||||||
\RequirePackage{tocloft}
|
\RequirePackage{tocloft}
|
||||||
\RequirePackage{tocbibind}
|
\RequirePackage{tocbibind}
|
||||||
\RequirePackage{amsmath,amsfonts,amssymb}
|
\RequirePackage{amsmath,amsfonts,amssymb}
|
||||||
|
\RequirePackage{svg} % Allows including SVG images directly
|
||||||
|
\RequirePackage{indentfirst} % Makes first paragraph after headings indented
|
||||||
|
\RequirePackage{float} % Provides [H] option to force figure/table placement
|
||||||
|
|
||||||
% Polyglossia set language
|
% Polyglossia set language
|
||||||
\setmainlanguage{bahasai}
|
+ \setdefaultlanguage[variant=indonesian]{malay} % Proper Indonesian language setup
|
||||||
% \setotherlanguage{english}
|
+ \setotherlanguage{english} % Enables English as secondary language
|
||||||
|
|
||||||
|
+ \DefineBibliographyStrings{english}{% % Customizes bibliography text
|
||||||
|
+ andothers={dkk\adddot}, % Changes "et al." to "dkk."
|
||||||
|
+ pages={hlm\adddot}, % Changes "pp." to "hlm."
|
||||||
|
+ }
|
||||||
|
|
||||||
% Conditionally load the watermark package and settings
|
% Conditionally load the watermark package and settings
|
||||||
\if@draftmark
|
\if@draftmark
|
||||||
\RequirePackage{draftwatermark}
|
\RequirePackage{draftwatermark}
|
||||||
\SetWatermarkText{Draft: \today [wip]}
|
\SetWatermarkText{nuluh/thesis (wip) draft: \today}
|
||||||
\SetWatermarkColor[gray]{0.7}
|
\SetWatermarkColor[gray]{0.8} % Opacity: 0.8 = 20% transparent
|
||||||
\SetWatermarkFontSize{2cm}
|
\SetWatermarkFontSize{1.5cm}
|
||||||
\SetWatermarkAngle{90}
|
\SetWatermarkAngle{90}
|
||||||
\SetWatermarkHorCenter{1.5cm}
|
\SetWatermarkHorCenter{1.5cm}
|
||||||
\fi
|
\fi
|
||||||
@@ -79,7 +87,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
% Chapter formatting
|
% Chapter formatting
|
||||||
\titlespacing{\chapter}{0pt}{0pt}{*1.5}
|
\titlespacing{\chapter}{0pt}{0cm}{*1.5} % 0pt→0cm: same value, different unit
|
||||||
|
% 0pt = no space above chapter title
|
||||||
|
% *1.5 = 1.5× line spacing after title
|
||||||
|
|
||||||
\titleformat{\chapter}[display]
|
\titleformat{\chapter}[display]
|
||||||
{\normalsize\bfseries\centering}
|
{\normalsize\bfseries\centering}
|
||||||
{BAB~\Roman{chapter}} % << display format
|
{BAB~\Roman{chapter}} % << display format
|
||||||
@@ -91,6 +102,10 @@
|
|||||||
\titleformat{\subsection}
|
\titleformat{\subsection}
|
||||||
{\normalsize\bfseries}{\thesubsection}{1em}{}
|
{\normalsize\bfseries}{\thesubsection}{1em}{}
|
||||||
|
|
||||||
|
% Section numbering depth
|
||||||
|
\setcounter{secnumdepth}{3} % Enables numbering for:
|
||||||
|
% 1 = chapters, 2 = sections, 3 = subsections
|
||||||
|
|
||||||
% Ensure chapter reference in TOC matches
|
% Ensure chapter reference in TOC matches
|
||||||
\renewcommand{\cftchappresnum}{BAB~}
|
\renewcommand{\cftchappresnum}{BAB~}
|
||||||
\renewcommand{\cftchapaftersnum}{\quad}
|
\renewcommand{\cftchapaftersnum}{\quad}
|
||||||
@@ -108,16 +123,22 @@
|
|||||||
|
|
||||||
|
|
||||||
% Dot leaders, spacing, indentation
|
% Dot leaders, spacing, indentation
|
||||||
|
\setlength{\cftbeforetoctitleskip}{0cm} % Space above "DAFTAR ISI" title
|
||||||
|
\setlength{\cftbeforeloftitleskip}{0cm} % Space above "DAFTAR GAMBAR" title
|
||||||
|
\setlength{\cftbeforelottitleskip}{0cm} % Space above "DAFTAR TABEL" title
|
||||||
|
|
||||||
\setlength{\cftbeforechapskip}{0em}
|
\setlength{\cftbeforechapskip}{0em}
|
||||||
\setlength{\cftchapindent}{0pt}
|
\setlength{\cftchapindent}{0pt}
|
||||||
\setlength{\cftsecindent}{0em}
|
\setlength{\cftsecindent}{0em}
|
||||||
\setlength{\cftsubsecindent}{2.5em}
|
\setlength{\cftsubsecindent}{2em}
|
||||||
\setlength{\cftchapnumwidth}{3.5em}
|
\setlength{\cftchapnumwidth}{3.5em}
|
||||||
\setlength{\cftsecnumwidth}{3.5em}
|
\setlength{\cftsecnumwidth}{2em}
|
||||||
\setlength{\cftsubsecnumwidth}{2.5em}
|
\setlength{\cftsubsecnumwidth}{2.5em}
|
||||||
\setlength{\cftfignumwidth}{5em}
|
\setlength{\cftfignumwidth}{5em}
|
||||||
\setlength{\cfttabnumwidth}{4em}
|
\setlength{\cfttabnumwidth}{4em}
|
||||||
\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764
|
\renewcommand \cftchapdotsep{1} % Denser dots (closer together) https://tex.stackexchange.com/a/273764
|
||||||
|
\renewcommand \cftsecdotsep{1} % Apply to sections too
|
||||||
|
\renewcommand \cftsubsecdotsep{1} % Apply to subsections too
|
||||||
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
|
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
|
||||||
\renewcommand{\cftchappagefont}{\normalfont}
|
\renewcommand{\cftchappagefont}{\normalfont}
|
||||||
\renewcommand{\cftfigpresnum}{\figurename~}
|
\renewcommand{\cftfigpresnum}{\figurename~}
|
||||||
|
|||||||
Reference in New Issue
Block a user