Page LayoutIndex Format Problem

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
normanj
Posts: 3
Joined: Sun Jul 22, 2012 2:47 am

Index Format Problem

Post by normanj »

I'm an inexperienced LaTeX user creating a document with the book class. I've included a \printindex command in the \backmatter and the index appears in the customary two-column format.

The problem arises with topics having multiple entries, resulting in the line being too long for the column. This results in some left-hand entries overlapping into the right-hand column and some right-hand entries disappearing off the page,

Is there a way I can prevent this? I'd prefer to keep the two-column format if possible as it works well in most cases.

My index entries are of the form:

Code: Select all

\index{Reeves!\small{\emph{Sims (1821-1900)}}}


This particular entry doesn't cause problems because its only on one page, but similar entries that occur in several pages result in the line overrun.

Thank you.
Last edited by Stefan Kottwitz on Sun Jul 22, 2012 10:43 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Index Format Problem

Post by cgnieder »

Could you make the following code into a Infominimal working example that shows the unwanted behavior, please?

Code: Select all

\documentclass{article}
\usepackage{makeidx}
\makeindex
\begin{document}
Reeves\index{Reeves!\small{\emph{Sims (1821--1900)}}}

\printindex
\end{document}
Regards
site moderator & package author
Post Reply