If I want every index entry in the .ind file to look like
Code: Select all
\item <text> \hfil\dotfill <another text> \dotfill \hyperpage{<number>}
Update: Every <text> should be flushed left and every <another text> should be aligned at the center of the line. (I hope it makes sense.)
Here is my .ist file (it is a "rip-off" of the examples on pages 662 and 664 in "The LaTeX Companion" 2nd Edition):
Code: Select all
% My index style file.
heading_prefix "{\\bfseries\\hfil " % Insert in front of letter.
heading_suffix "}\\nopagebreak\n" % Append after letter.
headings_flag 1 % Turn on headings (uppercase).
delim_0 "\\dotfill " % \item level entry dots filling.
Code: Select all
delim_0 "\\hfil\\dotfill #1 \\dotfill "
Thanks in advance!