Please consider this code snips:
\def\chaptermark##1{\markboth{\@chapapp\ \thechapter\ ##1}{##1}} % left mark & right marks
and
\def\sectionmark##1{\markright{##1}}
How can I redefine \sectionmark{}
so that it contains the value (the ##1
argument) from \chaptermark##1
in \markright{}
?
i.e something like this :
\def\sectionmark{\markright{\chaptermark##1{##1}}}
##1
, why do you need the section to also set it explicitly?