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