summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]