On 3/13/2024 12:26 PM, Mikael Sundqvist wrote:
Hi,
On Wed, Mar 13, 2024 at 11:37 AM Max Chernoff
wrote: Hi Hans,
On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote:
the next upload will support the attached ... so no ugly hacky code needed
"\texthere[inbetween]" looks perfect, thanks!
The "\definebar[...][inlined]" doesn't look quite right though -- the issue that I'm having is that I can't figure out how to highlight across both sides of an \alignhere without any questionable hacks. Unless the new "inlined" does work across an \alignhere and I'm just not seeing it in the example.
Thanks again, -- Max
I can confirm that it works over \alignhere. Hans is doing some black magic, but I guess he did not want to show off by including the whole line. Indeed, no need to show of the obvious
\definebar [mybar] [backgroundbar] [height=\strutht,depth=\strutdp,offset=.250ex,color=red] \definebar [yourbar] [backgroundbar] [height=\strutht,depth=\strutdp,offset=.125ex,color=blue] \definebar [ourbar] [backgroundbar] [height=\strutht,depth=\strutdp,offset=.125ex,color=green] \starttext \startTEXpage[width=4cm] \startformula a \alignhere= b + c \breakhere \mybar {d + \yourbar{e \alignhere=} f \breakhere g \alignhere \ourbar{=} h} + i \stopformula \stopTEXpage \stoptext Especially when it would not pass the rigourous accessibility check (esp wrt color) of your university, 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 -----------------------------------------------------------------