add backslash & pagestyle stuff
authorJohn Kohl <jtkohl@mit.edu>
Fri, 31 Aug 1990 10:16:56 +0000 (10:16 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 31 Aug 1990 10:16:56 +0000 (10:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1061 dc483132-0cff-0310-8789-dd5450dbe970

doc/api/library.tex
doc/implement/implement.tex

index 2256a309b5ce82122053b17719c95953da5f0a2e..eb0da2b2b5d024a8b57e4ad6a7c47c9266f4e38c 100644 (file)
@@ -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<CR> if not draft...)}
+\typein{Draft flag? (type \backslash draftfalse<CR> 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
index 2256a309b5ce82122053b17719c95953da5f0a2e..eb0da2b2b5d024a8b57e4ad6a7c47c9266f4e38c 100644 (file)
@@ -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<CR> if not draft...)}
+\typein{Draft flag? (type \backslash draftfalse<CR> 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