CSS classes to apply to the keycap.
tex: use the TeX font for its label.
Using the tex class is not necessary if using the latex property to
define the label.shift: a shift keysmall: display the label in a smaller sizeaction: an “action” keycap (for arrows, return, etc…)separator w5: a half-width blank used as a separator. Other widths
include w15 (1.5 width), w20 (double width) and w50 (five-wide,
used for the space bar).bottom, left, right: alignment of the labelCommand to perform when the keycap is pressed
LaTeX fragment to insert when the keycap is pressed (ignored if command is specified)
Key to insert when keycap is pressed
(ignored if command, insert or latex is specified)
The HTML markup displayed for the keycap
Label of the key as a LaTeX expression, also the LaTeX
inserted if no command or insert property is specified.
Name of the layer to shift to when the key is pressed
Variant of the keycap when the shift key is pressed
A set of keycap variants displayed on a long press
variants: [
'\\alpha', // Same label as value inserted
{ latex: '\\beta', label: 'beta' }
]
Width of the keycap, as a multiple of the standard keycap width
Markup displayed with the key label (for example to explain what the symbol of the key is)