cleanthesis icon indicating copy to clipboard operation
cleanthesis copied to clipboard

Correct footer/header and hyperref/bookmark for unnumbered chapters

Open gasse opened this issue 8 years ago • 2 comments

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

gasse avatar Oct 17 '16 16:10 gasse

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.

johannesbottcher avatar Oct 17 '16 17:10 johannesbottcher

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

TinyRbrt avatar Jun 01 '17 20:06 TinyRbrt