added marginpar stuff (slightly broken)
authorJohn Kohl <jtkohl@mit.edu>
Thu, 20 Sep 1990 13:54:10 +0000 (13:54 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 20 Sep 1990 13:54:10 +0000 (13:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1135 dc483132-0cff-0310-8789-dd5450dbe970

doc/api/functions.sty
doc/implement/functions.sty

index dcccfb542a146ac18d63ab5511891fc09de4a817..3d04f34a7507688d85da01125e6a51969a4db631 100644 (file)
@@ -9,17 +9,21 @@
 \fi
 \let\funcfont=\bf
 \newcount\argc@ount
+\reversemarginpar
+\setlength{\marginparsep}{3pt}
+%\setlength{\marginparwidth}{1in}
 %
 % funcdecl is used as \begin{funcdecl}{funcname}{return type}{firstline}
 %
 % see fixunder.sty for comments on why the \underrealtrue & \underrealfalse
 % stuff is here.
 \newenvironment{funcdecl}[3]{\underrealtrue\index{#1}\underrealfalse%
+\gdef\funcn@me{#1}
 \argc@ount=0\begin{tabbing}
 #2 \\
 {\bf #1}(\= \+ #3%
 }{)
-\end{tabbing}
+\end{tabbing}\marginpar{{\sloppy \funcn@me}}
 }
 \newcommand{\docomm@}{\ifnum\argc@ount >0, \\\fi}
 \newcommand{\funcvoid}{\argc@ount=0}
index dcccfb542a146ac18d63ab5511891fc09de4a817..3d04f34a7507688d85da01125e6a51969a4db631 100644 (file)
@@ -9,17 +9,21 @@
 \fi
 \let\funcfont=\bf
 \newcount\argc@ount
+\reversemarginpar
+\setlength{\marginparsep}{3pt}
+%\setlength{\marginparwidth}{1in}
 %
 % funcdecl is used as \begin{funcdecl}{funcname}{return type}{firstline}
 %
 % see fixunder.sty for comments on why the \underrealtrue & \underrealfalse
 % stuff is here.
 \newenvironment{funcdecl}[3]{\underrealtrue\index{#1}\underrealfalse%
+\gdef\funcn@me{#1}
 \argc@ount=0\begin{tabbing}
 #2 \\
 {\bf #1}(\= \+ #3%
 }{)
-\end{tabbing}
+\end{tabbing}\marginpar{{\sloppy \funcn@me}}
 }
 \newcommand{\docomm@}{\ifnum\argc@ount >0, \\\fi}
 \newcommand{\funcvoid}{\argc@ount=0}