diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-03 18:59:02 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-03 18:59:02 +0200 |
commit | 86de16dd27c67732a0e163c46c23314fcddfce5f (patch) | |
tree | 5f8a9e5a5d1c2e7a6daa9aa3fa17d56d6ee8296d /templates/latex/academia/headers/preamble.tex | |
parent | feat(common/init): Support template specific drop-in scripts (diff) | |
download | flake-templates-86de16dd27c67732a0e163c46c23314fcddfce5f.tar.gz flake-templates-86de16dd27c67732a0e163c46c23314fcddfce5f.zip |
feat(templates/latex/academia): Support changing the language
Diffstat (limited to 'templates/latex/academia/headers/preamble.tex')
-rw-r--r-- | templates/latex/academia/headers/preamble.tex | 9 |
1 files changed, 4 insertions, 5 deletions
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}, |