There is another possibility for underlining by using overstriking
with \z and \(ul

##### overstrike.groff

This underlines the 3 character part "tar" of the word "start":
.br
.\" ft CR
before s\
\z\[ul]t\
\z\[ul]a\
\z\[ul]r\
t after

#####

This works correctly with troffs, e.g.
  $ groff -Tps overstrike.groff
  $ groff -Tpdf overstrike.groff
etc., also in
  $ groffer --tty overstrike.groff
but not in normal groff text modes like -Tlatin1, -Tutf8, etc.

The ancient RUNOFF (pre-roff) method was much simpler with
special charcters &, ^&, and \&.

With some work, the roff overstrike method \z could become useful for
groff underlining.

Bernd Warken

Reply via email to