refactor(latex): refactor metadata commands for thesis information and load from external file to implement reusability
This commit is contained in:
7
latex/metadata.tex
Normal file
7
latex/metadata.tex
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
\newcommand{\studentname}{Rifqi Damar Panuluh}
|
||||||
|
\newcommand{\studentid}{20210110224}
|
||||||
|
\newcommand{\thesistitle}{Prediksi Lokasi Kerusakan dengan Machine Learning}
|
||||||
|
\newcommand{\faculty}{Fakultas Teknik}
|
||||||
|
\newcommand{\program}{Teknik Sipil}
|
||||||
|
\newcommand{\university}{Universitas Muhammadiyah Yogyakarta}
|
||||||
|
\newcommand{\yearofsubmission}{2025}
|
||||||
@@ -27,13 +27,7 @@
|
|||||||
\setmonofont{Courier New}
|
\setmonofont{Courier New}
|
||||||
|
|
||||||
% Metadata commands
|
% Metadata commands
|
||||||
\newcommand{\studentname}{}
|
\input{metadata} % Load metadata from external file
|
||||||
\newcommand{\studentid}{}
|
|
||||||
\newcommand{\thesistitle}{}
|
|
||||||
\newcommand{\faculty}{}
|
|
||||||
\newcommand{\program}{}
|
|
||||||
\newcommand{\university}{}
|
|
||||||
\newcommand{\yearofsubmission}{}
|
|
||||||
|
|
||||||
\newcommand{\setthesisinfo}[7]{%
|
\newcommand{\setthesisinfo}[7]{%
|
||||||
\renewcommand{\thesistitle}{#1}%
|
\renewcommand{\thesistitle}{#1}%
|
||||||
|
|||||||
Reference in New Issue
Block a user