[OS X TeX] OT: modern substitute for fancyheadings.sty
Roussanka Loukanova
rloukano at stp.lingfil.uu.se
Sat Feb 24 19:16:10 EST 2007
Hi,
On Sat, 24 Feb 2007, Bruno Voisin wrote:
> Right now I've got to write a communication for a conference, using a
> specific LaTeX class which again is a second thought of a Word template.
>
...
> Hence the question: is there a current LaTeX package that offers the same
> functionality as fancyheadings, while implying minimal changes to a class
> file requiring fancyheadings (ideally supporting the same commands as
> fancyheadings, in a kind of backwards-compatibility mode)?
Like the others, I also would say fancyhdr.sty (it is in both
distributions, gwTeX and TeXLive-2007).
I find it useful in course handouts, exams, etc., and have been using it
for quite long time. Here are the relevant lines of my typical preamble:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{14pt} % space for the rule
\lhead{Updated: \today \hfill Set 4}%{\small 1st version: 2005}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\title{Some Generative Grammars: Set 4}
\author{XYZ}
\date{draft}
\maketitle
\thispagestyle{fancy} %% to have the rule ad the header on the title page
%\thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Roussanka
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list