Re: palettes: Mathematica input
- To: mathgroup at smc.vnet.net
- Subject: [mg101311] Re: palettes: Mathematica input
- From: Bob F <deepyogurt at gmail.com>
- Date: Wed, 1 Jul 2009 06:32:47 -0400 (EDT)
- References: <h2cpua$ahn$1@smc.vnet.net>
On Jun 30, 4:38 am, "alexxx.ma... at gmail.com" <alexxx.ma... at gmail.com> wrote: > Trying to write a palette, I found very tiring to rewrite some very > common patterns, e.g. I'd like my custom palette to contain also all > the lower/uppercase greek letters. > There is some quick way to have the Mathematica input used to > generate an already-existing palette? > E.g. I have all the letters ready in the palette "Basic Typesetting", > and I thought that right-click -> "Generate Notebook" was what I > wanted, but it simply copies the palette in a notebook, while I need > all the lines "ButtonBox["..."] // DisplayForm;" .... > > alessandro Try putting //InputForm after the palette you just created from the right-click "Generate Notebook" -- and you get all the code that it takes to generate the palette. But for some reason when you re-execute this code you don't get back as good a looking palette as what the original was - can someone explain why that is? -Bob