Hi,

In the underneath example, how do you get each word replaced by an underline
?

Or, if not possible, underlined word groups with correct underline breaks
for multi-line phrases.

\def\UnderlineA#1%
{\underbars{#1}}

\def\UnderlineB#1%
{\underbars{\phantom{#1}}}
%{\underbar{\phantom{#1}}}

\definetextbackground[underline][%
    location=text,
    alternative=1,
    background=,
    frame=off]

\def\UnderlineC{%
    \groupedcommand
        {\starttextbackground[underline]}
        {\stoptextbackground}}

\starttext

Thus, I came to \UnderlineA{the conclusion} that the designer of a new
system \UnderlineA{must not only be the implementer and first} large--scale
user; the designer should also write the first user manual.

Thus, I came to \UnderlineB{the conclusion} that the designer of a new
system \UnderlineB{must not only be the implementer and first} large--scale
user; the designer should also write the first user manual.

Thus, I came to \UnderlineC{the conclusion} that the designer of a new
system \UnderlineC{must not only be the implementer and first} large--scale
user; the designer should also write the first user manual.

\stoptext


Thanks,
Alan
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to