put some fil/fill into the marginpars
authorJohn Kohl <jtkohl@mit.edu>
Thu, 7 Mar 1991 11:48:59 +0000 (11:48 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 7 Mar 1991 11:48:59 +0000 (11:48 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1869 dc483132-0cff-0310-8789-dd5450dbe970

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

index 35fab107a9575cddd46f0eb2dce295abf73c2005..412df84b38c5aa793a16bc4e38d9734931867206 100644 (file)
 \newenvironment{funcdecl}[3]{\underrealtrue\index{#1}\underrealfalse%
 \medbreak
 \gdef\funcn@me{#1}
-\argc@ount=0\noindent\marginpar[{{\sloppy \fix@parname{\funcn@me}}}]%
-{{\sloppy \hfill\fix@parname{\funcn@me}}}%
+\argc@ount=0\noindent%
+%the \mbox{} is to prevent the line/paragraph breaking from eating the
+%fill space.
+\marginpar[{{\sloppy \hfil\fix@parname{\funcn@me}\hfill\mbox{}}}]%
+{{\sloppy \hfill\fix@parname{\funcn@me}\hfil\mbox{}}}%
 \vbox\bgroup\begin{minipage}[t]{\textwidth}\begin{tabbing}
 #2 \\
 {\bf #1}(\= \+ #3%
index 35fab107a9575cddd46f0eb2dce295abf73c2005..412df84b38c5aa793a16bc4e38d9734931867206 100644 (file)
 \newenvironment{funcdecl}[3]{\underrealtrue\index{#1}\underrealfalse%
 \medbreak
 \gdef\funcn@me{#1}
-\argc@ount=0\noindent\marginpar[{{\sloppy \fix@parname{\funcn@me}}}]%
-{{\sloppy \hfill\fix@parname{\funcn@me}}}%
+\argc@ount=0\noindent%
+%the \mbox{} is to prevent the line/paragraph breaking from eating the
+%fill space.
+\marginpar[{{\sloppy \hfil\fix@parname{\funcn@me}\hfill\mbox{}}}]%
+{{\sloppy \hfill\fix@parname{\funcn@me}\hfil\mbox{}}}%
 \vbox\bgroup\begin{minipage}[t]{\textwidth}\begin{tabbing}
 #2 \\
 {\bf #1}(\= \+ #3%