# getting two pages using tableofcontents [duplicate]

Possible Duplicate:
How to remove headers and footers for pages between chapters?

I use in my document

\tableofcontents


but I got two pages.In the first I have the table of contents and the second page is empty and have only the head where it is written CONTENTS. is it standard?

\documentclass[12pt,a4paper,twoside,openright]{book}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian,english]{babel}

\renewcommand{\rmdefault}{pplx} %setta il carattere

\usepackage[margin=3.0cm,bindingoffset=0.5cm]{geometry}
\usepackage{setspace} %setta l'interlinea a 1,5
\onehalfspacing

\usepackage{graphicx} %pacchetto immagini
\usepackage{lipsum}
\usepackage{microtype}
\usepackage{eulervm} %paccchetto testo formule

%-------------------------------
\usepackage{fancyhdr}
\newcommand{\changefont}{%
\fontsize{10}{11}\selectfont
}
\fancyhf{}
\fancyfoot[C]{\changefont \thepage}
\pagestyle{fancy}
%-------------------------------

%------------------------------------------------------------------
\newcommand{\blankpage}{\newpage\null\thispagestyle{empty}\newpage} %comando pagina vuota
%------------------------------------------------------------------

\begin{document}

\frontmatter
\input{parti/frontmatter/frontespizio}
\blankpage
\input{parti/frontmatter/dedica}
\blankpage
\input{parti/frontmatter/abstract}
\blankpage
\input{parti/frontmatter/ringraziamenti}
\blankpage

\renewcommand\contentsname{Indice}
\tableofcontents
\renewcommand\listfigurename{Lista delle Figure}
\listoffigures
\renewcommand\listtablename{Lista delle Tabelle}
\listoftables

\mainmatter
\input{parti/mainmatter/chapter_1}

\end{document}

-

## marked as duplicate by lockstep, Kurt, ienissei, Stefan Kottwitz♦Nov 17 '12 at 18:45

I would the next page cleared. What I don't want is the heading. How can I remove it in the second page? –  Mazzy Nov 15 '12 at 22:45
Please provide a complete MWE with details. –  Harish Kumar Nov 15 '12 at 22:48
What I mean is to remove pagestyle in the second page of tableofcontents. I don't know how to provide a MWE –  Mazzy Nov 15 '12 at 22:54
@HarishKumar I posted an image t0 show you what I mean. as you can see, the second page have the head.how can i remove it? –  Mazzy Nov 15 '12 at 23:39
@Mazzy, please, try my answer below. Copy and paste the code in the preamble. –  Sigur Nov 15 '12 at 23:45

You can use this to remove header/footer on blank pages.

\makeatletter
\def\cleardoublepage{%
\clearpage
\if@twoside \ifodd\c@page
\else \null
\thispagestyle{empty}
\newpage
\fi
\fi
}
\makeatother

-
I bet that \usepackage{emptypage} is easier. :-) –  egreg Nov 15 '12 at 23:55
The KOMA-classes (e.g. scrbook) offer commands and options to set the page style of this pages. The default is cleardoublepage=empty. –  Ulrike Fischer Nov 16 '12 at 8:23