Re: "TableLabel"?
- To: mathgroup at smc.vnet.net
- Subject: [mg34887] Re: "TableLabel"?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 12 Jun 2002 02:15:13 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <ae4fhl$9dq$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, GridBox[{{"Table title stuff"}, {GridBox[{{a, b}, {c, d}}]}}] // DisplayForm is broken, and GridBox[{ {GridBox[{{a, b}, {c, d}}]}, {"Caption"}}] // DisplayForm also not work. To bad. If you whant to typeset something you should *use* typesetting. Regards Jens aes wrote: > > 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.)