[NTG-context] non-interactive underlining

Alan Bowen acbowen at princeton.edu
Wed Jun 6 20:47:04 CEST 2007


Thanks, Aditya, for making sense of my query and answering it.

\setuptextbackground[framecolor=black] did the trick.

All best, Alan

On Jun 6, 2007, at 2:22 PM, Aditya Mahajan wrote:

> Quoting Alan Bowen <acbowen at princeton.edu>:
>
>> How do I turn off interaction when using \startunderline...
>> \stopunderline. Currently the underlining shows in blue, but I need
>> it in the same color as the typeface (black). Is there something
>> equivalent to \setupunderlining[interaction=off]?
>
> Depends on how you define \startunderline. The usual way is to
>
> \definetextbackground[underline]
> [location=text,alternative=1,background=,frame=off]
>
> \definestartstop [underline]
>   [before={\starttextbackground[underline]},
>    after=\stoptextbackground]
>
> which does not introduce any interaction (interaction means that
> something should happen when you click the screen). It does have a  
> blue
> underline, because of framecolor=blue in \setuptextbackgrounds. To  
> have
> black color you can add
> framecolor=black, if you want typeface color (which can be different
> from black) add framecolor=\maintextcolor, to either
> \definetextbackground or to \setuptexttextbackground.
>
> Aditya
> ______________________________________________________________________ 
> _____________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
> ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ______________________________________________________________________ 
> _____________



More information about the ntg-context mailing list