Page LayoutHow to suppress chapter numbers in running head (scrpage2)?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
lkaestne
Posts: 5
Joined: Sun Jul 04, 2010 10:22 pm

How to suppress chapter numbers in running head (scrpage2)?

Post by lkaestne »

Hi there,

I'm using scrreprt (twosided) to typeset my dissertation with latex. For headers and footers I'm using scrpage2. I'm currently putting the chapter titles in right page headers, section titles in left page headers. Code posted below.

Now, what I would like to do is suppress the section and chapter numbers in the headers.

After unsuccessful searches through the web I'm really desperate for some hint(s) on how to go about this ...

Ideas anyone?

Thanks a lot!
Leo

Code: Select all

\documentclass[12pt, a4paper, twoside, openright]{scrreprt}
\usepackage[a4paper, inner=3.5cm, outer=6cm]{geometry}
\usepackage{changepage}

\usepackage[english]{babel}

\usepackage{graphicx}

\usepackage{scrpage2}
\pagestyle{scrheadings}
\clearscrheadings
\rohead{\rightmark}
\lehead{\leftmark}
\automark[section]{chapter}

\usepackage{setspace}

\begin{document}

\titlepage{TITLEPAGE}

\chapter{Abstract}
abstract here

\newpage

\chapter{Introduction}

Looooong Text

\section{section 1}
more text
\section{section 2}
even more text

... etc. ...

\end{document}
PS: I'm new here -- hope the post is formatted correctly etc.

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

How to suppress chapter numbers in running head (scrpage2)?

Post by Stefan Kottwitz »

Hi Leo,

welcome to the board!
A quick way would be to disable \chaptermarkformat and \sectionmarkformat:

Code: Select all

\let\chaptermarkformat\relax
\let\sectionmarkformat\relax
Because those marks could support finding a chapter or section after looking into the table of contents, I can imagine that the numbers might be useful though. I don't regard headers just as decoration.
Perhaps check also comparable published books regarding this style.

Stefan
LaTeX.org admin
lkaestne
Posts: 5
Joined: Sun Jul 04, 2010 10:22 pm

Re: How to suppress chapter numbers in running head (scrpage

Post by lkaestne »

It does the trick! Thanks a lot, Stefan!

Regarding the style: I thought of suppressing the numbers precisely because that's how I found it in a few published books. You've got a point, though. I'll see what the whole document looks like once all the chapters are in.

Thanks again for the quick and easy solution! :)

Leo
Post Reply