groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Underlining in groff


From: Blake McBride
Subject: [Groff] Underlining in groff
Date: Thu, 9 Jul 2009 23:28:56 -0500

Greetings,

I know about troff using italics, and nroff using underlines, but I want to
do underlines in groff (troff mode) too.  I searched the net and found the
ul.tmac (by Werner LEMBERG, version 1.0, 12/18/03).  It partially works but
not well enough for me.

See:  http://osdir.com/ml/printing.groff.general/2003-12/msg00079.html

If I do:

    .so ul.tmac
    Some text
    .Underline "Executive Summary"
    and some more text


it works fine.  However if I do:

    .so ul.tmac
    .ce 1
    .Underline "Executive Summary"

It correctly centers the text but the entire line is underlined instead of
just the "Executive Summary".

Also if I do:

    .so ul.tmac
    .ce 1
    .Underline "Executive Summary"
    and some more text

An underline starts at the "E" and ends on the middle of the next line.

How can this be easily done?

Thanks.

Blake McBride


reply via email to

[Prev in Thread] Current Thread [Next in Thread]