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