[texhax] texhax Digest, Vol 2009, Issue 480
Ng E-Ching
ng.eching at gmail.com
Thu Dec 10 22:24:01 CET 2009
Apologies if this is a silly question. I am making a header using the
fancyhdr package, and I would like to automatically use the information
from \title, \author and \date. The short title used by the table of
contents would be especially helpful. But I haven't been able to figure
out what the commands would be ... does anyone know?
\title{My test document}
\author{E-Ching Ng}
\date{4 Dec 2009}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.5pt}
\lhead{AUTHOR}\chead{TITLE}\rhead{DATE} % Code needed here
\lfoot{}\cfoot{\thepage}\rfoot{}
Hopefully,
E-Ching
More information about the texhax
mailing list