- To: mathgroup at smc.vnet.net
- Subject: [mg34880] "TableLabel"?
- From: aes <siegman at stanford.edu>
- Date: Tue, 11 Jun 2002 05:00:51 -0400 (EDT)
- Organization: Stanford University
- Sender: owner-wri-mathgroup at wolfram.com
Suppose you want to get a Table Title (or "TableLabel") above a Table, but in the same cell. The syntax Print[ "Table title stuff"]; Print[ TableForm[ Table[ ----] ] ] generates the wanted information at about the right spacing, but you have to mess with add'l No Page Break Above or No Page Break Below Style commands if you want to prevent a page break between the two. (How would you code that into the Print statement, by the way?) The alternative syntax Print[ "Table title stuff", TableForm[ Table[ ----] ] ] is very much simpler and works OK -- except it seems to put 3 or 4 blank lines between the title stuff and the Table; more spacing than with the two separate Print commands. Any way to avoid this? (In general, a series of options like "TableTitle-><<string>>", or "PlotTitle", or "FrameTitle", which would in essence act like a Print statement inserted just before a Table, a Plot, etc, would be very handy objects.) (As would "TableCaption", "PlotCaption", etc, which would be inserted just after the corresponding object.)