Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Colored Output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87228] Re: Colored Output
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sat, 5 Apr 2008 04:20:24 -0500 (EST)
  • References: <ft4n1k$3pt$1@smc.vnet.net>

You could try something like:

a := Interpretation[Style["a", Magenta], a]

D[a Sin[x], x]


-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


<foice.news at gmail.com> wrote in message news:ft4n1k$3pt$1 at smc.vnet.net...
>I would like to have evaluated expression with some costants painted
> in a particular color, just to make reading easier.
> Say my input is
> 
> D[a*Sin[x]]
> 
> and the output should be
> 
> a*Cos[x]
> 
> with colored "a", say magenta.
> 
> Is this achievable, and how? which kind of attributed of the constant
> a should I set?
> 
> Best
> Roberto
>


  • Prev by Date: Re: Mathematica to Tex
  • Next by Date: Re: What is @@@?
  • Previous by thread: Re: Colored Output
  • Next by thread: Re: Colored Output