Hi, In addition the the mentioned integral trickery we can now do this \setupbodyfont[newcomputermodern-book] \enableexperiments[math.extensibles] \starttext % \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 % \startformula % x = \int\Umathadapttoright^1_2 \mathinner{\vrule height 10mm depth 10mm width 5mm} = % x = \int\Umathadapttoright^1_2 \mathinner{\vrule height 20mm depth 20mm width 5mm} = % x = \int\Umathadapttoright^1_2 \mathinner{\vrule height 30mm depth 30mm width 5mm} = % x = \int\Umathadapttoright^1_2 \mathinner{x} = % x = \int\Umathadapttoright^1_2 x % \stopformula % $ % x = \int\Umathadapttoright^1_2 \mathinner{\vrule height 10mm depth 10mm width 5mm} = % x = \int\Umathadapttoright^1_2 \mathinner{\vrule height 20mm depth 20mm width 5mm} = % x = \int\Umathadapttoright^1_2 \mathinner{\vrule height 30mm depth 30mm width 5mm} = % x = \int\Umathadapttoright^1_2 x = % $ \def\rab{\Umathchar"1"00"007C } \startTEXpage[offset=3cm] $ \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}} $ \stopTEXpage \startTEXpage[offset=10pt] % \showglyphs $ \rab\Umathadapttoright^1_2^^3__4 \mathinner{\vrule height 30mm depth 30mm width 5mm} \rab\Umathadapttoleft^5_6^^7__8 $ \stopTEXpage \stoptext So, we can have left and right sided adaptation. The \enableexperiments[math.extensibles] is a cheat that makes the extensible into one character (cut and paste related). 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 -----------------------------------------------------------------
On 6/11/21 6:08 PM, Hans Hagen wrote:
Hi,
In addition the the mentioned integral trickery we can now do this
\setupbodyfont[newcomputermodern-book]
Hi Hans, many thanks for the new upload. I’m afraid that now slanted for New Computer Modern Mono doesn’t work: \mainlanguage[agr] \setupbodyfont[newcomputermodern] \starttext {\tt\bi\input aristotle-grc\par} \tt\it\input aristotle-grc\par \stoptext "newcmmono10-oblique.otf" is actually "newcmmono10-italic.otf". Naming isn’t consistent in those fonts (italic and bold oblique, I’m afraid). Many thanks for your help, Pablo -- http://www.ousia.tk
participants (2)
-
Hans Hagen
-
Pablo Rodriguez