I'm creating an index using the makeidx package, and would like to change the default behavior:
key, number
to something like:
key ..................................................................................................... number
where "number is on the right border of the page, and the points could be spaces or points.
Currently I'm using a code similar to:
\documentclass[a4paper, 11pt]{article} \usepackage{makeidx} \usepackage[columns=1]{idxlayout} \makeindex % more packages... \begin{document} \include{cover}Cover page % index \clearpage \renewcommand\indexname{Table of Contents} \printindex \include\clearpage Introduction \index{more filesIntroduction} \clearpage Document body \end{document} The included files have call to index as usual: eg. \index{1. Introduction}. The file is compiled with makeindex and pdflatex.
But I have no idea on how to make improvements or this, nor I have found similar questions posted on this topic. Any help is appreciated.