From ffda578080c188caa6b2af3e6c98b2c115e9510d Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 7 Mar 1991 11:48:59 +0000 Subject: [PATCH] put some fil/fill into the marginpars git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1869 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/api/functions.sty | 7 +++++-- doc/implement/functions.sty | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/api/functions.sty b/doc/api/functions.sty index 35fab107a..412df84b3 100644 --- a/doc/api/functions.sty +++ b/doc/api/functions.sty @@ -40,8 +40,11 @@ \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% diff --git a/doc/implement/functions.sty b/doc/implement/functions.sty index 35fab107a..412df84b3 100644 --- a/doc/implement/functions.sty +++ b/doc/implement/functions.sty @@ -40,8 +40,11 @@ \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% -- 2.26.2