about summary refs log tree commit diff stats
path: root/build/latex/academia/headers/preamble/core
diff options
context:
space:
mode:
Diffstat (limited to 'build/latex/academia/headers/preamble/core')
-rw-r--r--build/latex/academia/headers/preamble/core/bable.tex1
-rw-r--r--build/latex/academia/headers/preamble/core/graphics_and_floats.tex2
-rw-r--r--build/latex/academia/headers/preamble/core/math.tex14
-rw-r--r--build/latex/academia/headers/preamble/core/mod.tex1
-rw-r--r--build/latex/academia/headers/preamble/core/notes.tex2
-rw-r--r--build/latex/academia/headers/preamble/core/references.tex8
6 files changed, 16 insertions, 12 deletions
diff --git a/build/latex/academia/headers/preamble/core/bable.tex b/build/latex/academia/headers/preamble/core/bable.tex
new file mode 100644
index 0000000..f034018
--- /dev/null
+++ b/build/latex/academia/headers/preamble/core/bable.tex
@@ -0,0 +1 @@
+\usepackage[%INIT_BABLE_LANGUAGE]{babel} % For language support
diff --git a/build/latex/academia/headers/preamble/core/graphics_and_floats.tex b/build/latex/academia/headers/preamble/core/graphics_and_floats.tex
index b975c5f..c0784c9 100644
--- a/build/latex/academia/headers/preamble/core/graphics_and_floats.tex
+++ b/build/latex/academia/headers/preamble/core/graphics_and_floats.tex
@@ -5,7 +5,7 @@
 \usetikzlibrary{calc}
 
 \usepackage{pgfplots} % plots, 2D and 3D
-\pgfplotsset{compat=1.19} % Set a compatibility level, to be able to use the new versions
+\pgfplotsset{compat=1.18} % Set a compatibility level, to be able to use the new versions
 
 \usetikzlibrary{external}
 \tikzexternalize[prefix=figures/, mode=list and make]
diff --git a/build/latex/academia/headers/preamble/core/math.tex b/build/latex/academia/headers/preamble/core/math.tex
index 35144df..170f57a 100644
--- a/build/latex/academia/headers/preamble/core/math.tex
+++ b/build/latex/academia/headers/preamble/core/math.tex
@@ -12,14 +12,16 @@
 \NewDocumentCommand\Z{}{\ensuremath{\mathbb{Z}}}
 \NewDocumentCommand\Q{}{\ensuremath{\mathbb{Q}}}
 \NewDocumentCommand\C{}{\ensuremath{\mathbb{C}}}
-\NewDocumentCommand\O{}{\ensuremath{\emptyset}} % replaces the Ø
+\let\originalO\O
+\RenewDocumentCommand\O{}{\ensuremath{\emptyset}} % replaces the Ø
 
 % readable limits
-\let\svlim\lim{}
-\renewcommand\lim{\svlim\limits}
+\let\originalLim\lim
+\RenewDocumentCommand\lim{}{\originalLim\limits}
 
 % aliases
-\let\implies\Rightarrow{}
-\let\impliedby\Leftarrow{}
+\let\implies\Rightarrow
+\let\impliedby\Leftarrow
 
-\let\epsilon{\varepsilon} % I like the textual epsilon more
+\let\originalEpsilon\epsilon
+\RenewDocumentCommand\epsilon{}{\varepsilon} % I like the textual epsilon more
diff --git a/build/latex/academia/headers/preamble/core/mod.tex b/build/latex/academia/headers/preamble/core/mod.tex
index 3a800a1..403ce58 100644
--- a/build/latex/academia/headers/preamble/core/mod.tex
+++ b/build/latex/academia/headers/preamble/core/mod.tex
@@ -1,6 +1,7 @@
 % Core packages (used in the implementation of this preamble)
 \usepackage{ifdraft}
 
+\input{headers/preamble/core/bable.tex}
 \input{headers/preamble/core/chemistry.tex}
 \input{headers/preamble/core/copyright.tex}
 \input{headers/preamble/core/date_and_time.tex}
diff --git a/build/latex/academia/headers/preamble/core/notes.tex b/build/latex/academia/headers/preamble/core/notes.tex
index 8eab467..1f10ef3 100644
--- a/build/latex/academia/headers/preamble/core/notes.tex
+++ b/build/latex/academia/headers/preamble/core/notes.tex
@@ -1 +1 @@
-\usepackage[obeyFinal,%INIT_BABLE_LANGUAGE]{todonotes}
+\usepackage[obeyFinal,%INIT_TODONOTES_LANGUAGE]{todonotes}
diff --git a/build/latex/academia/headers/preamble/core/references.tex b/build/latex/academia/headers/preamble/core/references.tex
index 69a6ad6..e42b22f 100644
--- a/build/latex/academia/headers/preamble/core/references.tex
+++ b/build/latex/academia/headers/preamble/core/references.tex
@@ -1,4 +1,3 @@
-\usepackage[%INIT_BABLE_LANGUAGE]{babel} % For language support
 \usepackage{csquotes} % required by biblatex
 
 % \usepackage{biblatex-dw}
@@ -20,8 +19,6 @@
 \addbibresource{ref/references.bib}
 % \bibliography{res/reference} % Set the location of the references
 
-\usepackage[nospace,%INIT_BABLE_LANGUAGE]{varioref} % for \vref
-\usepackage[%INIT_BABLE_LANGUAGE, noabbrev, nameinlink]{cleveref}
 \usepackage[pdflang=%INIT_DATE_TIME_LANGUAGE]{hyperref}
 \hypersetup{
 	colorlinks,
@@ -30,8 +27,11 @@
 	urlcolor={blue!80!black}
 }
 
+\usepackage[nospace,%INIT_TODONOTES_LANGUAGE]{varioref} % for \vref
+\usepackage[%INIT_TODONOTES_LANGUAGE, noabbrev, nameinlink]{cleveref}
+
 \ifdraft{
 	\usepackage{showlabels}
 } {
-	\message {Draft packages not loaded, showlabels not loaded.}
+	\message {Draft packages not loaded, 'showlabels' not loaded.}
 }