Services & Resources / Wolfram Forums
MathGroup Archive
*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: Successive words in different colors?

  • To: mathgroup at
  • Subject: [mg52718] Re: [mg52694] Successive words in different colors?
  • From: Bob Hanlon <hanlonr at>
  • Date: Sat, 11 Dec 2004 05:21:10 -0500 (EST)
  • Reply-to: hanlonr at
  • Sender: owner-wri-mathgroup at

Plot[x, {x, 0, 4},
    Epilog -> {Text[
            StyleForm["T", FontColor -> Red],
            StyleForm["ext", FontColor -> Blue]],
          {1, 2}]}];

Bob Hanlon

> From: AES/newspost <siegman at>
To: mathgroup at
> Date: 2004/12/09 Thu PM 08:22:57 EST
> To: mathgroup at
> Subject: [mg52718] [mg52694] Successive words in different colors?
> How to put words or extended text strings into a Prolog or Epilog, 
> preferably using just one single Text[---] command, but with successive  
> words or sub-strings displayed in different colors?  
> (Using "Graphics`Colors`" for the colors, and occasional \n carriage 
> returns within or between the substrings)

  • Prev by Date: Re : Reduce[] in version 5.1
  • Next by Date: Re: Newbie Question -- Plot3d::plnc
  • Previous by thread: Re: Successive words in different colors?
  • Next by thread: Newbie Question -- Plot3d::plnc