Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcupt1!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.text Subject: Underlining in Troff Message-ID: <2610013@hpsal2.HP.COM> Date: 23 Sep 88 02:19:48 GMT Organization: HP System Architecture Lab, Cupertino Lines: 20 Does anyone have a macro which does proper underlining in troff. The one supplied in the nroff/troff manual works provided the string to be underlined does not cross a line. For example, the following input failed miserably: .de us \\$1\l'|0\(ul' .. This is some text before the underlined stuff. This is some more text before the underlined stuff. .us "This is a very long line which will mess up the .us macro." I got an underline of the appropriate length but it was all on the second line with the last part of the "This is a very long line ..." sentence. Any help would be greatly appreciated. Thanks, Michael P.S. The "u" macro supplied with the me macros is almost identical to the above definition, and therefore, fails also.