I'm using the following structure:
\section[short chapter]{my long long long long section}
I would like to use the long section name in my table of contents, because the short chapter is now used there. Is this possible?
UPDATE
My chapter and section overlap in my header, I'm using a fancyhead in a report style. As a solution I found the structure I described above to make a shorter chapter. That resulted in a shorter table of contents line. Now, I want to use the long long long section for my table of contents.
Best Answer
The following might be sufficient for your needs. It provides an additional, optional argument for
\section
that is used for typesetting the header in a similar way to the interface provided bymemoir
:You can use
Of course, some conditioning is not necessary, as you can't have only the second optional argument and not the first (using the default
[
..]
notation).