Offer some help working out the types of math formula atoms
This commit is contained in:
parent
6357a34828
commit
f05ff9c5fa
|
@ -32,7 +32,8 @@ var buildExpression = function(expression, options, prev) {
|
|||
return groups;
|
||||
};
|
||||
|
||||
// List of types used by getTypeOfGroup
|
||||
// List of types used by getTypeOfGroup,
|
||||
// see https://github.com/Khan/KaTeX/wiki/Examining-TeX#group-types
|
||||
var groupToType = {
|
||||
mathord: "mord",
|
||||
textord: "mord",
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
normal font), or "ams" (the ams fonts).
|
||||
* - group (required): the ParseNode group type the symbol should have (i.e.
|
||||
"textord", "mathord", etc).
|
||||
See https://github.com/Khan/KaTeX/wiki/Examining-TeX#group-types
|
||||
* - replace (optional): the character that this symbol or function should be
|
||||
* replaced with (i.e. "\phi" has a replace value of "\u03d5", the phi
|
||||
* character in the main font).
|
||||
|
|
Loading…
Reference in New Issue
Block a user