🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #833

Re: Trouble with \halign and \multispan

#833
From: Donald Arseneau
Date: Wed, 05 Aug 1992 10:35
17 lines
1410 bytes
In article <1992Aug5.020826.11539@organpipe.uug.arizona.edu>, mjm@spekl.as.arizona.edu (Mark McCaughrean) writes...
>I'm having trouble getting equally spaced aligned columns using
>\halign in UNIX TeX 3.14t3. As soon as I use \multispan to write 
>a title, the last column always ends up padded with more space.
> ...
>\tabskip=0pt plus 1fil
>\halign to\hsize{\hfil#\hfil&\hfil#\hfil&\hfil#\hfil&\hfil#\hfil\cr

The long \multispan adds space to the last column when it is wider
than the total of the corresponding column widths plus the NATURAL SIZE
of the associated \tabskips.  The solution is clear: use

\tabskip\hsize minus\hsize

which shrinks to fit instead of stretching to fit.

Donald Arseneau             asnd@reg.triumf.ca
Technical Details
Message-ID: <5AUG199203355992@msr.triumf.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!unixg.ubc.ca!msr.triumf.ca!asnd
References: <1992Aug5.020826.11539@organpipe.uug.arizona.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!unixg.ubc.ca!msr.triumf.ca!asnd
From: asnd@msr.triumf.ca (Donald Arseneau)
Subject: Re: Trouble with \halign and \multispan
Message-ID: <5AUG199203355992@msr.triumf.ca>
Summary: Let \tabskip shrink, not stretch 
News-Software: VAX/VMS VNEWS 1.41    
Keywords: \tabskip \halign tables \multispan plain TeX 
Sender: news@unixg.ubc.ca (Usenet News Maintenance)
Nntp-Posting-Host: msr.triumf.ca
Organization: TRIUMF: Tri-University Meson Facility
References: <1992Aug5.020826.11539@organpipe.uug.arizona.edu>
Date: Wed, 5 Aug 1992 10:35:00 GMT
Lines: 17