Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

"TableLabel"?

  • 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.)


  • Prev by Date: A friendly challenge: Generalized Partition
  • Next by Date: Re: Using Mathgroup Effectively -- cutting and pasting expressions
  • Previous by thread: RE: Re: A friendly challenge: Generalized Partition
  • Next by thread: RE: "TableLabel"?