From 9d526971d9e216bde631547383f0a9aba90235a7 Mon Sep 17 00:00:00 2001 From: nuluh Date: Wed, 14 May 2025 17:34:56 +0700 Subject: [PATCH] feat(latex): add polyglossia package and set main language to Bahasa Indonesia --- latex/thesis.cls | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/latex/thesis.cls b/latex/thesis.cls index 29a6b29..e1723e5 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -9,6 +9,7 @@ \LoadClass[a4paper,12pt,oneside]{book} % Load common packages +\RequirePackage{polyglossia} \RequirePackage{fontspec} \RequirePackage{titlesec} \RequirePackage{fancyhdr} @@ -20,6 +21,10 @@ \RequirePackage{tocloft} \RequirePackage{tocbibind} +% Polyglossia set language +\setmainlanguage{bahasai} +% \setotherlanguage{english} + % Conditionally load the watermark package and settings \if@draftmark \RequirePackage{draftwatermark}