I have defined a personal page style using the package titlesec. The style defined is:
\newpagestyle{myStylePage}[\large\sffamily]{\headrule
\sethead{\thechapter . \chaptertitle}{}{\thesection . \sectiontitle}
\setfoot{}{\usepage}{}
}
I want this style be applied only to all my chapters. But I don't want this style be applied to the \tableofcontents, for example.
In order to solve it, I tried to define a another style:
\newpagestyle{myEmptyPage}{
\sethead{}{}{}
\setfoot{}{\usepage}{}
}
My document follows as:
\pagestyle{myEmptyPage}
\pagenumbering{roman}
\tableofcontents
\pagenumbering{arabic}
\pagestyle{myStylePage}
\include{tex/introduction}
... etc.
My problem is that the second page of the table of contents appears with the same style as defined in myStylePage. What I am doing wrong?
\newpagebetween\tableofcontentsand\pagenumbering{arabic}. – Stephen Oct 30 '12 at 18:22