Hello,
it seems that bar (even with option 'continue=yes') is not rendered in
place of '~' within math. See the sample:
----
\definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes]
\starttext
1 + 2 = \startbar[MyBar]3~kN\stopbar
$1 + 2 = \startbar[MyBar]3~\text{kN}\stopbar$
\stoptext
----
In the sample 'kN' is a unit, which should be separated by space from
the result (here: 3);
I am used to put the unit into the math environment and enclose it into
\text{...}.
Is there a way to make the bar be rendered in places of blanks within
math, too (like if it was inside $ ... $ - as the first line of the
sample)?
Or is there a better way to add an unbroken background to a (part of)
math expression followed by a text (unit)?
Best regards,
Lukas