From: John Kohl Date: Wed, 5 Sep 1990 17:11:25 +0000 (+0000) Subject: add rules on fancy & plain foots & heads X-Git-Tag: krb5-1.0-alpha2~321 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a9844d1ae10f17e0d822647c7a21c04088e17f2a;p=krb5.git add rules on fancy & plain foots & heads fix up headers/footers to include the page number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1090 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/doc/api/library.tex b/doc/api/library.tex index 1263597b3..489f79bb7 100644 --- a/doc/api/library.tex +++ b/doc/api/library.tex @@ -6,18 +6,23 @@ \setlength{\parskip}{.1in} \setlength{\parindent}{2em} \setlength{\textwidth}{6.25in} +\setlength{\footrulewidth}{0.4pt} +\setlength{\plainfootrulewidth}{0.4pt} +\setlength{\plainheadrulewidth}{0.4pt} \makeindex \newif\ifdraft \drafttrue \typein{Draft flag? (type \noexpand\draftfalse if not draft...)} \ifdraft -\pagestyle{fancy} +\pagestyle{fancyplain} \makeatletter \renewcommand{\sectionmark}[1]{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@ \thesection\hskip 1em\relax \fi #1}}{}}% \renewcommand{\subsectionmark}[1]{\markright {\ifnum \c@secnumdepth >\@ne \thesubsection\hskip 1em\relax \fi #1}} \makeatother +\lhead[\thepage]{\fancyplain{}{\sl\rightmark}} +\rhead[\fancyplain{}{\sl\rightmark}]{\thepage} \cfoot{{\bf DRAFT---DO NOT REDISTRIBUTE}} \else\pagestyle{headings}\fi \begin{document} diff --git a/doc/implement/implement.tex b/doc/implement/implement.tex index 1263597b3..489f79bb7 100644 --- a/doc/implement/implement.tex +++ b/doc/implement/implement.tex @@ -6,18 +6,23 @@ \setlength{\parskip}{.1in} \setlength{\parindent}{2em} \setlength{\textwidth}{6.25in} +\setlength{\footrulewidth}{0.4pt} +\setlength{\plainfootrulewidth}{0.4pt} +\setlength{\plainheadrulewidth}{0.4pt} \makeindex \newif\ifdraft \drafttrue \typein{Draft flag? (type \noexpand\draftfalse if not draft...)} \ifdraft -\pagestyle{fancy} +\pagestyle{fancyplain} \makeatletter \renewcommand{\sectionmark}[1]{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@ \thesection\hskip 1em\relax \fi #1}}{}}% \renewcommand{\subsectionmark}[1]{\markright {\ifnum \c@secnumdepth >\@ne \thesubsection\hskip 1em\relax \fi #1}} \makeatother +\lhead[\thepage]{\fancyplain{}{\sl\rightmark}} +\rhead[\fancyplain{}{\sl\rightmark}]{\thepage} \cfoot{{\bf DRAFT---DO NOT REDISTRIBUTE}} \else\pagestyle{headings}\fi \begin{document}