Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9420 > unrolled thread

Re: how to make formatted output with Grid and Print?

Started byTed Sariyski <tsariysk@craft-tech.com>
First post2012-04-05 09:44 +0000
Last post2012-04-05 09:44 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: how to make formatted output with Grid and Print? Ted Sariyski <tsariysk@craft-tech.com> - 2012-04-05 09:44 +0000

#9420 — Re: how to make formatted output with Grid and Print?

FromTed Sariyski <tsariysk@craft-tech.com>
Date2012-04-05 09:44 +0000
SubjectRe: how to make formatted output with Grid and Print?
Message-ID<jljphm$ck3$1@smc.vnet.net>
It works. I don't understand why, though.
Thanks a lot.
--Ted


On 04/04/2012 04:31 AM, Alexei Boulbitch wrote:
> Hi,
> I want to make a kind of formatted Print output with Grid. With strings
> it works as expected,
>
> Grid[{{"a", "b"}, {"c", "d"}}]
>> a    b
>> c    d
>>
> Print puts \n before Grid takes effect.
> Grid[{{Print["a"], Print["b"]}, {Print["c"], Print["d"]}}]
>> a
>> b
>> c
>> d
> How can I produce formatted output?
> Thanks,
> --Ted
>
> Hi, Ted,
> What about the following:
>
> Print@Grid[{{"a", "b"}, {"c", "d"}}]
>
> a	b
> c	d
>
> ?
>
>
> Alexei BOULBITCH, Dr., habil.
> IEE S.A.
> ZAE Weiergewan,
> 11, rue Edmond Reuter,
> L-5326 Contern, LUXEMBOURG
>
> Office phone :  +352-2454-2566
> Office fax:       +352-2454-3566
> mobile phone:  +49 151 52 40 66 44
>
> e-mail: alexei.boulbitch@iee.lu
>
>
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web