groff
[Top][All Lists]
Advanced

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

Re: [Groff] Underlining in groff


From: Heinz-Jürgen Oertel
Subject: Re: [Groff] Underlining in groff
Date: Fri, 10 Jul 2009 11:30:10 +0200
User-agent: KMail/1.11.90 (Linux/2.6.27.23-0.1-pae; KDE/4.2.90; i686; ; )

Am Freitag, 10. Juli 2009 schrieb Blake McBride:
> 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



May be the much simpler ms macros are working in your case:


.LP
some text
.ce 1
.UL "Executive Summary"
.LP
and more text.
And more text.
And more text.
And more text.
And more text.
And more text.

groff -ms text 



 Heinz





















reply via email to

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