aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-03-07 11:48:59 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-03-07 11:48:59 +0000
commitffda578080c188caa6b2af3e6c98b2c115e9510d (patch)
treecbd4fac7cfc81d761746cd365eae469958d60ec0 /doc
parentbd4a7bbf2a12cf2f04796e32ac3e38fa2806adcc (diff)
downloadkrb5-ffda578080c188caa6b2af3e6c98b2c115e9510d.zip
krb5-ffda578080c188caa6b2af3e6c98b2c115e9510d.tar.gz
krb5-ffda578080c188caa6b2af3e6c98b2c115e9510d.tar.bz2
put some fil/fill into the marginpars
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1869 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc')
-rw-r--r--doc/api/functions.sty7
-rw-r--r--doc/implement/functions.sty7
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/api/functions.sty b/doc/api/functions.sty
index 35fab10..412df84 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 35fab10..412df84 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%