[NTG-context] Bar within math (amended)

Axel Kielhorn tex at axelkielhorn.de
Thu Jun 11 13:41:49 CEST 2020



> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster <wolfgang.schuster.lists at gmail.com>:
> 
> Use a textbackground to highlight parts of your text.
> 
> \definetextbackground
>  [Highlight]
>  [frame=off,
>   background=color,
>   backgroundcolor=yellow]
> 
> \starttext
> 
> \m{1 + 2 = \unit{3 kilo newton}}
> 
> \m{1 + 2 = \Highlight{\unit{3 kilo newton}}}
> 
> \stoptext
> 
> Wolfgang
> 

Is there a way to highlight just the words and leave the space white?
Something like \overstrikes?

Greetings
Axel


More information about the ntg-context mailing list