1

I am using makeid on documentclass book. The resulting index is fine, but page breaks occur between a main entry and subentries. A subentry may occur as an orphan at the top of page/column, and a main entry may occur without any subentry at the bottom of a page. How do you retain the main entry at the top of a page (or column)?

The second question is how to get the first and last indexentry in the page into the header, on left and right side?

  • 1
    Welcome to TeX.SE! Please ask one question only in a question. Can you show us a small, compilable code (minimal working example) that shows your problem? Or add an screenshot? Better both ... – Mensch Aug 29 '15 at 17:55
  • To answer question 1 you could add something like this to preamble:\makeatletter \renewcommand\subitem{\@idxitem\nobreak\hspace*{20\p@}} \makeatother – Aubrey Blumsohn Sep 2 '15 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.