I currently use Latex for a simple paper that's based on the extbook class. My source code looks like this:
\documentclass[10pt, twoside]{extbook}
\usepackage[german]{babel}
\usepackage{blindtext}
\setlength{\parindent}{0pt}
\usepackage[paperheight = 18cm, paperwidth = 11.5cm, outer=1.5cm, inner = 1.5cm, top = 1.3cm, bottom=2cm]{geometry}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{{\chaptertitlename\ \thechapter}}{20pt}{\large}
\usepackage{fancyhdr}
\fancypagestyle{wholeBook}{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[RO, LE]{\thepage}
\fancyfoot[C]{}
}
\pagestyle{wholeBook}
\begin{document}
\sloppy
\input{Chapters/Chapter1.tex}
\input{Chapters/Chapter2.tex}
... etc
\end{document}
This is meant to produce a page number on the left side of every even page and on the right of every odd page. Oddly enough, it produces unexpected output: For every first page of a chapter, the page number appears in the middle of the page.
I don't want this, yet I have no clue how to disable it. Does anybody here have a solution?
texdoc extbookwith no useful result. Where is theextbookclass defined and available? – Peter Wilson Jun 12 '20 at 18:09plainpage style, so you need to redefine that (the fancyhdr documentation has some special notes about that) – David Carlisle Jun 12 '20 at 18:24