Lines Matching refs:atom
229 return baseElem.type === "mathord" || baseElem.type === "textord" || baseElem.type === "atom";
4346 …ams, rel, "\u25c0", "\\blacktriangleleft"); // unicode-math says that \therefore is a mathord atom.
4347 // We kept the amssymb atom type, which is rel.
4351 … ams, rel, "\u25b6", "\\blacktriangleright"); // unicode-math says that \because is a mathord atom.
4352 // We kept the amssymb atom type, which is rel.
4385 // We'll map it to AMS function \dashrightarrow. It produces the same atom.
6137 …ow new Error(`Expected node of type "atom" and family "${family}", but got ` + (node ? node.type =…
6148 return node && node.type === "atom" && node.family === family ? node : null;
6170 if (node && (node.type === "atom" || NON_ATOMS.hasOwnProperty(node.type))) {
6547 }; // Return math atom class (mclass) of a domTree.
6558 } // This makes a lot of assumptions as to where the type of atom
10377 } // Set spacing based on what is the most likely adjacent atom type.
10425 // \binrel@ spacing varies with (bin|rel|ord) of the atom in the argument.
10428 // atom type directly.
10429 const atom = arg.type === "ordgroup" && arg.body.length ? arg.body[0] : arg; constant
10431 if (atom.type === "atom" && (atom.family === "bin" || atom.family === "rel")) {
10432 return "m" + atom.family;
10995 let leftNode = checkNodeType(args[0], "atom");
11002 let rightNode = checkNodeType(args[1], "atom");
13201 type: "atom",
15877 const atom = this.parseAtom(breakOnTokenText);
15879 if (!atom) {
15883 body.push(atom);
16010 // The body of an atom is an implicit group, so that things like
16012 …const base = this.parseGroup("atom", false, null, breakOnTokenText); // In text mode, we don't hav…
16712 type: "atom",