summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/base/sections.opm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-06-24 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2020-06-24 03:01:16 +0000
commitf566a9b0d006a4d1aaa8501e771f6a5b7a55f9fe (patch)
treee0fb3eaba13adc65218e29780ecc59a14e237b43 /macros/luatex/optex/base/sections.opm
parentf18fa52d41e3ef33839ba943fe4987a6825ed278 (diff)
CTAN sync 202006240301
Diffstat (limited to 'macros/luatex/optex/base/sections.opm')
-rw-r--r--macros/luatex/optex/base/sections.opm3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/luatex/optex/base/sections.opm b/macros/luatex/optex/base/sections.opm
index d4cda17b83..20f3f063dd 100644
--- a/macros/luatex/optex/base/sections.opm
+++ b/macros/luatex/optex/base/sections.opm
@@ -70,6 +70,7 @@
\_cod ---------------------------
\_def\_printchap #1{\_vfill\_supereject
+ \_vglue\_medskipamount % shifted by topkip+\medskipamount
{\_chapfont \_noindent \_mtext{chap} \_printrefnum[@]\_par
\_nobreak\_smallskip
\_noindent \_raggedright #1\_nbpar}\_mark{}%
@@ -83,7 +84,7 @@
\_firstnoindent
}
\_def\_printsecc#1{\_par
- \_abovetitle{\_penalty-200}\_medskip
+ \_abovetitle{\_penalty-200}{\_medskip\_smallskip}
{\_seccfont \_noindent \_raggedright \_printrefnum[@\_quad]#1\_nbpar}%
\_nobreak \_belowtitle{\_medskip}%
\_firstnoindent