<DIV>Thanks, Herbert. I found out that after deleting the code from the class file, the heading works perfectly. The code is apparently useless and shadows the heading definition in report.cls. </DIV>
<DIV> </DIV>
<DIV>Wei<BR><BR><B><I>Herbert Gintis <hgintis@comcast.net></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><FONT size=3><X-TAB> </X-TAB>You have to redefine "chaptermark", which now says to print nothing! I don't know what you did, but in the report.cls file, chaptermark is chock full of neat stuff.<BR><X-TAB> </X-TAB>You should find report.cls (usually where latex.ltx is), and fix it up.<BR><BR>Herb Gintis<BR><BR>At 01:26 PM 7/22/2004 -0700, wei qin wrote:<BR><BR>
<BLOCKQUOTE class=cite cite="" type="cite">Hi,<BR> <BR> 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.<BR> <BR>\LoadClass[12pt,letterpaper,onecolumn]{report}[1996/10/31]<BR> <BR>%% PAGE HEADINGS<BR>\if@twoside<BR> \def\ps@plain{%<BR> \def\@evenhead{}\def\@oddhead{}%<BR> \def\@evenfoot{%<BR> \null\hfil\rmfamily\thepage\quad{\slshape\leftmark}\hfil\null}%<BR> \def\@oddfoot{%<BR>
\null\hfil{\slshape\rightmark}\quad\rmfamily\thepage\hfil\null}%<BR> \def\chaptermark##1{}%<BR> \def\sectionmark##1{}%<BR> }<BR> \def\ps@headings{%<BR> \def\@evenfoot{}\def\@oddfoot{}%<BR> \def\@evenhead{%<BR> \rmfamily\thepage\quad{\slshape\leftmark}\hfil\null}%<BR> \def\@oddhead{%<BR> \null\hfil{\slshape\rightmark}\quad\rmfamily\thepage}%<BR> \def\chaptermark##1{\markboth {##1}{}}%<BR> \def\sectionmark##1{\markright %<BR> {\ifnum \c@secnumdepth >\z@
\thesection\ \fi ##1}}%<BR> }<BR>\else<BR> \def\ps@plain{%<BR> \def\@evenhead{}\def\@oddhead{}\def\@evenfoot{}%<BR> \def\@oddfoot{%<BR> \null\hfil{\slshape\rightmark}\quad\rmfamily\thepage\hfil\null}%<BR> \def\chaptermark##1{}%<BR> \def\sectionmark##1{}%<BR> }<BR> \def\ps@headings{%<BR> \def\@evenfoot{}\def\@oddfoot{}\def\@evenhead{}%<BR> \def\@oddhead{%<BR> \null\hfil{\slshape\rightmark}\quad\rmfamily\thepage}%<BR> \def\chaptermark##1{\markright {##1}{}}%<BR>
}<BR>\fi<BR> <BR> 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.<BR> <BR>Wei<BR><BR>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR><A href="http://mail.yahoo.com/" eudora="autourl">http://mail.yahoo.com</A> <BR>_______________________________________________<BR>TeX FAQ: <A href="http://www.tex.ac.uk/faq" eudora="autourl">http://www.tex.ac.uk/faq</A><BR>TeX newsgroup: <A href="http://groups.google.com/groups?group=comp.text.tex" eudora="autourl">http://groups.google.com/groups?group=comp.text.tex</A><BR>Mailing list archives: <A href="http://tug.org/pipermail/texhax/" eudora="autourl">http://tug.org/pipermail/texhax/</A><BR>More links: <A href="http://tug.org/begin.html" eudora="autourl">http://tug.org/begin.html</A><BR><BR>Automated subscription management:
<A href="http://tug.org/mailman/listinfo/texhax" eudora="autourl">http://tug.org/mailman/listinfo/texhax</A><BR>Human mailing list managers: postmaster@tug.org</BLOCKQUOTE><X-SIGSEP>
<P></X-SIGSEP>Herbert Gintis <BR>External Faculty, Santa Fe Institute <BR>Emeritus Professor, University of Massachusetts <BR>15 Forbes Avenue, Northampton, MA 01060 <BR>413-586-7756 (Home Office) 206-984-9873 (Fax)<BR>Recent papers are posted on my <A href="http://www-unix.oit.umass.edu/~gintis">web site</A>.<BR>Get <B>Game Theory Evolving</B> (Princeton, 2000) at <A href="http://www.amazon.com/exec/obidos/tg/detail/-/0691009430/qid=1057311870/sr=1-1/ref=sr_1_1/002-8882889-4632849?v=glance&s=books">Amazon.com</A><BR>Look for <B>Moral Sentiments and Material Interests </B>(MIT Press,
2004)<BR>Look for <B>Unequal Chances</B> (Princeton UP, 2004)<BR>Quote of the week: <BR> The philosophers kick up the dust and then complain they cannot see. <BR> Bishop Berkeley, A Treatise Concerning Human Knowledge<BR><BR><X-TAB> </X-TAB><BR> <BR><BR><B> </FONT></B>_______________________________________________<BR>TeX FAQ:
http://www.tex.ac.uk/faq<BR>TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex<BR>Mailing list archives: http://tug.org/pipermail/texhax/<BR>More links: http://tug.org/begin.html<BR><BR>Automated subscription management: http://tug.org/mailman/listinfo/texhax<BR>Human mailing list managers: postmaster@tug.org</P></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://advision.webevents.yahoo.com/yahoo/votelifeengine/">Vote for the stars of Yahoo!'s next ad campaign!</a>