MathGroup Archive 2003

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

Search the Archive

Re: Justification of graphics in cells

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43107] Re: [mg42905] Justification of graphics in cells
  • From: Dale <dale at omegaconsultinggroup.com>
  • Date: Tue, 12 Aug 2003 04:43:17 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

At 03:12 AM 8/2/2003, Oliver Friedrich wrote:
>Hallo,
>
>there are options like ImageMargins to adjust the position of graphics
>within a cell. But I'm looking for a counterpart to TextJustification for
>graphics to say the graphics should be left, right or centered. Is there
>something available.

This can be done with an inline cell.

gr = Plot[x, {x, 0, 1}];

inline = Cell[GraphicsData["PostScript", DisplayString[gr]]];

CellPrint[
   Cell[TextData[{inline}], "Text", TextAlignment -> Center,
     CellMargins -> {{0, 0}, {0, 0}}]
   ]

--------------------------------------------------------------
Omega Consulting
"The final answer to your Mathematica needs"
http://omegaconsultinggroup.com


  • Prev by Date: discrete frequency distribution
  • Next by Date: Re: Stopping a For loop
  • Previous by thread: Re: Justification of graphics in cells
  • Next by thread: Re: Justification of graphics in cells