MathGroup Archive 2006

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

Search the Archive

Re: Minor gripe re Table formatting


You could do it by nesting GridBoxes. Use the ctrl+shift+e method to
make a cell with this data:

Cell[BoxData[
    GridBox[{{"\[Placeholder]"},{GridBox[{{"\[Placeholder]",
                "\[Placeholder]"},{"\[Placeholder]",
                "\[Placeholder]"}}]}}]],"Input"]

On 8/29/06, AES <siegman at stanford.edu> wrote:
> Table (or TableForm) have no "TableLabel" option, akin to PlotLabel,
> that one can use to put a title or caption above the Table.
>
> So, if you want to put a Table with a superimposed title or caption in a
> single cell, you can try something like
>
>    Print["Title string", TableForm[Table[ --- ]]]
>
> or
>
>    Print["Title string\n", TableForm[Table[ --- ]]]
>
> The first version (with no "\n"), however, sometimes puts the title
> string above the table, but sometimes places it down and centered to the
> left of the table, depending in an more or less unpredictable fashion on
> the length of the title string and the width of the table.
>
> The second version, however, always insists on putting *two* blank lines
> between the title and the table.  Not exactly a crime against nature --
> but a TableLabel option could be a handy addition some day.
>
> [And while we're on Labels, PlotLabel and FrameLabel are really
> inconsistent uses of the term "Label", aren't they?]
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Can't Remove[] variable "K"? (Really strange behavior . . . )
  • Next by Date: Re: one-dimensional and two-dimensional convolution
  • Previous by thread: Minor gripe re Table formatting
  • Next by thread: Is -1^(2/5) really undefined in R?