# Design

The design variable within editor functions can either being a single value that represents a one of our preset Standard Designs, or a comma seperated list that defines a Custom Design.

## Standard Designs

The following standard designs are available:

Design Name Graphical Illustration
full

(default)

mini

## Custom Designs

A bespoke toolbar can be developed from the component pieces using a more complex definition for design.

Select elements for the toolbar from the list below, creating a comma seperated list (,), with each row separated by a vertical line (|). To create seperate toolbars which can be placed at different point on the page use a colon (:).

For example, the definition for the full toolbar is:

urc,col,fn,ex,hi,fav,i|sty,spa,bin,sym,for,sub,acc,ace,arr|ope,bra,gel,geu,rel,mat:format,font,size,dpi,bg,inline 

This has three toolbars above the <textarea> and one below. The first line contains: 'urc,col,fn,ex,hi,fav,i', etc.

The token for each element of the toolbar is listed below:

Token Description
urc Undo Redo Clear
col Color Dropdown
fn Function Dropdown
i Link to Wikipedia LaTeX page
sty Style panel
spa Spaces panel
bin Binary panel
sym Symbols panel
for Foreign symbols panel
sub Sets and Subset panel (statistics)
acc Accents panel
ace Wide Accents panel
arr Arrows panel
ope Operator panel
bra Brackets panel
gel Greek lower case panel
geu Greek upper case panel
rel Relations panel
mat Matrix panel
geo Geometry panel
format Format for rendered equations: gif, png, pdf, etc.
font Font for rendered equations
size Size of rendered equations: small, large, etc.
dpi Dots per Inch of rendered equation: 80,100,120, etc.
bg Background for rendered equation
inline Inline and Compressed options

This list forms the current base set. Any other panels can be constructed quickly, so please submit the LaTeX behind panel you would like to see and we can add this to the list.

### Examples

Copied to clipboard