Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!jaap+ From: jaap+@andrew.cmu.edu (Jaap Akkerhuis) Newsgroups: comp.text Subject: Re: TROFF Leaders inside fields. Message-ID: Date: 8 Jan 90 17:47:23 GMT References: <129957@sun.Eng.Sun.COM> Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA Lines: 26 In-Reply-To: <129957@sun.Eng.Sun.COM> Excerpts from netnews.comp.text: 6-Jan-90 TROFF Leaders inside fields. Henry -- S. Products@Sun (1546) > Calling all TROFF Wizards. There seems to be a limitation > with what you can do with the leader character inside a > field. I have a sequence something like: etc. > Are fields scanned twice? Yep. It is not a great idea too use leaders inside fields, but if you really have to, this works: .ta 4.0i \" tab at four inches .fc # @ \" field char is #, pad is @ .nf #string one \s6^A\s0# \" want the leader smaller size #string string two\s6^A# #\s0string three \s6^A# (Replace the ^A with the actual leader character) There are of course better ways to achieve the same effect. That is left over as an excercise to the reader. jaap