about summary refs log tree commit diff stats
path: root/common/latex/preamble/academia
diff options
context:
space:
mode:
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}