Customizing myheadings



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.

.



Relevant Pages

  • Re: 61% of Americans believe what?
    ... Geeze, Michael, whatever makes you think Marco passes by ... Folks with even a modicum of understanding ... in this NG run shrieking from the room but Phil's 61 percenters scratch ... Yada, yada, yada. ...
    (sci.anthropology.paleo)
  • Re: Centralizers, Normalizers and the Center
    ... and they cyclic group of order 8 calculating each of these in ... order to get a better understanding of what they were. ... I recommend the ... Prev by Date: ...
    (sci.math)
  • Re: The Old Vinyl vs. CD Debate
    ... understanding, open-minded, forgiving, and generally saint-like character I ... Prev by Date: ...
    (rec.music.classical.recordings)
  • Re: Rational and irrational numbers
    ... yourself, and where possible, go for depth of understanding -- after ... all, you're deepkdeb. ... Prev by Date: ...
    (sci.math)
  • Re: Will PDAs have flexible LCDs to save space?
    ... "I'll have you know I've been nothing but compassionate and ... understanding. ... All you had to do was admit that you were wrong and I ... Prev by Date: ...
    (comp.sys.palmtops.pilot)