On Tue, Mar 8, 2011 at 9:38 PM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:

>
> Am 09.03.2011 um 04:58 schrieb Bart Wise:
>
> > I looked through the code and it looks like the call is "setupbars" (with
> an 's'); however, that didn't work either.
>
> You’re right, the name is \setupunderbars but you need also “offset” and
> “color” as keys.
>
> \setupunderbars
>  [underbar]
>  [offset=2pt,
>   rulethickness=12pt,
>   color=red]
>
> Wolfgang
>
>
So here's a sample of code that works:

\setupcolors[state=start]·
\setupbars[underbar][
    offset=0.1,
    rulethickness=0.2,
    order=foreground,
    color=red]

\starttext·
\switchtobodyfont[60pt]
This is an \underbar{underlined} word.·
\stoptext·

Thanks Wolfgang for your help!
___________________________________________________________________________________
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