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: [mg87267] Re: Colored Output
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Sun, 6 Apr 2008 06:41:53 -0400 (EDT)
  • References: <ft4n1k$3pt$1@smc.vnet.net> <ft7ghe$bsq$1@smc.vnet.net>

foice.news at gmail.com wrote:
> I have been told I can use MakeBoxes:
> 
> MakeBoxes[a, StandardForm] := StyleBox["a", Green]
> 
> Then, evaluate
> 
> D[a Sin[x], x]
> 
> If you're default output format type is TraditionalForm, then just
> substitute TraditionalForm for StandardForm in the MakeBoxes rule.
> 
> thanks to Carl of Wolfram.
> 
You could execute both MakeBoxes assignments in order to cover both 
cases - they will work together quite happily.

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: A small syntax error causing Kernel crash, Version 6.0.1
  • Next by Date: Using ListCorrelate with Inner
  • Previous by thread: Re: Colored Output
  • Next by thread: mathematica on macbook... hangs on 5-4