summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thesis/testndx.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/thesis/testndx.tex')
-rw-r--r--macros/latex/contrib/thesis/testndx.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/latex/contrib/thesis/testndx.tex b/macros/latex/contrib/thesis/testndx.tex
new file mode 100644
index 0000000000..f87a98e45f
--- /dev/null
+++ b/macros/latex/contrib/thesis/testndx.tex
@@ -0,0 +1,17 @@
+\documentclass[12pt]{thesis}
+
+\usepackage{makendx}
+\makenameindex
+\namefont{\sl\bfseries}
+
+\begin{document}
+
+\chapter{Preface}
+
+We are grateful to \name[Knuth, Donald E.]{Donald E. Knuth} for \TeX{}.
+Furthermore we thank \nameindex{Lamport, Leslie} \emph{Leslie Lamport}
+and the \LaTeX3{} \name*{Project}.
+
+\renewcommand{\indexname}{Nameindex}
+\printnameindex
+\end{document}