Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!ox-prg!culhua!Damian.Cugley From: Damian.Cugley@prg.ox.ac.uk (Damian Cugley) Newsgroups: comp.text.tex Subject: Re: Request for a more intelligent underline{} macro. Message-ID: Date: 15 Jan 91 13:28:37 GMT References: <1309@happy.osc.edu> <1991Jan14.235759.5765@csn.org> Sender: news@prg.ox.ac.uk Organization: Oxford University Computing Laboratory, UK Lines: 33 In-reply-to: grunwald@foobar.colorado.edu's message of 14 Jan 91 23:57:59 GMT From: Dirk Grunwald Message-Id: <1991Jan14.235759.5765@csn.org> > Actually, some one mailed me the underline code. A little hacking > produces the following example [deleted]. The original code was a > little liberal with spaces in the code, which produces an extra space > after each word in the underlined region. > This version corrects that and gives a single underlined space between > words. But the "space" it gives is (a) rigid (defeating right-justification) and (b) doesn't dissappear at the margin. I think you could usefully replace the \ulinebox{\space} with \leaders\somesortofunderlinedbox\hskip\spaceskiporsimilar. Also, the line this code produces is too low -- it looks silly and makes the lines taller. Having the underscore cutting through the descenders seems to look better to me. Better still either use a special pre-underlined font or DON'T USE UNDERLINING AT ALL (I can't think of a good reason for it except in legal documents when pedantry requires it). //- Damian Cugley ----\ /--- Oxford University Computing Laboratory, -\ || pdc@prg.ox.ac.uk || \--- 11 Keble Rd, Oxford, UK OX1 3QD --------/ || pdc@uk.ac.ox.prg || \--------------------// "His feet are the wrong size for his shoes."