Put doc title and release in the header.

This commit is contained in:
Georg Brandl
2008-02-01 10:53:24 +00:00
parent 4f7a8f3f96
commit 6adfa8050e
3 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,7 @@
\@thanks
\setcounter{footnote}{0}
\let\thanks\relax\let\maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
}

View File

@@ -96,7 +96,7 @@
\end{titlepage}%
\setcounter{footnote}{0}%
\let\thanks\relax\let\maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
}

View File

@@ -179,7 +179,8 @@
\fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}}
\fancyfoot[LO]{{\py@HeaderFamily\nouppercase{\rightmark}}}
\fancyfoot[RE]{{\py@HeaderFamily\nouppercase{\leftmark}}}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[LE,RO]{{\py@HeaderFamily \@title, \py@release}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
}
% Update the plain style so we get the page number & footer line,