|
Creating Palettes
|
You can make your own palettes that allow you to perform functions by clicking buttons.
|
To create a palette that pastes expressions:
1. Choose Input Create Table/Matrix/Palette.
2. Click Palette.

3. Specify the dimensions of the palette in the dialog box. When you click OK, a blank palette will be inserted in your notebook.

4. Insert whatever you want into each entry in the palette. You can use to go from one entry to the next.
5. Select the cell containing the palette.

6. Choose File Generate Palette from Selection.
A separate window containing the palette appears.

Click a button in the palette to paste its contents into your current notebook.
To create a palette that performs evaluations:
1. Set up an empty palette using Input Create Table/Matrix/Palette.

2. Fill in entries with expressions containing objects. Enter each using the alias spl , where spl stands for selection placeholder.
3. Select the palette, and choose Input Create Button Evaluate.
4. Choose File Generate Palette from Selection.
To use the palette:
1. Select the expression to be evaluated.

2. Click a button on the palette.

The selected expression replaces the placeholder, and the resulting expression is evaluated. The result is pasted into the notebook in place of the previously selected text.

To edit a palette:
You can use Input Edit Button to edit a palette.

|
For more information
Active elements in notebooks: The Mathematica Book, Section 1.3.6.
|
|