summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex
blob: ff822977e99599ceaa8274de39252699358495d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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}