Re: Text["x=" x] reverses order of terms producing the string: 1.2 x=
- To: mathgroup at smc.vnet.net
- Subject: [mg125988] Re: Text["x=" x] reverses order of terms producing the string: 1.2 x=
- From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
- Date: Wed, 11 Apr 2012 18:20:08 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
I don't yet understand the subtleties of evaluation order, but this seems unintuitive.
I've managed to get the representation I want with Text[StringJoin["x== ", ToString[x]]],
but would prefer both to understand what's happening and reduce verbosity.
thanks.
In addition to the approach you have found you may use also these:
x==1.2;
Row[{Style["x==",16,Red,Italic],Style[x,16,Blue,Italic]}]
x==_1.2
StringForm["x==``.",x]
x==1.2`.
Have fun. Alexei
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 at iee.lu