|
[Date Index]
[Thread Index]
[Author Index]
Re: Possible bug in V8: Grid with TextCell
- To: mathgroup at smc.vnet.net
- Subject: [mg115080] Re: Possible bug in V8: Grid with TextCell
- From: Helen Read <readhpr at gmail.com>
- Date: Thu, 30 Dec 2010 04:12:38 -0500 (EST)
- References: <iff463$r6e$1@smc.vnet.net>
On 12/29/2010 5:57 AM, Carlos C=E9sar de Ara=FAjo wrote:
> Please, take a look at the following image showing a cell with text and=
> graphics side by side:
>
> http://www.gregosetroianos.mat.br/Mathematica/TextGraphics.gif
>
> Below I show the basic template involved. It used to work in V6 and V7.=
I
> was disappointed to see that this is not the case anymore in V8 (Trial
> version).
>
> text = StringJoin@Table["bla, ", {180}];
>
> textCell = TextCell[text, "Text", FontFamily -> "Times",
> TextJustification->1];
>
> graphics = Framed@Graphics[{}];
>
> Grid[{{textCell, graphics}},
> Alignment -> Top]
>
> Is it possible to achieve the older result in V8? Any workaround?
I guess I'm not sure why you are putting a TextCell inside a Grid. Why
not just put the text itself in the Grid. Or put the text in a Pane,
which gives you better control of wrapping.
text = Style[StringJoin@Table["bla, ", {180}], FontFamily -> "Times",
LineIndent -> 0];
graphics = Framed@Graphics[{}];
Grid[{{Pane[text, 300], graphics}}, Alignment -> Top]
--
Helen Read
University of Vermont
Prev by Date:
Re: Possible bug in V8: Grid with TextCell
Next by Date:
weird non-accidents, was Re: Re: Mathematica daily WTF
Previous by thread:
Re: Possible bug in V8: Grid with TextCell
Next by thread:
Re: Possible bug in V8: Grid with TextCell
|