Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!arc!arc!steve From: steve@Advansoft.COM (Steve Savitzky) Newsgroups: comp.text.tex Subject: Re: an interesting problem Message-ID: Date: 6 Dec 90 17:34:55 GMT References: <90Dec5.204808est.6898@neat.cs.toronto.edu> Sender: @advansoft.com Organization: Advansoft Research Corp, Santa Clara, CA Lines: 20 In-Reply-To: djmcclur@cs.toronto.edu's message of 6 Dec 90 01:48:48 GMT In article <90Dec5.204808est.6898@neat.cs.toronto.edu> djmcclur@cs.toronto.edu ("David J. McClurkin") writes: 1) I need to create a macro that will display text as follows: |<----- preceeding text goes from here to here -------------->| Both of these boxes contain The right boundary flush left text. of this box (i.e. the right The left margin of this end of the longest line) box is aligned with is aligned with the the normal left normal right margin. margin The problem seems to be that one cannot create a vbox or parbox whose width is simply that of the longest line inside (its "natural" width). If you're willing to mark the line breaks yourself (as you seem willing to do), the way to do this is to set each of the boxes as a table. I frequently resort to this when setting poetry, where you want to center a box-full of left-justified lines. -- \ --Steve Savitzky-- \ ADVANsoft Research Corp \ REAL hackers use an AXE! \ \ steve@advansoft.COM \ 4301 Great America Pkwy \ #include \ \ arc!steve@apple.COM \ Santa Clara, CA 95954 \ 408-727-3357 \ \__ steve@arc.UUCP _________________________________________________________