A Token represents a region in typeset math that is designed to be externally styled and which delegates mousedown events to external handlers.
LaTeX syntax: \token{id}.
Token is designed for similar use cases as EmbedNode. Differences:
Mousedown events on a Token are not handled by MathQuill (they are expected to be handled externally).
The API for Tokens is simpler: they don't require registering handlers with MathQuill.
The current syntax for embed (\embed{name}[id]) gets the order of optional and required arguments backwards compared to normal LaTeX syntax. The syntax of Token is simpler and more in line with LaTeX.
A Token represents a region in typeset math that is designed to be externally styled and which delegates mousedown events to external handlers.
LaTeX syntax:
\token{id}
.Token is designed for similar use cases as EmbedNode. Differences:
\embed{name}[id]
) gets the order of optional and required arguments backwards compared to normal LaTeX syntax. The syntax of Token is simpler and more in line with LaTeX.