summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex')
-rw-r--r--Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex36
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex
new file mode 100644
index 00000000000..964dc13e292
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex
@@ -0,0 +1,36 @@
+% This file is public domain.
+%
+% This example document demonstrates the testidx package
+% with makeindex. You can build this document using:
+%
+% pdflatex sample-idx
+% makeindex sample-idx.idx
+% pdflatex sample-idx
+%
+% If you are using arara, the directives are:
+%
+% arara: pdflatex
+% arara: makeindex
+% arara: pdflatex
+\documentclass{article}
+
+\usepackage{makeidx}
+\usepackage
+ [% options:
+ stripaccents,% strip accents from sort key (default)
+ %nostripaccents,% don't strip accents from sort key
+ %verbose,% show \index commands in the text
+ noverbose,% don't show \index commands in the text (default)
+ showmarks,% highlight where \index has been used (default)
+ %hidemarks,% don't highlight where \index has been used
+ %notestencaps,% don't test the encaps
+ ]{testidx}
+
+\makeindex
+
+\begin{document}
+\testidx
+
+\printindex
+\end{document}
+