From 86de16dd27c67732a0e163c46c23314fcddfce5f Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Sat, 3 Aug 2024 18:59:02 +0200
Subject: feat(templates/latex/academia): Support changing the language

---
 templates/latex/academia/headers/preamble.tex | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'templates/latex/academia/headers/preamble.tex')

diff --git a/templates/latex/academia/headers/preamble.tex b/templates/latex/academia/headers/preamble.tex
index bc8aa8a..d87943d 100644
--- a/templates/latex/academia/headers/preamble.tex
+++ b/templates/latex/academia/headers/preamble.tex
@@ -9,8 +9,7 @@
 % \usepackage{textcomp} % support for yen and so on, not needed since latex2e(2020)
 
 % references
-\usepackage[british]{babel} % For English language support, with reformed orthography!
-% \usepackage[brithish]{babel} % For English language support, with reformed orthography!
+\usepackage[%INIT_BABLE_LANGUAGE]{babel} % For English language support, with reformed orthography!
 \usepackage{csquotes} % required by biblatex
 % \usepackage{biber} % required by biblatex
 
@@ -35,7 +34,7 @@
 % \bibliography{res/reference} % Set the location of the references
 
 % dates, time
-\usepackage[de-DE, showdow]{datetime2} % make handling dates easier
+\usepackage[%INIT_DATE_TIME_LANGUAGE, showdow]{datetime2} % make handling dates easier
 
 % index
 % \usepackage{index} % Helps to create an index TODO compare with other such packages
@@ -49,7 +48,7 @@
 \usepackage{mathrsfs} % support for the RSFS fonts (through \mathscr command)
 \usepackage{cancel} % allows to cancel a part in math mode, for example to shorten a term
 \usepackage{bm} % bold mode in math, but better than \boldsymbol command from ams. \bm
-\usepackage[locale = DE]{siunitx} % For easy unit representation
+\usepackage[locale = %INIT_SIUNITX_LANGUAGE]{siunitx} % For easy unit representation
 \sisetup{per-mode = fraction}
 \usepackage[version=4]{mhchem} % for \ce command
 
@@ -89,7 +88,7 @@
 % links
 % \usepackage[hidelinks]{hyperref} % Links in the pdf
 \usepackage[nospace]{varioref}
-\usepackage[pdflang=de-DE]{hyperref}
+\usepackage[pdflang=%INIT_DATE_TIME_LANGUAGE]{hyperref}
 % \hypersetup{
 %         colorlinks,
 %         linkcolor={black},
-- 
cgit 1.4.1

