On 25 May 2016 at 17:35, Wolfgang Schuster wrote:
>
> With \shiftup the line under the raised text stays at the same position.
>
> \starttext
> \underbar{Test this \shiftup{®}}
> \stoptext

When has \shiftup been implemented?

It doesn't work in TeX Live (or maybe I forgot to update TL to the
latest version), but works with the latest version of ConTeXt.

Nevertheless this doesn't entirely solve the problem. I now have a
problem with the following:

    \catcode`č=\active
    \defč{\buildtextaccent\textcaron c}

    \underbar{Test this č}

I will try to remember how to fix the font on the fly with lua (or
perhaps figure out how to edit the font; it's a commercial font
though, so fixing it "on the fly" would probably be better).

I will also test some other piece of code that Hans sent me off-list.
(I seem to remember that there must be some tens of ways to underline
text. Every now and then Hans sends a new demo.)

Mojca
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to