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


Groups > comp.soft-sys.math.mathematica > #9564

Re: Text["x=" x] reverses order of terms producing the string: 1.2 x=

From Alexei Boulbitch <Alexei.Boulbitch@iee.lu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Text["x=" x] reverses order of terms producing the string: 1.2 x=
Date 2012-04-11 22:23 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jm508h$2ok$1@smc.vnet.net> (permalink)

Show all headers | View raw


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@iee.lu


Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Text["x=" x] reverses order of terms producing the string: 1.2 x= Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-04-11 22:23 +0000

csiph-web