Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9198 > unrolled thread
| Started by | Adriano Pascoletti <adriano.pascoletti@uniud.it> |
|---|---|
| First post | 2012-03-22 10:53 +0000 |
| Last post | 2012-03-22 10:53 +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.
Re: Different Color in ToString Adriano Pascoletti <adriano.pascoletti@uniud.it> - 2012-03-22 10:53 +0000
| From | Adriano Pascoletti <adriano.pascoletti@uniud.it> |
|---|---|
| Date | 2012-03-22 10:53 +0000 |
| Subject | Re: Different Color in ToString |
| Message-ID | <jkf0ac$8l1$1@smc.vnet.net> |
Try n = 3; Text[Style[StringForm["There is `` numbers here", Style[n, Red]], Blue]] Adriano Pascoletti 2012/3/21 Scott Colwell <scolwell@uoguelph.ca> > Does anyone know how to change the color of the font in a ToString command. > > For example, in the following, the text should be blue, but the number 3 > should be red. > > n = 3; > Text[Style["There is "<> ToString[Style[n, Red]] <> " numbers here", Blue]] > > Thank you, > >
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web