Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm writing my thesis in the memoir class, with the companion headings (\pagestyle{companion}). Following on from the TOC, I have the acknowledgements, abbrevations and abstract, before the introduction, which is marked


Unfortunately, I'm getting the "Contents" heading above all the pages until the Introduction.

Is there any way to have no heading there at all?

share|improve this question
Welcome to TeX.sx! I took the liberty of correcting what seems to be a typo: you probably meant \chapter* in the code. Also, could you please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Corentin Feb 11 '13 at 23:03
Thanks! Here is a MWE: \documentclass{memoir} \pagestyle{companion} \begin{document} \pagenumbering{roman} \begin{KeepFromToc} \tableofcontents \end{KeepFromToc} \pagenumbering{roman} \newpage{} \begin{abstract} Abstract Text \newpage{} \end{abstract} \section*{Acknowledgements} \subsection*{{\small A subsection}} Subsection text \subsubsection*{{\small A subsubsection}} more text \cleardoublepage{} \pagenumbering{arabic} \chapter*[Introduction]{Introduction} \addcontentsline{toc}{chapter}{Introduction} \end{document} –  user25822 Feb 12 '13 at 1:11
Apologies, I tried to enter line breaks in my MWE but they didn't come through. –  user25822 Feb 12 '13 at 1:14
My guess is I need to define a \pagestyle other than {companion}, and then switch to {companion} at the introduction. What is the name of the \pagestyle that will give me only page numbers and nothing else in the header? –  user25822 Feb 12 '13 at 1:15
I've now solved it, by adding \pagestyle{simple} before the TOC, and \pagestyle{companion} before \chapter*[Introduction]{Introduction}. Thank-you so much for your help! –  user25822 Feb 12 '13 at 1:49
show 2 more comments

closed as too localized by lockstep, Andrew Swann, mafp, Stefan Kottwitz Mar 20 '13 at 13:41

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.