Path: utzoo!utgpu!water!watmath!clyde!att!akgua!sorsac!pls
From: pls@sorsac.UUCP (P. L. Sullivan)
Newsgroups: comp.text
Subject: Re: Underlining in Troff
Message-ID: <293@sorsac.UUCP>
Date: 26 Sep 88 16:42:35 GMT
References: <2610013@hpsal2.HP.COM>
Reply-To: pls@sorsac.UUCP (P. L. Sullivan)
Organization: AT&T Southern Region, Atlanta
Lines: 17

In article <2610013@hpsal2.HP.COM> morrell@hpsal2.HP.COM (Michael Morrell) writes:
>Does anyone have a macro which does proper underlining in troff.

In case you're using LaserJets (or anything else that has a similar built-in
underlining capability), the following technique may help.

We defined two special characters in the S font: ``\(US'' and ``\(UE'' to
start and end underlining.  The post-processor translates these into the
sequences ``\033&dD'' and ``\033&d@'' for the LaserJet family.

The only real kludge with this technique is that we need to tell troff to
do these characters zero width; e.g.,

	The word \z\(USunderlined\z\(UE is underlined.

========================================================
Pat Sullivan {gatech|att|akgua}!sorsac!pls (404)573-7382