Text FormattingChapter title header too long

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Chapter title header too long

Post by clemens »

Hello,

I am using the Memoir class.
With the default chapter style I get at the top of each page, in the header, the full name of the chapter (ex. CHAPTER 1: Whatever title).
Since some of the chapter titles are too long and don't look nice on two lines, I would simply like to have CHAPTER 1 as header, nothing else, but in the TOC have the full title.
Is it possible?
Cheers
Last edited by Stefan Kottwitz on Mon Sep 14, 2009 3:05 pm, edited 1 time in total.
Reason: marked as solved

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Chapter title header too long

Post by localghost »

Such sectioning commands have an optional argument for the ToC which also determines the contents of the running head.


Best regards
Thorsten
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Chapter title header too long

Post by clemens »

Thank you very much, it now works perfectly :)
rf
Posts: 21
Joined: Mon Jul 20, 2009 5:27 pm

Re: Chapter title header too long

Post by rf »

actually, since you're using memoir, you can do better
than just a single replacement. the manual says

\chapter[toc-title][head-title]{title}

you're only using the first optional argument, as yet. does your
page heading not contain rather a lot of stuff? -- if so, you can
avoid that by

\chapter[full title][indicator for running head]{}

fwiw, i would use an abbreviated chapter title, rather than nothing.

perhaps you could put a summary of the chapter immediately after the
\chapter command (perhaps in a quote environment) ... or perhaps the
verbose chapter title you don't like having in full.
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Chapter title header too long

Post by clemens »

WOW, thank you very much for all the information.
Post Reply