Re: graphic inside a gridbox

*To*: mathgroup at smc.vnet.net*Subject*: [mg65539] Re: graphic inside a gridbox*From*: Paul Abbott <paul at physics.uwa.edu.au>*Date*: Thu, 6 Apr 2006 06:53:18 -0400 (EDT)*Organization*: The University of Western Australia*References*: <e1099g$ll8$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

In article <e1099g$ll8$1 at smc.vnet.net>, "Christopher Arthur" <pannoniara at aol.com> wrote: > How can I generate as output a table which has a graphic in one or two cells? > Ideally, I want something like a 5x5 table, where say two 2x2 subtables are > replaced by two graphics. Do you want a single graphic to span a 2 x 2 sub-table? > I figure that I have to do to something clever with putting gridboxes inside > of gridboxes, but at the moment my problem is with the graphics....I tried > something like this, but it doesn't work, and I don't know why: > > DisplayForm[GridBox[{....,Cell[GraphicsData["PostScript",DisplayString[MyGraph > ics]]]}] > > I just see the postscript code for the graphic stuck in that particular cell > of the table. > > Before I get too deep into this, though, I'm wondering on a larger level if > I should even bother. The eventual goal is to have in some book format, a > list of these tables, with each table a small picture with text as specified > above, and basically there will be thousands of such little tables arranged > in some sequence. > > I don't know if I should just try to do all the graphics and table formattin > g in TeX and related packages, or if I could actually make a nice looking > reference book using mathematica alone for typesetting. I think that this is possible -- but others on this group will have differing opinions. Having played around with Publicon, I know that it has many of the features/tool required to help produce such a book. > The problem is that > if I spend a lot of time on perfecting my tables in Mathematica, they > probably wont convert easily to TeX anyway, so I might as well just use TeX > with MetaPost and the various tabular environments there. Wolfram's NKS book has many such graphics, all generated in Mathematica. I note that from the colophon to NKS that the book was produced in Framemaker via an automated build system where the diagrams and text were produced and formatted in Mathematica and exported to Framemaker as EPS. Cheers, Paul _______________________________________________________________________ Paul Abbott Phone: 61 8 6488 2734 School of Physics, M013 Fax: +61 8 6488 1014 The University of Western Australia (CRICOS Provider No 00126G) AUSTRALIA http://physics.uwa.edu.au/~paul

**Follow-Ups**:**Mathematica for Mathematics Education***From:*fmbhatti@lums.edu.pk