Article View: comp.text
Article #5945Need (TeX) halign preamble with right justified dotfill
From: Roland Roberts
Date: Mon, 27 Feb 1989 20:49
Date: Mon, 27 Feb 1989 20:49
32 lines
1919 bytes
1919 bytes
I have written up an address list and am trying to get it formatted in
a fashion I consider correct (as opposed to what TeX considers). The
format of the table should look like:
Roland Roberts . . . . . . 275-8962
John Doe . . . . . . . . . 897-2978
Suzanne Smith . . . . . . 923-4114 / 988-2983
where for each entry, the dots stop (on the right) at the same
horizontal position. Currently I am using the following:
\halign{\strut#&#\enspace\hfil$\ldots$\dotfill&\thinspace\hfil#\hfil\cr
&Roland Roberts&275-8962\cr
&John Doe&897-2978\cr
&Suzanne Smith&923-4114 / 988-2983\cr}
The $\ldots$ is to prevent the longest line from having no dots at
all. The right edge of the dots varies by more than the width of the
dot itself which makes it quite noticeable. Ideally, I'd like the
dots to continue all the way up to the phone number, but I'll consider
that a "bonus" and be content with having the dots align. Is there a
way to get this done?
As a related question, is there a way to get an \halign to allow a
page break? The list is currently short, but will soon need to go to
double columns or multiple pages. Thanks for any help!
--
Roland Roberts BITNET: roberts@uornsrl
Nuclear Structure Research Lab INTERNET: rbr4@uhura.cc.rochester.edu
271 East River Road UUCP: rochester!ur-cc!uhura!rbr4
Rochester, NY 14267 AT&T: (716) 275-8962
Technical Details
Message-ID:
<966@ur-cc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!uhura.cc.rochester.edu!rbr4Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!uhura.cc.rochester.edu!rbr4 From: rbr4@uhura.cc.rochester.edu (Roland Roberts) Newsgroups: comp.text Subject: Need (TeX) halign preamble with right justified dotfill Keywords: halign preamble dotfill Message-ID: <966@ur-cc.UUCP> Date: 27 Feb 89 20:49:08 GMT Reply-To: rbr4@uhura.cc.rochester.edu (Roland Roberts) Followup-To: comp.text Organization: University of Rochester Lines: 31