[Tex/LaTex] How to display a short chapter name in the header and a long chapter name in the ToC

chaptersheader-footersectioningtable of contents

I am writing a book and one of my chapters has a very long title. As it can't be displayed correctly on the top of even pages, I provide a "short title name" via the

\chapter[short title]{long title}

command. But then, "short title" appears in the table of contents instead of the original/true/long one.

How can I have the "short title" in the header of even pages, and the "long title" in the ToC and in the "Title header"?

For reference, here is the code I use:

\chapter[Short title]{Very vey very very very very very very long title
    i can't display in the header}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Best Answer

\chapter[toc version]{doc version}
\chaptermark{version for header}

Helpful link with more information (also for similar or different use-cases):


Related Question