0

I'm using a text using book class. Everything is fine, apart from the fact that the index isn't recognized as a chapter. Using

\usepackage[nottoc]{tocbibind} 

I'm still able to produce an entry "Index" in the ToC, but the heading in the index are the same as in the previous section of the book. In other words, LaTeX doesn't seem to recognize the index as such. Is there anything I can do, beside modifying the headings manually?

7
  • How do you print your index? Try using \cleardoublepage\markboth{Index}{Index} immediately before your index printing.
    – Werner
    Commented Jun 8, 2016 at 11:25
  • There's the \tocetmark command for this, as far as I know.
    – user31729
    Commented Jun 8, 2016 at 11:51
  • @ChristianHupfer Strange enough, yours is an "undefined control sequence".
    – Delio
    Commented Jun 8, 2016 at 12:40
  • @Delio: Sorry, a typo: I meant \tocetcmark
    – user31729
    Commented Jun 8, 2016 at 12:40
  • @ChristianHupfer Ok, I tried with \tocetcmark{Index}, but for some strange reason the Index "expands" and I find the corresponding heading in some pages of the preceding sections as well. A bit spooky... Thanks anyway.
    – Delio
    Commented Jun 8, 2016 at 12:47

1 Answer 1

1

Using

\cleardoublepage
\markboth{Index}{Index}

immediately before your setting of the Index should update the headers Index rather than that of what preceded the Index chapter/section.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .