Creating a Custom Snippets Palette
Maple provides a number of palettes, collections of buttons representing symbols, expressions, and so on, that can be inserted into a Maple document. You can also create your own custom Snippets palette. The process for creating a Snippets palette is:
Define the items that you will put on your palette by creating tasks.
Define a Snippets palette.
Create icons for your palette items (optional).
Add the palette items to your palette.
A simpler way to put entries into a palette is to use the existing Favorites palette. See Create a Favorites Palette of Commonly Used Expressions and Entities.
Defining a Palette Item by Creating a Task
Defining a Snippets Palette
Creating an Icon for Your Palette Item
Adding a Palette Item to Your Palette
Palettes are built from task templates. A task template can be any subselection of a Maple worksheet (or an entire Maple worksheet). It can include placeholders similar to those used in the Expression palette.
For information on this step, see Creating Tasks.
To define a Snippets palette, use the command DocumentTools[AddPalette].
You can specify where the palette appears (top or bottom). To change this later, see Arranging Palettes.
To create the icon that will display on the palette:
Save the desired image as a PNG file.
Use the command DocumentTools[AddIcon] to store the icon in the same help database file as the associated task (by default, the tasks.help file).
Note: Creating an icon is optional. If you do not use an image file as the icon, then a default text display is used.
To add the palette item to your palette, use the command DocumentTools[AddPaletteEntry].
Download Help Document
What kind of issue would you like to report? (Optional)