diff options
Diffstat (limited to 'doc/api/functions.sty')
| -rw-r--r-- | doc/api/functions.sty | 7 |
1 files changed, 5 insertions, 2 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% |
