diff options
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-11.tex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-11.tex | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-11.tex b/Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-11.tex new file mode 100644 index 00000000000..0a942999dc7 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/xindex/Examples/xindex-11.tex @@ -0,0 +1,24 @@ +\documentclass{article} +\makeatletter +\def\theindex{% only for demonstration + \section*{\indexname} + \parskip\z@ \@plus .3\p@\relax \parindent\z@ + \let\item\@idxitem} +\makeatother +%StartVisiblePreamble +\makeatletter +\g@addto@macro{\theindex}{% + \pagestyle{empty}% + \def\subsubsubitem{\@idxitem\hspace*{35\p@}} + \def\subsubsubsubitem{\@idxitem\hspace*{40\p@}} +} +\makeatother +\usepackage{makeidx}\makeindex +%StopVisiblePreamble +\begin{document} +foo\index{foo} bar\index{foo!bar} +baz\index{foo!bar!baz} foobar% +\index{foo!bar!baz!foobar} Kuba +\index{foo!bar!baz!foobar!Kuba} +\newpage \printindex +\end{document} |