From f0e9306f4c7b6313a666ea93449d9534bb330561 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 31 Aug 1990 10:16:56 +0000 Subject: [PATCH] add backslash & pagestyle stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1061 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/api/library.tex | 12 +++++++++--- doc/implement/implement.tex | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/doc/api/library.tex b/doc/api/library.tex index 2256a309b..eb0da2b2b 100644 --- a/doc/api/library.tex +++ b/doc/api/library.tex @@ -1,4 +1,4 @@ -\documentstyle[newcen,fixunder,functions,changebar,twoside]{article} +\documentstyle[newcen,fixunder,functions,changebar,twoside,fancyheadings,backslash]{article} \setlength{\oddsidemargin}{0.25in} \setlength{\evensidemargin}{-0.25in} \setlength{\topmargin}{-.5in} @@ -7,11 +7,17 @@ \setlength{\parindent}{2em} \setlength{\textwidth}{6.25in} \makeindex -\pagestyle{headings} \newif\ifdraft \drafttrue -\typein{Draft flag? (type /draftfalse if not draft...)} +\typein{Draft flag? (type \backslash draftfalse if not draft...)} +\ifdraft +\pagestyle{fancy} +\lhead[\fancyplain{}\thepage]{\fancyplain{}{\sl \leftmark}} +\rhead[\fancyplain{}{\sl \leftmark}]{\fancyplain{}\thepage} +\cfoot{{\bf DRAFT---DO NOT REDISTRIBUTE}} +\else\pagestyle{headings}\fi \begin{document} +\thispagestyle{empty} \begin{center} {\Huge Kerberos V5 application programming library} \ifdraft \\ {\Large DRAFT---\today}\fi diff --git a/doc/implement/implement.tex b/doc/implement/implement.tex index 2256a309b..eb0da2b2b 100644 --- a/doc/implement/implement.tex +++ b/doc/implement/implement.tex @@ -1,4 +1,4 @@ -\documentstyle[newcen,fixunder,functions,changebar,twoside]{article} +\documentstyle[newcen,fixunder,functions,changebar,twoside,fancyheadings,backslash]{article} \setlength{\oddsidemargin}{0.25in} \setlength{\evensidemargin}{-0.25in} \setlength{\topmargin}{-.5in} @@ -7,11 +7,17 @@ \setlength{\parindent}{2em} \setlength{\textwidth}{6.25in} \makeindex -\pagestyle{headings} \newif\ifdraft \drafttrue -\typein{Draft flag? (type /draftfalse if not draft...)} +\typein{Draft flag? (type \backslash draftfalse if not draft...)} +\ifdraft +\pagestyle{fancy} +\lhead[\fancyplain{}\thepage]{\fancyplain{}{\sl \leftmark}} +\rhead[\fancyplain{}{\sl \leftmark}]{\fancyplain{}\thepage} +\cfoot{{\bf DRAFT---DO NOT REDISTRIBUTE}} +\else\pagestyle{headings}\fi \begin{document} +\thispagestyle{empty} \begin{center} {\Huge Kerberos V5 application programming library} \ifdraft \\ {\Large DRAFT---\today}\fi -- 2.26.2