Page LayoutUnwanted CHAPTER 0

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Joe2718
Posts: 4
Joined: Mon Mar 27, 2017 6:22 pm

Unwanted CHAPTER 0

Post by Joe2718 »

My book is structured as:
%%%%%%%%%%%%%%%%%%%%%
\include{Preamble}
\begin{document}
\frontmatter
...
\include{Preface}
\mainmatter
%%%%%%%%%%%%%%%%%%%%%
I also have:
\fancyhead[RE,LO]{\slshape \leftmark}.

On page 'vi' the upper right hand corner of the page reads "CHAPTER 0. PREFACE"

In my opinion, CHAPTER 0 doesn't look nice, since one doesn't think of a PREFACE as a CHAPTER. Is there a way to suppress it so the upper right hand corner just reads "PREFACE"?

Thank you,
Joe

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Unwanted CHAPTER 0

Post by Stefan Kottwitz »

Hi Joe!

\include is (mostly) for chapters, since it starts a new page for each included file. So, instead of \include{Preamble} please write \input{Preamble}. \input just plainly copies the file in.

That's important, but not the main issue.

Chapter 0 is something strange, that should not happen if all is normal. What is your code?

Stefan
LaTeX.org admin
Post Reply