summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/spac-ver.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-04-19 20:58:40 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-04-19 20:58:40 +0200
commitb9a7e870cf47674c90331b41f9267768992b49cb (patch)
tree7b7bb2ee92af1767712ffcfbec47995c8894e214 /tex/context/base/mkxl/spac-ver.mkxl
parentb155eafa1e2d73692eed08ecabeb5ad589ac11dc (diff)
downloadcontext-b9a7e870cf47674c90331b41f9267768992b49cb.tar.gz
2022-04-19 19:52:00
Diffstat (limited to 'tex/context/base/mkxl/spac-ver.mkxl')
-rw-r--r--tex/context/base/mkxl/spac-ver.mkxl22
1 files changed, 22 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/spac-ver.mkxl b/tex/context/base/mkxl/spac-ver.mkxl
index be7b2bf5e..12cf8c687 100644
--- a/tex/context/base/mkxl/spac-ver.mkxl
+++ b/tex/context/base/mkxl/spac-ver.mkxl
@@ -2368,4 +2368,26 @@
\permanent\protected\def\ignoreparskip{\c_spac_vspacing_ignore_parskip\plusone}
+%D New, use with care:
+%D
+%D \starttyping
+%D test test test \hfill\break
+%D test \blankbefore test
+%D test \blankbefore[2*line] test
+%D test \blankbefore test
+%D test test test \hfill\break
+%D test \blankbefore test
+%D test \blankbefore test
+%D test \blankbefore test
+%D test test test \hfill\break
+%D test \blankafter test
+%D test \blankafter test
+%D test \blankafter test
+%D test test test \hfill\break
+%D test test test \hfill\break
+%D \stoptyping
+
+\permanent\tolerant\protected\def\blankbefore[#1]{\vadjust pre {\ifcstok{#1}\emptytoks\blank\else\blank[#1]\fi}}
+\permanent\tolerant\protected\def\blankafter [#1]{\vadjust post{\ifcstok{#1}\emptytoks\blank\else\blank[#1]\fi}}
+
\protect \endinput