I'm using the KOMA-Script Book class to create a book in LyX. I don't want to have any headers in my book, but they're active by default. Is there anything I can do to turn them off?
Thank you for any help you may provide!
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI'm using the KOMA-Script Book class to create a book in LyX. I don't want to have any headers in my book, but they're active by default. Is there anything I can do to turn them off?
Thank you for any help you may provide!
There are four predefined page styles that can be used with KOMA-Script class without loading an additional package for header and footer.
You can use \pagestyle{plain}
to get the page number in footer but an empty header.
empty
: header and footer are emptyheadings
: page number in footer, headings will be set by chapters, sections etc. myheadings
: page number in footer, headings have to be set by the userplain
: page number in footer, header is emptyThe default page style of scrbook
is headings
. So the chapter will be in header on even pages and the sections on odd pages.
It seems that you want to use page style plain
.
\documentclass{scrbook}
\usepackage{blindtext}% dummy text
\pagestyle{plain}
\begin{document}
\blinddocument
\end{document}
Or you can use \pagestyle{myheadings}
. This pagestyle allows to set own header entries using \markboth
or \markright
. These entries will then not be changed by new chapters or sections.
\documentclass{scrbook}
\usepackage{blindtext}% dummy text
\pagestyle{myheadings}
\begin{document}
\blinddocument% empty header
\markboth
{My header entry on even pages}
{My header entry on odd pages}
\blinddocument% header with own entries
\end{document}