Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: creating a palette of characters

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82037] Re: creating a palette of characters
  • From: rip pelletier <bitbucket at comcast.net>
  • Date: Wed, 10 Oct 2007 04:25:00 -0400 (EDT)
  • References: <fecalu$g0i$1@smc.vnet.net> <fefjo4$k9v$1@smc.vnet.net>

In article <fefjo4$k9v$1 at smc.vnet.net>,
 Jens-Peer Kuska <kuska at informatik.uni-leipzig.de> wrote:

> 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.

   thank you, jens. it works, and now i can look at refinements.

vale,
   rip
> 
> 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
> >

-- 
NB eddress is r i p 1 AT c o m c a s t DOT n e t


  • Prev by Date: Re: FunctionExpand problem in version 6
  • Next by Date: Re: DynamicModule, Speed, and locally static variables.
  • Previous by thread: Re: creating a palette of characters
  • Next by thread: Re: Re: creating a palette of characters