Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: colored alphabet for string output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48266] Re: colored alphabet for string output
  • From: bghiggins at ucdavis.edu (Brian Higgins)
  • Date: Thu, 20 May 2004 04:03:41 -0400 (EDT)
  • References: <c89pot$t2s$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Curt, Here is a slight modification of Jens' solution that makes use
of GridBox instead of RowBox , which then allows one to control the
spacing between the characters by using the ColumnSpacings option

colorString2[str_String] := Module[{ss},
    ss = Characters[str];
    GridBox[{StyleForm[#, FontColor -> randomColor[]] & /@ ss},
ColumnSpacings -> 0]
    ]


Cheers,

Brian


  • Prev by Date: the line problem
  • Next by Date: Re: Tree and Lists
  • Previous by thread: Re: colored alphabet for string output
  • Next by thread: Delay DE's