Hi,
A few things
(1) Thomas and I picked up the facing floats thread. I will probably
remove the experimental code from mkiv and only work on the lmtx
implementation. The same can be true for streams.
(2) The \limits and \nolimist etc commands are actually modifiers and so
are \Umathadapttoright and \Umathadapttoleft. Because we have a couple
of 'handy' options in several math constructs in the engine I decided to
add a few more modifiers to (ab)use those features too. The next
examples are for 'math detail lovers':
% \displaylimits
% \limits
% \nolimits
% \ordlimits (maybe replace that one now or maybe no longer needed anyway)
% \Umathadapttoleft
% \Umathadapttoright
% \Umathaxis
% \Umathnoaxis
% \Umathphantom
% \Umathvoid
% \Umathopenupheight <dimension>
% \Umathopenupdepth <dimension>
% \Umathlimits
% \Umathnolimits
\startTEXpage[offset=5mm]
\startformula
x = \integral^1_2 \mathinner{\vrule height 10mm depth 10mm width 5mm} =
x = \integral^1_2 \mathinner{\vrule height 20mm depth 20mm width 5mm} =
x = \integral^1_2 \mathinner{\vrule height 30mm depth 30mm width 5mm} =
x = \integral^1_2 \mathinner{x} =
x = \integral^1_2 x
\stopformula
\stopTEXpage
\startTEXpage[offset=5mm]
$
x = \integral^1_2 \mathinner{\vrule height 10mm depth 10mm width 5mm} =
x = \integral^1_2 \mathinner{\vrule height 20mm depth 20mm width 5mm} =
x = \integral^1_2 \mathinner{\vrule height 30mm depth 30mm width 5mm} =
x = \integral^1_2 x =
$
\stopTEXpage
\def\rab {\Umathchar"1"00"007C }
\def\lrab{\Umathchar"4"00"007C }
\def\rrab{\Umathchar"5"00"007C }
% \Umathmodifier : plus\minus
\definecolor[mtestcolor][a=1,t=.5,s=.5]
\startTEXpage[offset=5mm]
$
\color[green]{\rab\Umathadapttoright^{\black 1}_{\black 2}^^3__4}
\color[blue] {\mathinner{\vrule height 30mm depth 30mm width 5mm}}
\color[red] {\rab\Umathadapttoleft ^5_6^^{\black 7}__{\black 8}}
$
\quad
$
\rab\Umathadapttoright^1_2^^3__4
\mathinner{\vrule height 30mm depth 30mm width 5mm}
\rab\Umathadapttoleft^5_6^^7__8
$
\quad
$ \showboxes
\rab\Umathadapttoright\Umathnoaxis^1_2^^3__4
\mathinner{\vrule height 30mm depth 30mm width 5mm}
\rab\Umathadapttoleft\Umathnoaxis^5_6^^7__8
$
\quad
$ \showboxes
\rab\Umathadapttoright\Umathnoaxis\Umathphantom^1_2^^3__4
\mathinner{\vrule height 30mm depth 30mm width 5mm}
\rab\Umathadapttoleft\Umathnoaxis\Umathphantom^5_6^^7__8
$
\quad
$ \showboxes
\rab\Umathadapttoright\Umathnoaxis\Umathvoid^1_2^^3__4
\mathinner{\vrule height 30mm depth 30mm width 5mm}
\rab\Umathadapttoleft\Umathnoaxis\Umathvoid^5_6^^7__8
$
\quad
$ \showboxes
\rab\Umathadapttoright\Umathnoaxis\Umathvoid\Umathopenupheight5mm^1_2^^3__4
\mathinner{\vrule height 30mm depth 30mm width 5mm}
\rab\Umathadapttoleft \Umathnoaxis\Umathvoid\Umathopenupdepth
5mm^5_6^^7__8
$
\stopTEXpage
\startTEXpage[offset=5mm]
$ \showmakeup[math]
\rab\Umathadapttoright\Umathnoaxis\Umathopenupheight 5mm^1_2^^3__4
\mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
\rab\Umathadapttoleft \Umathnoaxis\Umathopenupdepth 5mm^5_6^^7__8
$
\quad
$ \showmakeup[math]
\openinnerspacing \textstyle 5mu
\innerclosespacing\textstyle 5mu
\lrab\Umathadapttoright\Umathnoaxis\Umathopenupheight 5mm^1_2^^3__4
\mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
\rrab\Umathadapttoleft \Umathnoaxis\Umathopenupdepth 5mm^5_6^^7__8
$
\quad
$ \showmakeup[math]
\openinnerspacing \textstyle 5mu
\innerclosespacing\textstyle 5mu
\lrab\Umathnolimits\Umathadapttoright\Umathnoaxis\Umathopenupheight
5mm^1_2^^3__4
\mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
\rrab\Umathlimits \Umathadapttoleft \Umathnoaxis\Umathopenupdepth
5mm^5_6^^7__8
$
\stopTEXpage
\startTEXpage[offset=5mm]
$ \showmakeup[math]
\frozen\openinnerspacing \textstyle 10mu
\frozen\innerclosespacing\textstyle 10mu
\lrab\Umathnolimits\Umathadapttoright\Umathnoaxis^1_2^^3__4
\mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
\rrab\Umathlimits \Umathadapttoleft \Umathnoaxis^5_6^^7__8
=
\frozen\openinnerspacing \textstyle 2mu
\frozen\innerclosespacing\textstyle 2mu
\lrab\Umathnolimits\Umathadapttoright\Umathnoaxis^1_2^^3__4
\mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
\rrab\Umathlimits \Umathadapttoleft \Umathnoaxis^5_6^^7__8
$
\stopTEXpage
\stoptext
I'm still wondering about some interfacing but that depends on it being
used (at all) but at least we can finetune a bit more abstract if we
want to. It is also fun to play with (come up with new math notations
and so).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________