Lines Matching refs:classes
939 this.classes = void 0;
945 this.classes = []; property
955 return utils.contains(this.classes, className);
1022 var createClass = function createClass(classes) {
1023 return classes.filter(function (cls) {
1028 var initNode = function initNode(classes, options, style) {
1029 this.classes = classes || [];
1038 this.classes.push("mtight");
1056 node.className = createClass(this.classes); // Apply inline styles
1087 if (this.classes.length) {
1088 markup += " class=\"" + utils.escape(createClass(this.classes)) + "\"";
1139 function Span(classes, children, options, style) {
1142 this.classes = void 0;
1148 initNode.call(this, classes, options, style);
1165 return utils.contains(this.classes, className);
1186 function Anchor(href, classes, children, options) {
1189 this.classes = void 0;
1194 initNode.call(this, classes, options);
1206 return utils.contains(this.classes, className);
1229 this.classes = void 0;
1236 this.classes = ["mord"]; property
1243 return utils.contains(this.classes, className);
1299 function SymbolNode(text, height, depth, italic, skew, width, classes, style) {
1307 this.classes = void 0;
1315 this.classes = classes || [];
1328 this.classes.push(script + "_fallback");
1340 return utils.contains(this.classes, className);
1357 if (this.classes.length > 0) {
1359 span.className = createClass(this.classes);
1388 if (this.classes.length) {
1391 markup += utils.escape(createClass(this.classes));
5424 var buildCommon_makeSymbol = function makeSymbol(value, fontName, mode, options, classes) {
5437 …ree_SymbolNode(value, metrics.height, metrics.depth, italic, metrics.skew, metrics.width, classes);
5441 symbolNode = new domTree_SymbolNode(value, 0, 0, 0, 0, 0, classes);
5448 symbolNode.classes.push("mtight");
5466 var buildCommon_mathsym = function mathsym(value, mode, options, classes) {
5467 if (classes === void 0) {
5468 classes = [];
5479 return buildCommon_makeSymbol(value, "Main-Bold", mode, options, classes.concat(["mathbf"]));
5481 return buildCommon_makeSymbol(value, "Main-Regular", mode, options, classes);
5483 return buildCommon_makeSymbol(value, "AMS-Regular", mode, options, classes.concat(["amsrm"]));
5493 var buildCommon_mathdefault = function mathdefault(value, mode, options, classes) {
5516 var buildCommon_mathnormal = function mathnormal(value, mode, options, classes) {
5542 var boldsymbol = function boldsymbol(value, mode, options, classes) {
5565 var classes = ["mord"]; // Math mode or Old font (i.e. \rm)
5576 return buildCommon_makeSymbol(text, wideFontName, mode, options, classes.concat(wideFontClass));
5582 …oldsymbol" ? boldsymbol(text, mode, options, classes) : buildCommon_mathnormal(text, mode, options…
5597 return buildCommon_makeSymbol(text, fontName, mode, options, classes.concat(fontClasses));
5603 … parts.push(buildCommon_makeSymbol(text[i], fontName, mode, options, classes.concat(fontClasses)));
5612 var fontLookup = buildCommon_mathdefault(text, mode, options, classes);
5613 …return buildCommon_makeSymbol(text, fontLookup.fontName, mode, options, classes.concat([fontLookup…
5620 …return buildCommon_makeSymbol(text, _fontName, mode, options, classes.concat("amsrm", options.font…
5624 …return buildCommon_makeSymbol(text, _fontName2, mode, options, classes.concat(options.fontWeight, …
5630 …return buildCommon_makeSymbol(text, _fontName3, mode, options, classes.concat(_fontName3, options.…
5643 …if (createClass(prev.classes) !== createClass(next.classes) || prev.skew !== next.skew || prev.max…
5728 var buildCommon_makeSpan = function makeSpan(classes, children, options, style) {
5729 var span = new domTree_Span(classes, children, options, style);
5736 var buildCommon_makeSvgSpan = function makeSvgSpan(classes, children, options, style) {
5737 return new domTree_Span(classes, children, options, style);
5753 var buildCommon_makeAnchor = function makeAnchor(href, classes, children, options) {
5754 var anchor = new domTree_Anchor(href, classes, children, options);
5897 var classes = _child.wrapperClasses || [];
5899 var childWrap = buildCommon_makeSpan(classes, [pstrut, _elem], undefined, style);
5946 vtable.classes.push("vlist-t2");
6468 var prevType = prev.classes[0];
6469 var type = node.classes[0];
6472 prev.classes[0] = "mord";
6474 node.classes[0] = "mord";
6520 if (node.classes[0] === "mspace") {
6592 return DomEnum[node.classes[0]] || null;
6594 var makeNullDelimiter = function makeNullDelimiter(options, classes) {
6596 return buildHTML_makeSpan(classes.concat(moreClasses));
6720 tagChild.classes = ["tag"];
7237 var classes = ["katex-display"];
7240 classes.push("leqno");
7244 classes.push("fleqn");
7247 node = buildCommon.makeSpan(classes, [node]);
7725 accentBody.classes.push('accent-full');
7788 supSubGroup.classes[0] = "mord";
7953 upperGroup.classes.push("x-arrow-pad");
7960 lowerGroup.classes.push("x-arrow-pad");
8011 vlist.children[0].children[0].children[1].classes.push("svg-align");
8210 span.classes.push("newline");
8284 var delimiter_styleWrap = function styleWrap(delim, toStyle, options, classes) {
8286 …var span = buildCommon.makeSpan(classes.concat(newOptions.sizingClasses(options)), [delim], option…
8297 span.classes.push("delimcenter");
8309 var delimiter_makeSmallDelim = function makeSmallDelim(delim, style, center, options, mode, classes…
8311 var span = delimiter_styleWrap(text, style, options, classes);
8333 var delimiter_makeLargeDelim = function makeLargeDelim(delim, size, center, options, mode, classes)…
8335 …mmon.makeSpan(["delimsizing", "size" + size], [inner], options), src_Style.TEXT, options, classes);
8379 …_makeStackedDelim = function makeStackedDelim(delim, heightTotal, center, options, mode, classes) {
8576 …ldCommon.makeSpan(["delimsizing", "mult"], [inner], newOptions), src_Style.TEXT, options, classes);
8687 var delimiter_makeSizedDelim = function makeSizedDelim(delim, size, options, mode, classes) {
8697 return delimiter_makeLargeDelim(delim, size, false, options, mode, classes);
8699 return delimiter_makeStackedDelim(delim, sizeToMaxHeight[size], false, options, mode, classes);
8838 …keCustomSizedDelim = function makeCustomSizedDelim(delim, height, center, options, mode, classes) {
8862 return delimiter_makeSmallDelim(delim, delimType.style, center, options, mode, classes);
8864 return delimiter_makeLargeDelim(delim, delimType.size, center, options, mode, classes);
8868 return delimiter_makeStackedDelim(delim, height, center, options, mode, classes);
8877 var makeLeftRightDelim = function makeLeftRightDelim(delim, height, depth, options, mode, classes) {
8896 return delimiter_makeCustomSizedDelim(delim, totalHeight, true, options, mode, classes);
9281 inner.classes.push("cancel-pad");
9284 inner.classes.push("boxpad");
11307 vlist.children[0].children[0].children[1].classes.push("svg-align");
11324 vlist.children[0].children[0].children[0].classes.push("svg-align");
12125 base.classes.unshift("mop"); // $FlowFixMe
12135 base.classes[0] = "mop"; // replace old mclass
12831 var pos = inner[i].classes.indexOf("sizing");
12834 Array.prototype.push.apply(inner[i].classes, options.sizingClasses(baseOptions));
12835 } else if (inner[i].classes[pos + 1] === "reset-size" + options.size) {
12839 inner[i].classes[pos + 1] = "reset-size" + baseOptions.size;
13566 ord.classes.push(className);