Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!att!cbnewsi!jimm From: jimm@cbnewsi.ATT.COM (james.mumper) Newsgroups: comp.unix.questions Subject: Re: Underlining text in troff Summary: Try this... Keywords: troff Message-ID: <1605@cbnewsi.ATT.COM> Date: 9 Jan 90 14:05:21 GMT References: <129925@sun.Eng.Sun.COM> Reply-To: jimm@cbnewsi.ATT.COM (james.mumper,hr,) Distribution: usa Organization: AT&T Bell Laboratories Lines: 21 In article <129925@sun.Eng.Sun.COM> henry%angel@Sun.COM (Henry McGilton -- Software Products) writes: >> >> * Does anyone have a good macro for underlining text in >> * troff. The example in my book: >> .de us >> \\$1\l'|O\ul' >> .. >> * doesn't work. >> Try this. I have found that the macro's do not work very reliably when used with tab settings (.ta). Try the standard 'troff' underline and tab it. example: .ta .5i my text \l'.5i' (the underline, set to the length of 'my text') This is very reliable but requires some measuring. I use it exclusively since I do not find the macro's at all reliable. Jim Mumper