about summary refs log tree commit diff stats
path: root/common/latex/preamble/academia
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:15:42 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:15:42 +0200
commit5d9be1742bbf7c6be361c1580ecbb22480b655fa (patch)
tree1f659d46d84e348c02f1cc820ac45c4ec20c0c01 /common/latex/preamble/academia
parentbuild(templates.nix): Register new `latex/presentation` template (diff)
downloadflake-templates-5d9be1742bbf7c6be361c1580ecbb22480b655fa.tar.gz
flake-templates-5d9be1742bbf7c6be361c1580ecbb22480b655fa.zip
fix(templates/latex/presentation): Get to compile
Diffstat (limited to 'common/latex/preamble/academia')
-rw-r--r--common/latex/preamble/academia/index.tex8
-rw-r--r--common/latex/preamble/academia/mod.tex1
2 files changed, 9 insertions, 0 deletions
diff --git a/common/latex/preamble/academia/index.tex b/common/latex/preamble/academia/index.tex
new file mode 100644
index 0000000..3efbfc4
--- /dev/null
+++ b/common/latex/preamble/academia/index.tex
@@ -0,0 +1,8 @@
+\usepackage{index} % Helps to create an index
+\makeindex
+
+\ifdraft{
+	\usepackage{showidx}
+} {
+	\message {Draft option not enabled, 'showidx' not loaded.}
+}
diff --git a/common/latex/preamble/academia/mod.tex b/common/latex/preamble/academia/mod.tex
index 39b9230..1f2cd71 100644
--- a/common/latex/preamble/academia/mod.tex
+++ b/common/latex/preamble/academia/mod.tex
@@ -1,4 +1,5 @@
 % derived from:
 % https://github.com/gillescastel/lecture-notes/blob/929672a96abc27eaeb6fa58b1d277b3582d28532/group-theory/preamble.tex
+\input{headers/preamble/academia/index.tex}
 \input{headers/preamble/academia/theorems/mod.tex}
 \input{headers/preamble/academia/visuals.tex}