home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!gumby!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!spekl.as.arizona.edu!mjm
- From: mjm@spekl.as.arizona.edu (Mark McCaughrean)
- Newsgroups: comp.text.tex
- Subject: Finding width of on-going \halign
- Message-ID: <1992Aug18.020840.20852@organpipe.uug.arizona.edu>
- Date: 18 Aug 92 02:08:40 GMT
- Sender: news@organpipe.uug.arizona.edu
- Organization: University of Arizona, Tucson, AZ
- Lines: 21
-
-
- In the middle of an \halign, I want to use \noalign to set a
- paragraph of text (say). I want this paragraph to have the same
- width as the table I'm setting using \halign. How do I get TeX
- to tell me what the width of the table is, i.e. the width of the
- vertical box I'm currently in the middle of? (I don't want to use
- \multispan, by the way: I want the exact width of the table, and
- I don't want to have to know how many columns to span).
-
- I figured I could make a \setbox with an \hrule inside it,
- hoping the \hrule would be the width of the table, and that then
- I could use \wd to get the width of the box. I can't get it to
- work. Seems like TeX must know the width though, or does it only
- work it out when it has digested the whole table?
-
- Any ideas? Thanks,
- Mark
- ------------------------------------------------------------------------
- Mark McCaughrean | University of Arizona | Phone: US + (602) 621 8347
- Steward Observatory | Tucson, AZ 85721, USA | E-mail: mjm@as.arizona.edu
- ------------------------------------------------------------------------
-