[texhax] Chapter heading
wei qin
qin_2004 at yahoo.com
Thu Jul 22 22:26:36 CEST 2004
Hi,
While I was typesetting my thesis, some mysterious changes occured to the headings. It was "Chapter 1: introduction", and now it becomes simply "Introduction". I couldn't figure out the difference. The style file that I used defines the headings with the following code.
\LoadClass[12pt,letterpaper,onecolumn]{report}[1996/10/31]
%% PAGE HEADINGS
\if at twoside
\def\ps at plain{%
\def\@evenhead{}\def\@oddhead{}%
\def\@evenfoot{%
\null\hfil\rmfamily\thepage\quad{\slshape\leftmark}\hfil\null}%
\def\@oddfoot{%
\null\hfil{\slshape\rightmark}\quad\rmfamily\thepage\hfil\null}%
\def\chaptermark##1{}%
\def\sectionmark##1{}%
}
\def\ps at headings{%
\def\@evenfoot{}\def\@oddfoot{}%
\def\@evenhead{%
\rmfamily\thepage\quad{\slshape\leftmark}\hfil\null}%
\def\@oddhead{%
\null\hfil{\slshape\rightmark}\quad\rmfamily\thepage}%
\def\chaptermark##1{\markboth {##1}{}}%
\def\sectionmark##1{\markright %
{\ifnum \c at secnumdepth >\z@ \thesection\ \fi ##1}}%
}
\else
\def\ps at plain{%
\def\@evenhead{}\def\@oddhead{}\def\@evenfoot{}%
\def\@oddfoot{%
\null\hfil{\slshape\rightmark}\quad\rmfamily\thepage\hfil\null}%
\def\chaptermark##1{}%
\def\sectionmark##1{}%
}
\def\ps at headings{%
\def\@evenfoot{}\def\@oddfoot{}\def\@evenhead{}%
\def\@oddhead{%
\null\hfil{\slshape\rightmark}\quad\rmfamily\thepage}%
\def\chaptermark##1{\markright {##1}{}}%
}
\fi
The change happens to both twoside and oneside cases. Please point out to me what may cause the change and how to go back to the old heading style. Thanks in advance.
Wei
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20040722/c75f8dd0/attachment.htm
More information about the texhax
mailing list