Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/repeatindex


Copyright 2001  Harald Harders (
License is LPPL.

This Package repeats item of an index if a page or column
break occurs within a list of subitems.
This helps to find out to which main item a subitem belongs.


   Main Item A, 1, 3, 6             Main Item A...
      Subitem a, 1                      Subitem g, 1
      Subitem b, 1                      Subitem h, 1
      Subitem c, 2                      Subitem i, 1
      Subitem d, 3                      Subitem j, 1
      Subitem d, 1                  Main Item B, 3, 6
      Subitem e, 4                      Subitem a, 3
      Subitem f, 2                      Subitem b, 4

To get that behaviour you have to include the package into your
document using  \usepackage{repeatindex}, and you have to produce
the .ind file in a special format in which the entries of the \item
are enclosed in [...] (example:   \item [Main Item A], 1, 3, 6  ).
This can be achieved using
    makeindex -s repeatindex  file

- When an item is repeated a small vertical space is included two
  items later
- If the last item is a subitem and the only entry on the last page
  of the index the repeation is omitted

This package has not been tested much, yet. Please help me to find
more problems and if possible solutions to my problems.
I have had much trouble in solving the problem that the code
defined in afterpage is executed with a delay.

Harald Harders, 2001/10/13


Name Size Date Notes
README 1504 2001-10-13 04:45:05 36 2001-10-13 04:08:08
repeatindex.sty 4284 2001-10-13 04:45:19
testrepeatindex.tex 1027 2001-10-13 04:08:15

Down­load the con­tents of this pack­age in one zip archive (3.0k).

re­peatin­dex – Re­peat items in an in­dex af­ter a page or col­umn break

This Pack­age re­peats item of an in­dex if a page or col­umn break oc­curs within a list of subitems. This helps to find out to which main item a subitem be­longs.

Li­censeThe LaTeX Project Public Li­cense
Copy­right2001 Har­ald Harders
Main­tainerHar­ald Harders
Con­tained inTeXlive as re­peatin­dex
MikTeX as re­peatin­dex
Topics in­dex sup­port
Guest Book Sitemap Contact 2014-04-24 07:50 CEST