Debian Codegraph @

texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex

raw
1 % This file is public domain.
2 %
3 % This example document demonstrates the testidx package
4 % with US Letter paper and the book class. You can build
5 % this document using:
6 %
7 % pdflatex sample-idx-letter
8 % makeindex sample-idx-letter.idx
9 % pdflatex sample-idx-letter
10 %
11 % If you are using arara, the directives are:
12 %
13 % arara: pdflatex
14 % arara: makeindex
15 % arara: pdflatex
16 \documentclass[letterpaper]{book}
17
18 \usepackage[marginpar=1in]{geometry}
19 \usepackage{makeidx}
20 \usepackage{testidx}
21
22 \makeindex
23
24 \begin{document}
25 \chapter{Sample}
26 \testidx
27
28 \printindex
29 \end{document}
30