summaryrefslogtreecommitdiff
path: root/macros/optex/base/fnotes.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/optex/base/fnotes.opm')
-rw-r--r--macros/optex/base/fnotes.opm5
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/optex/base/fnotes.opm b/macros/optex/base/fnotes.opm
index 62912d0400..661d54c33f 100644
--- a/macros/optex/base/fnotes.opm
+++ b/macros/optex/base/fnotes.opm
@@ -129,12 +129,13 @@
The \`\_mnoteD``{<text>}` macro sets the position of the marginal note.
The outer box of marginal note has zero width and zero depth and it is appended
after current line using `\vadjust` primitive or it is inverted to vertical mode
- as a box with `\vskip-\baselineskip` followed.
+ as a box shifted down by `\parskip` and with `\vskip-\baselineskip` followed.
\_cod -----------------------------
\_def\_mnote #1#{\_ifx^#1^\_else \_mnoteC#1\_end \_fi \_mnoteD}
\_def\_mnoteC up#1\_end{\_mnoteskip=#1\_relax} % \mnote up<dimen> {<text>} syntax
-\_long\_def\_mnoteD#1{\_ifvmode {\_mnoteA{#1}}\_nobreak\_vskip-\_baselineskip \_else
+\_long\_def\_mnoteD#1{%
+ \_ifvmode \_vskip\_parskip{\_mnoteA{#1}}\_nobreak\_vskip-\_baselineskip\_vskip-\_parskip \_else
\_lower\_dp\_strutbox\_hbox{}\_vadjust{\_kern-\_dp\_strutbox \_mnoteA{#1}\_kern\_dp\_strutbox}%
\_fi
}