[texhax] Chapter heading
Herbert Gintis
hgintis at comcast.net
Thu Jul 22 22:53:04 CEST 2004
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.
You should find report.cls (usually where latex.ltx is), and fix
it up.
Herb Gintis
At 01:26 PM 7/22/2004 -0700, wei qin wrote:
>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
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org
Herbert Gintis
External Faculty, Santa Fe
Institute
Emeritus Professor, University of Massachusetts
15 Forbes Avenue, Northampton, MA 01060
413-586-7756 (Home Office) 206-984-9873 (Fax)
Recent papers are posted on my <http://www-unix.oit.umass.edu/~gintis>web site.
Get Game Theory Evolving (Princeton, 2000) at
<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
Look for Moral Sentiments and Material Interests (MIT Press, 2004)
Look for Unequal Chances (Princeton UP, 2004)
Quote of the week:
The philosophers kick up the dust and then complain they cannot see.
Bishop Berkeley, A Treatise Concerning Human Knowledge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20040722/f324daf0/attachment.htm
More information about the texhax
mailing list