diff --git a/latex/metadata.tex b/latex/metadata.tex new file mode 100644 index 0000000..ba54758 --- /dev/null +++ b/latex/metadata.tex @@ -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} \ No newline at end of file diff --git a/latex/thesis.cls b/latex/thesis.cls index ec8c77c..df25e3f 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -27,13 +27,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}%