summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@mailbox.org>2023-07-11 15:37:15 +0200
committerJustin Gassner <justin.gassner@mailbox.org>2023-07-11 15:37:15 +0200
commita6c7e0462d5afa109cd196cd98d660a1fa9abede (patch)
treed30690e7970d178d4f6595551f5ede2e4572c837
parentb2c6297267d120ee9f9e4fa8ff67641a459f249a (diff)
downloadmaster-a6c7e0462d5afa109cd196cd98d660a1fa9abede.tar.zst
Add index
-rw-r--r--index.tex4
-rw-r--r--main.tex1
-rw-r--r--sampleappendix.tex2
-rw-r--r--samplesection.tex2
4 files changed, 7 insertions, 2 deletions
diff --git a/index.tex b/index.tex
new file mode 100644
index 0000000..c51baa7
--- /dev/null
+++ b/index.tex
@@ -0,0 +1,4 @@
+\setindexpreamble{%
+ This is the index preamble.
+}
+\printindex
diff --git a/main.tex b/main.tex
index 2eceee4..a6118a6 100644
--- a/main.tex
+++ b/main.tex
@@ -8,4 +8,5 @@
\include{sampleappendix}
\include{bibliography}
\include{nomenclature}
+\include{index}
\end{document}
diff --git a/sampleappendix.tex b/sampleappendix.tex
index 97af056..335b142 100644
--- a/sampleappendix.tex
+++ b/sampleappendix.tex
@@ -1,5 +1,5 @@
\section{Sample Appendix}
-Just more sample text.
+Just more \index{sample text}sample text.
\printbibliography[segment=\therefsegment,heading=subbibliography]
diff --git a/samplesection.tex b/samplesection.tex
index 191f091..115bcb1 100644
--- a/samplesection.tex
+++ b/samplesection.tex
@@ -1,6 +1,6 @@
\section{Sample Section}
-Just some sample text.
+Just some \index{sample text}sample text.
\nomenclature{$\mathcal{S}$}{Schwartz test function space\nomrefpage}
\printbibliography[segment=\therefsegment,heading=subbibliography]