Re: creating a palette of characters
- To: mathgroup at smc.vnet.net
- Subject: [mg82019] Re: creating a palette of characters
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 9 Oct 2007 05:45:06 -0400 (EDT)
- Organization: Uni Leipzig
- References: <fecalu$g0i$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi,
CreatePalette[Grid[
{{Button["[",
With[{nb = InputNotebook[]}, NotebookWrite[nb, "["]]],
Button["]",
With[{nb = InputNotebook[]}, NotebookWrite[nb, "]"]]]},
{Button["{",
With[{nb = InputNotebook[]}, NotebookWrite[nb, "{"]]],
Button["}",
With[{nb = InputNotebook[]}, NotebookWrite[nb, "}"]]]},
{Button["(",
With[{nb = InputNotebook[]}, NotebookWrite[nb, "("]]],
Button[")",
With[{nb = InputNotebook[]}, NotebookWrite[nb, ")"]]]}}]
]
will make a palette with [,],{,},(,) that are interted into you
active notbook.
Regards
Jens
rip pelletier wrote:
> hi,
>
> i could do this in v5 but not v6. what changed?
>
> i thought i would create a small palette of selected characters for a
> particular nb in v6.
>
> it used to be extremely easy to do. i did the same thing again:
>
> make a table, fill it with symbols, create palette from selection.
>
> looks lovely, but nothing happens when i click on a symbol.
>
> can someone tell me what i have to do differently? or is this change
> documented somewhere that i missed?
>
> vale,
> rip
>