summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/testidx/samples/sample-idx-t1.tex
blob: 6d50be97f069b568140a6987193672088ae00ce6 (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
31
32
33
34
35
36
37
% This file is public domain.
%
% This example document demonstrates the testidx package
% with makeindex. You can build this document using:
%
% pdflatex sample-idx-t1
% makeindex sample-idx-t1.idx
% pdflatex sample-idx-t1
%
% If you are using arara, the directives are:
%
% arara: pdflatex
% arara: makeindex
% arara: pdflatex
\documentclass{article}

\usepackage[T1]{fontenc}
\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}