[texhax] Long entries in index

Victor Ivrii vivrii at gmail.com
Thu Jun 9 13:11:24 CEST 2011


On Thu, Jun 9, 2011 at 6:30 AM, Lars Madsen <daleif at imf.au.dk> wrote:
> Victor Ivrii wrote, On 2011-06-09 12:22:
>>
>> Index is printed in two columns. If some entries are too long, they
>> are not wrapped and either overlap with another column or go out of
>> margins.
>>
>> Is there any way to make an automatic wrapping?
>>
>> Thanks!
>>
>> Victor
>>
>> PS I use
>>
>> \documentclass[12pt,oneside,openany]{memoir}
>>
>>
>> (TL 2011 and TL 2010 - no difference)
>
> full compilable minimal example please


\documentclass[12pt,oneside,openany]{memoir}
\usepackage{mempatch}
\makeindex

\begin{document}

Blah

\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry1}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry2}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry3}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry4}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry5}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry6}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry7}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry8}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry9}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry11}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry21}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry31}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry41}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry51}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry61}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry71}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry81}
\index{VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery long entry91}


\printindex

\end{document}


More information about the texhax mailing list