could anybody tell me how to use \thechapter in the table of contents rather than \chaptermark?
The problem I have is that I want to use short titles across the top of each page, but full titles in the toc. I'm using \pagestyle{fancyplain} \usepackage[]{tocstyle}
\usetocstyle{classic}
thanks for any help, Claire
Text Formatting ⇒ Short Headings in Header, Full Headings in ToC
Short Headings in Header, Full Headings in ToC
Last edited by clairepop on Thu Jul 28, 2011 6:38 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Short Headings in Header, Full Headings in ToC
I have now solved this using:
Code: Select all
\pagestyle{headings}
\makeatletter
\newcommand*\std@chapter{}
\let\std@chapter=\@chapter
\renewcommand*\@chapter[2][]{\std@chapter[#2]{#2}\chaptermark{#1}}
\makeatother
Last edited by Stefan Kottwitz on Mon Jul 25, 2011 6:22 pm, edited 1 time in total.