Customizing myheadings
- From: marcoa.castellon@xxxxxxxxx
- Date: 21 Oct 2005 20:41:06 -0700
Hello.
Would someone please explain to me what is being done in this following
TeX definition?
\def\bodyoftext{
\def\ps@myheadings{\let\@mkboth\markboth
\def\@oddfoot{\protect
\hbox to\hsize{\centerline\thepage}}
\def\@evenfoot{\protect
\hbox to\hsize{\centerline\thepage}}
\def\@evenhead{\protect
\hbox to\hsize{\emph{Chapter \leftmark}\hfill \me}}
\def\@oddhead{\protect
\hbox to\hsize{\me \hfill \emph{Section \rightmark}}}
\def\chaptermark####1{\markboth{\ifnum
\c@secnumdepth>\m@ne\thechapter\\ \fi: ####1}{}}
\def\sectionmark####1{\markright{\ifnum \c@secnumdepth
>\z@\thesection \\ \fi: ####1}}
}
\cleardoublepage
\setcounter{page}{1}
\pagestyle{myheadings}
\pagenumbering{arabic}
}
I am particularly interested in understanding the \def\chaptermark####1
and
\def\sectionmark####1 parts. What do all the #### mean?
Thank you in advance for your help.
Regards,
Marco.
.
- Follow-Ups:
- Re: Customizing myheadings
- From: Robin Fairbairns
- Re: Customizing myheadings
- Prev by Date: LaTeX fbox and framebox question
- Next by Date: memoir/listings weird conflict when indexing
- Previous by thread: LaTeX fbox and framebox question
- Next by thread: Re: Customizing myheadings
- Index(es):
Relevant Pages
|