Thanks, Taco. Good to know. Although it's not what I wanted to hear, of course... I was thinking using mp to draw the combination could be solution, but unfortunately I don't know metafun yet. If my understanding of https://source.contextgarden.net/node-rul.mkiv is correct, it should be possible to build upon the defintion of rules:under:dots (l. 327) Any hints how I could get this started? Another question: what do you mean with a dy-shift version? Best, Denis
-----Ursprüngliche Nachricht----- Von: Taco Hoekwater
Gesendet: Dienstag, 30. November 2021 14:19 An: mailing list for ConTeXt users Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] double underbars On 30 Nov 2021, at 12:06, Denis Maier via ntg-context
wrote: Hi,
for a current project I’ll need different variants of underbars.
- A normal underbar - A dotted underbar - A combination of both
Is there a way to combine them? I was hoping to have the dotted variant above the normal bar.
I would like to have this type of “complete” bar nesting as well.
As it stands, you can nest \underbars inside \underbars and \overstrikes inside \overstrikes and \overbars inside \overbars, but no other combinations work. Interoperability between these (as well as \underdot, \underdash, \underrandom ...) would be really cool.
Either with \xxxxbar or a nestable dy-shift version of textbackgrounds would be really handy sometimes. :)
This is not working
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \starttext
\underbar{asdf}
\underdot{asdf}
\underbar{\underdot{asdf}}
\stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Best, Denis
__________________________________________________________ ____________
_____________ 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
__________________________________________________________ ____________
_____________
— Taco Hoekwater E: taco@bittext.nl genderfluid (all pronouns)