diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-02-06 19:14:14 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-02-06 19:14:14 +0100 |
commit | 0d0874ba797ee44f9fa53ed0fe95d7a863bf2f1b (patch) | |
tree | ea9c82877dd7a14db92e964277551370ecc156cb /doc/context/sources/general/manuals/luametatex/luametatex-building.tex | |
parent | 83667a906d7cac842635bc5243db70f55b346562 (diff) | |
download | context-0d0874ba797ee44f9fa53ed0fe95d7a863bf2f1b.tar.gz |
2023-02-06 17:57:00
Diffstat (limited to 'doc/context/sources/general/manuals/luametatex/luametatex-building.tex')
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-building.tex | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-building.tex b/doc/context/sources/general/manuals/luametatex/luametatex-building.tex index 4941a5929..ca09c53f9 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-building.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-building.tex @@ -368,7 +368,8 @@ the acceptable range is from 0 to 65535. \stopsubsection -\startsubsection[title={\prm {hrule}, \prm {vrule}, \prm {srule}, \prm {nohrule} and \prm {novrule}}] +\startsubsection[title={\prm {hrule}, \prm {vrule}, \prm {srule}, \prm {nohrule}, \prm {novrule}, +\prm {virtualhrule} and \prm {virtualvrule}}] \topicindex {rules} @@ -473,7 +474,22 @@ combination. This is especially important in math mode where then can adapt to \stoplines Because this kind of rules has a dedicated subtype you can intercept it in the backend -if needed. +if needed. The two virtual variants are special in the way that they are like normal +rules but take no space. Can you figure out how to get this? + +\startlinecorrection[blank] +\dontleavehmode \hbox{% + \hbox{\green before}% + {\darkblue \virtualvrule width 40pt height -2pt depth 4pt xoffset -20pt\relax}% + \hbox{\red after}% +} +\stoplinecorrection + +% \vskip5pt + +% \ruledvbox{\ruledhbox to 10pt{\green x} +% \virtualhrule width 10pt height 2pt depth 2pt yoffset -2pt \relax +% \ruledhbox to 10pt{\red x}} \stopsubsection @@ -604,6 +620,14 @@ Adapting will recalculate the dimensions with a scale factor for the glue: \stopsubsection +\startsubsection[title={\prm {boxvadjust}}] + +This primitive binds a \prm {vadjust} to a box and therefore also accepts the +\type {pre} and \type {post} keywords which means that you can prepend and append +as the box itself gets flushed. + +\stopsubsection + \startsubsection[title={Overshooting dimensions}] \topicindex {boxes+overfull} |