Skip to content

Correct footer/header and hyperref/bookmark for unnumbered chapters#75

Open
gasse wants to merge 1 commit intoderric:masterfrom
gasse:master
Open

Correct footer/header and hyperref/bookmark for unnumbered chapters#75
gasse wants to merge 1 commit intoderric:masterfrom
gasse:master

Conversation

@gasse
Copy link
Copy Markdown

@gasse gasse commented Oct 17, 2016

There is an issue with unnumbered chapters with more than one page: the footer/header of the previous chapter is repeated.

This can be fixed by using \addchap* instead of \chapter* (e.g. for abstract), and \addchap instead of \chapter* + \pdfbookmark[0] + \addcontentsline{toc}{chapter} (e.g. for unnumbered Introduction chapter).

Also, cleanthesis.sty must be fixed to prevent footnotes such as "Chapter 0 Introduction"

Typically:
\addchap*{Abstract} % no footer/header, no TOC
\addchap{Introduction} % footer/header and TOC

@johannesbottcher
Copy link
Copy Markdown

Since cleanthesis is based on KOMA-script, \ifnumbered would be the way to go.

But with a development branch and very confusing header and footer definitions in both branches, i won't dig any deeper.

@TinyRbrt
Copy link
Copy Markdown

TinyRbrt commented Jun 1, 2017

You can also just use
\chapter*{Chapter Name}\markboth{Chapter Name}{}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants