Compare commits

..

9 Commits

Author SHA1 Message Date
nuluh
3cffc00feb feat: add user-defined commands for thesis metadata and year extraction 2025-05-24 02:37:55 +07:00
nuluh
6fb3c103c7 fix: adjust subsection number width in table of contents 2025-05-23 14:29:16 +07:00
nuluh
c29aab89e1 fix: adjust subsection indentation and dot separation in table of contents 2025-05-23 14:24:47 +07:00
nuluh
9d89e950ce fix: adjust spacing for table of contents and list titles 2025-05-23 14:22:47 +07:00
nuluh
f19b18ec8d feat: adjust chapter title spacing and increase section numbering depth
- Modify chapter title top spacing from 0pt to 0cm for consistency
- Set section numbering depth to 3 levels (1.1.1 format)
2025-05-23 14:20:56 +07:00
nuluh
4be018fe57 feat: Update watermark text and settings for draft mode 2025-05-23 14:17:02 +07:00
nuluh
8e6b2fbb13 feat: Update language settings and bibliography strings for Indonesian and English
Closes #81
2025-05-23 14:15:19 +07:00
nuluh
3af5a5dbb1 feat: Add documentclass scope to commit message template 2025-05-23 14:12:30 +07:00
nuluh
c8f5662977 feat(documentclass): Add packages for SVG support, indentation, and float placement 2025-05-23 14:10:40 +07:00
3 changed files with 67 additions and 68 deletions

View File

@@ -1,30 +1,31 @@
\begin{titlepage} \begin{titlepage}
\centering \centering
\vspace*{1cm} \vspace*{1cm}
{\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{\thetitle}}\par} {\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thesistitle}}\par}
\vspace{1.5cm} \vspace{1.5cm}
\includegraphics[width=5cm]{frontmatter/img/logo.png} \includegraphics[width=5cm]{frontmatter/img/logo.png}
\vspace{1.5cm} \vspace{1.5cm}
\textbf{Disusun oleh:} \\ \textbf{Disusun oleh:} \\
{\fontsize{14pt}{16pt}\selectfont \textbf{\theauthor}} \\ {\fontsize{14pt}{16pt}\selectfont \textbf{\studentname}} \\
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\ {\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
\vfill \vfill
{\fontsize{12pt}{14pt}\selectfont {\fontsize{12pt}{14pt}\selectfont
\textbf{\program} \\ \textbf{\program} \\
\textbf{\faculty} \\ \textbf{\faculty} \\
\textbf{\university} \\ \textbf{\university} \\
\textbf{\yearofsubmission} \textbf{\yearofsubmission}
} }
\end{titlepage}% \end{titlepage}%

View File

@@ -1,29 +0,0 @@
\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}%

View File

@@ -16,7 +16,6 @@
\RequirePackage{geometry} \RequirePackage{geometry}
\RequirePackage{setspace} \RequirePackage{setspace}
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage{hyperref}
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{tocloft} \RequirePackage{tocloft}
\RequirePackage{tocbibind} \RequirePackage{tocbibind}
@@ -24,6 +23,7 @@
\RequirePackage{svg} % Allows including SVG images directly \RequirePackage{svg} % Allows including SVG images directly
\RequirePackage{indentfirst} % Makes first paragraph after headings indented \RequirePackage{indentfirst} % Makes first paragraph after headings indented
\RequirePackage{float} % Provides [H] option to force figure/table placement \RequirePackage{float} % Provides [H] option to force figure/table placement
\RequirePackage{hyperref}
% Polyglossia set language % Polyglossia set language
+ \setdefaultlanguage[variant=indonesian]{malay} % Proper Indonesian language setup + \setdefaultlanguage[variant=indonesian]{malay} % Proper Indonesian language setup
@@ -164,15 +164,42 @@
\renewcommand{\cftafterlottitle}{\hfill} \renewcommand{\cftafterlottitle}{\hfill}
% \renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase} % \renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase}
% \renewcommand{\cftaftertoctitle}{\vskip 2em} % \renewcommand{\cftaftertoctitle}{\vskip 2em}
\makeatletter
% Extracting the Year from \today
\newcommand{\theyear}{%
\expandafter\@car\expandafter\@gobble\the\year\@nil
}
% % Apply a custom fancyhdr layout only on the first page of each \chapter, and use no header/footer elsewhere % Declare internal macros as initially empty
% % \let\oldchapter\chapter \newcommand{\@authorid}{}
% % \renewcommand{\chapter}{% \newcommand{\@firstadvisor}{}
% % \cleardoublepage \newcommand{\@secondadvisor}{}
% % \pagestyle{fancyplainchapter}% \newcommand{\@headdepartement}{}
% % \oldchapter \newcommand{\@headdepartementid}{}
% % \thispagestyle{fancyplainchapter} % ensure chapter start page uses it \newcommand{\@faculty}{}
% % \pagestyle{fancyplain}% switch for subsequent pages \newcommand{\@program}{}
% % } \newcommand{\@university}{}
\newcommand{\@yearofsubmission}{}
% Define user commands to set these values.
\newcommand{\authorid}[1]{\gdef\@authorid{#1}}
\newcommand{\firstadvisor}[1]{\gdef\@firstadvisor{#1}}
\newcommand{\secondadvisor}[1]{\gdef\@secondadvisor{#1}}
\newcommand{\headdepartement}[1]{\gdef\@headdepartement{#1}}
\newcommand{\headdepartementid}[1]{\gdef\@headdepartementid{#1}}
\newcommand{\faculty}[1]{\gdef\@faculty{#1}}
\newcommand{\program}[1]{\gdef\@program{#1}}
\newcommand{\university}[1]{\gdef\@university{#1}}
% \newcommand{\yearofsubmission}[1]{\gdef\@yearofsubmission{#1}}
% Now expose robust the getters to access the values
\newcommand{\theauthorid}{\@authorid}
\newcommand{\thefirstadvisor}{\@firstadvisor}
\newcommand{\thesecondadvisor}{\@secondadvisor}
\newcommand{\theheaddepartement}{\@headdepartement}
\newcommand{\theheaddepartementid}{\@headdepartementid}
\newcommand{\thefaculty}{\@faculty}
\newcommand{\theprogram}{\@program}
\newcommand{\theuniversity}{\@university}
\makeatother
\endinput \endinput