I have the following problem: after the table of contents, there appears an extra empty page which is numbered and has the header "Content". I want to get rid of this page but I cannot find any solution for it. Does someone have any idea?
I tried it but this doesn't work (thanks anyhow).
The solution described in this manual is for the case when the option "openany" is NOT given, using documentclass book. In my code it IS given. Hence I do not have any white pages after each chapter. I only have one white page after the table of contents. But it is in fact not really empty, because it contains the header "CONTENTS" and a page number. And it is this useless page that I want to remove.
Other suggestions?
All you need is redefine \mainmatter with \clearpage instead of \cleardoublepage (in the preamble, say). That way \mainmatter will simply start a new page, without bothering if it's recto or verso (odd- or even-numbered). Put the following in your .tex file:
Thank you very much. This solution indeed removes the extra white page.
But I want to make a note on it. If you insert the code like this in your .tex file you will get the following error:
I have exactly the same problem, but I don't use the book class. I use the report class instead, and the above solution does not work for me because then I get the error "\mainmatter undefined".