diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-11-14 23:18:10 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-11-14 23:18:10 +0100 |
commit | 08473f11287cb263079c0435068312cbc6d736e8 (patch) | |
tree | 2548fb8b58e18a507e54fa8426a79c6956c3ef2e /tex/context/base/mkxl/math-fen.mkxl | |
parent | dd0a80e5ec42f60832e7d5dc47210e6f3545c400 (diff) | |
download | context-08473f11287cb263079c0435068312cbc6d736e8.tar.gz |
2022-11-14 22:56:00
Diffstat (limited to 'tex/context/base/mkxl/math-fen.mkxl')
-rw-r--r-- | tex/context/base/mkxl/math-fen.mkxl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/math-fen.mkxl b/tex/context/base/mkxl/math-fen.mkxl index b3c85070f..d8cbf4e76 100644 --- a/tex/context/base/mkxl/math-fen.mkxl +++ b/tex/context/base/mkxl/math-fen.mkxl @@ -54,6 +54,8 @@ \c!height=\zeropoint, \c!depth=\zeropoint, \c!distance=\zerocount, + \c!topspace=\zeropoint, + \c!bottomspace=\zeropoint, \c!factor=\v!auto] \appendtoks @@ -83,6 +85,17 @@ %D $ a + \fenced[bar] {\frac {b} {c}} + d $ %D \stoptyping +% \startbuffer +% $ \left( \frac{1}{x}^{2} \right)$ +% $ \left( x \right)$ +% $ \left( x^2 \right)$ +% $ \left( \frac{1}{x} \right)$ +% $ \left( \frac{1}{x}^2 \right)$ +% \stopbuffer +% +% \getbuffer\blank +% {\setupmathfence[topspace=-2pt,bottomspace=-1pt]\getbuffer\blank} + % todo : class -> number \newconditional\c_math_fenced_mirror \settrue \c_math_fenced_mirror @@ -205,6 +218,10 @@ \fi \s!source \numexpr\namedboxanchor{\mathfenceparameter#4}\relax + % + \s!top \mathfenceparameter\c!topspace + \s!bottom \mathfenceparameter\c!bottomspace + % \math_fenced_trace \ifx\p_fence\v!none \Udelimiter\mathghostcode\fam\zerocount |