MathGroup Archive 2008

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

Search the Archive

Re: Colored Output


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