summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex')
-rw-r--r--Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex
new file mode 100644
index 00000000000..ff822977e99
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex
@@ -0,0 +1,30 @@
+% This file is public domain.
+%
+% This example document demonstrates the testidx package
+% with US Letter paper and the book class. You can build
+% this document using:
+%
+% pdflatex sample-idx-letter
+% makeindex sample-idx-letter.idx
+% pdflatex sample-idx-letter
+%
+% If you are using arara, the directives are:
+%
+% arara: pdflatex
+% arara: makeindex
+% arara: pdflatex
+\documentclass[letterpaper]{book}
+
+\usepackage[marginpar=1in]{geometry}
+\usepackage{makeidx}
+\usepackage{testidx}
+
+\makeindex
+
+\begin{document}
+\chapter{Sample}
+\testidx
+
+\printindex
+\end{document}
+