Theses, Books, Title pagesShort section names or chapter names for header

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Short section names or chapter names for header

Post by templateuser »

Hi,

I am writing my phd thesis with the excellent classicthesis style. Thanks a lot for providing such a perfect looking style.
However a problem occurs with long section or chapter titles. In the text and in the toc they are wrapped correctly. In the head they are too wide and cross the margin of the page.

Is there a way to break/wrap the headline ?

If not:
According to http://www.tex.ac.uk/cgi-bin/texfaq2htm ... headtoobig there is a workaround to use optional shorter names using \sectionmark and \chaptermark.
This works in the classicthesis-style for all upcoming pages. However on the page where the section or chapter starts itself, it does not take the \*mark but the long version that doesn't fit. Adding the \sectionmark in the obligatory section parameter doesn't help:

Code: Select all

\section[title for TOC]{Very long title that unfortunately doesn't fit into
the headline\sectionmark{short title}}
\sectionmark{short title}}
-> following pages: good, page where the section starts: bad

Thanks for your help,

Martin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply