I'm using the KOMA-Script to define my headings and I would like to show only the page number in the chapter start pages. I got this by creating a new style and using it with \thispagestyle{ChapterStyle}
after the \chapter{}
, but I have many chapters. Is there a way to add only the page number automatically to all the chapter start pages? Thanks for your attention and help!
Here follows what I've done:
\documentclass[a4paper,12pt,twoside]{report}
\usepackage{lipsum}
\usepackage[automark,headsepline,headtopline,footsepline,footbotline,nouppercase]{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\chead{\normalfont{\thechapter. \headmark}}
\cfoot{\pagemark}
% To define a page style
\deftripstyle{ChapterStyle}{}{}{}{}{\pagemark}{}
\begin{document}
\chapter{Chapter One}
\thispagestyle{ChapterStyle}
\lipsum
\chapter{Chapter Two}
\lipsum
\chapter{Chapter Three}
\lipsum
\chapter{Chapter Four}
\lipsum
\end{document}
Best Answer
In
report
the page style for\chapter
isplain
by default. To change this you either need to change theplain
page style, which may well have undesired side effects for other formatting in your document, or to patch the\chapter
command to use your own style:If you had been using
scrreprt
instead then there would be the easier mechanism of issuingA complete document for your
report
case is now: