Re: Re: Background Colors in The Format Menu
- To: mathgroup at smc.vnet.net
- Subject: [mg42933] Re: [mg42857] Re: [mg42821] Background Colors in The Format Menu
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Mon, 4 Aug 2003 00:46:01 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200307302331.TAA25666@smc.vnet.net>
- Reply-to: murray at math.umass.edu
- Sender: owner-wri-mathgroup at wolfram.com
How would one add those menu choices to the Text Color dialog?
Here's what I tried (analogous to what was suggested by John Fultz in
[mg42854]). Inside AddOns > Autoload I created new directories
TextColors > FrontEnd and in the latter placed an init.m with contents:
AddMenuCommands["TextColorsDialog", {Delimiter,
Item["HelpBrowser Brick", FontColor -> RGBColor[0.592157, 0.313726,
0.313726]],
Item["Mocha", FontColor -> RGBColor[0.501961, 0.25098, 0]],
Item["Ocean", FontColor -> RGBColor[0, 0.25098, 0.501961]],
Item["Eggplant", FontColor -> RGBColor[0.25098, 0, 0.501961]]}]
But nothing seems to happen, I also tried token names "TextColorDialog"
and "TextDialog", with the same non-result.
What is the correct token name or other magic needed to do this?
Selwyn Hollis wrote:
> And while we're at it, how about some better text colors? The last 3 of
> these come from the Macintosh "crayon" palette:
>
> Item["HelpBrowser Brick", FontColor -> RGBColor[0.592157, 0.313726,
> 0.313726]],
> Item["Mocha", FontColor -> RGBColor[0.501961, 0.25098, 0]],
> Item["Ocean", FontColor -> RGBColor[0, 0.25098, 0.501961]],
> Item["Eggplant", FontColor -> RGBColor[0.25098, 0, 0.501961]],
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305