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: [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
> 


  • Prev by Date: Re: rule based program for "Deleting repeated members of a list."
  • Next by Date: Re: Dashing[] problem with eps -> pdf -> printer
  • Previous by thread: creating a palette of characters
  • Next by thread: Re: creating a palette of characters