[OS X TeX] amsart & fancyhdr question

Lantz Susan lantzs at tristate.edu
Tue Mar 11 12:25:19 EDT 2008

I'd would greatly appreciate it if someone could tell me why the tex file below does not put the section number and title as the left side of the header. The left header is blank, no matter whether I use \markboth, \markright, or \markleft when re-defining the sectionmark. (I've tried using \rightmark in \lhead{ . . . } when sectionmark is re-defined with either \markboth or \markright, but no matter what I do, the left header is blank.)

Is this a peculiarity of the amsart documentclass? (I've never had this kind of trouble with the book class or amsbook class.)

-------------- demo.tex -----------------

% File: Bio-MSdegrees.tex
% Typeset with LaTeX
\pdfpageheight 11in

\setlength\parskip{0pt} % was 3pt

% redefine sectionmark
\renewcommand\sectionmark[1]{\markleft{\thesection. #1}} % neither \markboth nor \markright work

% clear any old style settings

% define new headers/footers
\lhead{\scshape\nouppercase\leftmark} % \rightmark doesn't work either
\rhead{Page \thepage\ of \pageref{LastPage}}
\rfoot{SAL, 20--29 February  \& 03--11 March 2008}

% redefine list styles for enumerated lists

\section{First Section Heading}

Text, text, and more text.


More text. Some equations.

\section{Second Section Heading}

Lots of words. 


More words and/or equations.

\section{Third Section Heading}

Blither, blather.


More scintillating text.

------------------- demo.aux -------
\@writefile{toc}{\contentsline {section}{\tocsection {}{1}{First Section Heading}}{1}}
\@writefile{toc}{\contentsline {section}{\tocsection {}{2}{Second Section Heading}}{2}}
\@writefile{toc}{\contentsline {section}{\tocsection {}{3}{Third Section Heading}}{3}}

There's nothing the least bit unusual in the log file.

Susan Lantz

Susan A. Lantz, Ph.D.
Associate Professor of Mechanical Engineering
Tri-State University
lantzs at tristate.edu

More information about the MacOSX-TeX mailing list