Skip to main content
Edited code so it does not depend on other files
Source Link

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.

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} % index \clearpage \renewcommand\indexname{Table of Contents} \printindex \include{more files} \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.

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} Cover page % index \clearpage \renewcommand\indexname{Table of Contents} \printindex \clearpage Introduction \index{Introduction} \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.

Source Link

Makeindex - Is it possible to set page numbers on the right border instead of using the comma delimiter?

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} % index \clearpage \renewcommand\indexname{Table of Contents} \printindex \include{more files} \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.