Creating Palettes
- To: mathgroup at smc.vnet.net
- Subject: [mg85967] Creating Palettes
- From: DOD <dcodea at gmail.com>
- Date: Fri, 29 Feb 2008 06:18:18 -0500 (EST)
I've just tried to create a palette in v6, it is much harder than it
was in v5- is there a reason I can no longer "create a palette" from
the edit menu, and then "generate from selection"? Anyway, I figured
out the tedious way to do it v6, but it won't create buttons I want:
CreatePalette[{PasteButton[a^2], PasteButton[b^2],
PasteButton[a^3], PasteButton[b^3],
PasteButton[(1 - a)], PasteButton[(1 - b)],
PasteButton[(1 - a)^2], PasteButton[(1 - b)^2],
PasteButton[(1 - a)^3], PasteButton[(1 - b)^3]
}
];
The parentheses around "(1-a)" and "(1-b)" are never created when I
press the buttons, only "1-a" and "1-b", which is obviously a problem
if I'm multiplying things. This defeats the purpose of the palette
saving keystrokes. Is there anyway to do this?