Lines Matching refs:style
943 this.style = void 0;
949 this.style = {};
1028 var initNode = function initNode(classes, options, style) {
1034 this.style = style || {};
1037 if (options.style.isTight()) {
1044 this.style.color = color;
1058 for (var style in this.style) {
1059 if (this.style.hasOwnProperty(style)) {
1061 node.style[style] = this.style[style];
1093 for (var style in this.style) {
1094 if (this.style.hasOwnProperty(style)) {
1095 styles += utils.hyphenate(style) + ":" + this.style[style] + ";";
1139 function Span(classes, children, options, style) {
1147 this.style = void 0;
1148 initNode.call(this, classes, options, style);
1193 this.style = void 0;
1226 function Img(src, alt, style) {
1233 this.style = void 0;
1237 this.style = style;
1252 for (var style in this.style) {
1253 if (this.style.hasOwnProperty(style)) {
1255 node.style[style] = this.style[style];
1267 for (var style in this.style) {
1268 if (this.style.hasOwnProperty(style)) {
1269 styles += utils.hyphenate(style) + ":" + this.style[style] + ";";
1299 function SymbolNode(text, height, depth, italic, skew, width, classes, style) {
1308 this.style = void 0;
1316 this.style = style || {};
1354 span.style.marginRight = this.italic + "em";
1362 for (var style in this.style) {
1363 if (this.style.hasOwnProperty(style)) {
1366 span.style[style] = this.style[style];
1401 for (var style in this.style) {
1402 if (this.style.hasOwnProperty(style)) {
1403 styles += utils.hyphenate(style) + ":" + this.style[style] + ";";
4973 var sizeAtStyle = function sizeAtStyle(size, style) {
4974 return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];
4996 this.style = void 0;
5009 this.style = data.style;
5033 style: this.style,
5060 _proto.havingStyle = function havingStyle(style) {
5061 if (this.style === style) {
5065 style: style, property
5066 size: sizeAtStyle(this.textSize, style)
5077 return this.havingStyle(this.style.cramp());
5090 style: this.style.text(), property
5103 _proto.havingBaseStyle = function havingBaseStyle(style) {
5104 style = style || this.style.text(); property
5105 var wantSize = sizeAtStyle(Options.BASESIZE, style);
5107 if (this.size === wantSize && this.textSize === Options.BASESIZE && this.style === style) {
5111 style: style, property
5125 switch (this.style.id) {
5144 style: this.style.text(), property
5348 if (options.style.isTight()) {
5350 unitOptions = options.havingStyle(options.style.text());
5447 if (options.style.isTight()) {
5454 symbolNode.style.color = color;
5647 for (var style in prev.style) {
5648 if (prev.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {
5653 for (var _style in next.style) {
5654 if (next.style.hasOwnProperty(_style) && prev.style[_style] !== next.style[_style]) {
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);
5743 line.style.borderBottomWidth = line.height + "em";
5883 …pstrut.style.height = pstrutSize + "em"; // Create a new list of actual children at the correct of…
5898 var style = _child.wrapperStyle || {};
5899 var childWrap = buildCommon_makeSpan(classes, [pstrut, _elem], undefined, style);
5900 childWrap.style.top = -pstrutSize - currPos - _elem.depth + "em";
5903 childWrap.style.marginLeft = _child.marginLeft;
5907 childWrap.style.marginRight = _child.marginRight;
5922 …vlist.style.height = maxPos + "em"; // A second row is used if necessary to represent the vlist's …
5934 …depthStrut.style.height = -minPos + "em"; // Safari wants the first row to have inline content; ot…
5961 rule.style.marginRight = size + "em";
6091 span.style.height = height + "em";
6092 span.style.width = width + "em";
6453 glueOptions = options.havingStyle(styleMap[node.style]);
6644 strut.style.height = body.height + body.depth + "em";
6645 strut.style.verticalAlign = -body.depth + "em";
6730 strut.style.height = htmlNode.height + htmlNode.depth + "em";
6731 strut.style.verticalAlign = -htmlNode.depth + "em";
7229 style: settings.displayMode ? src_Style.DISPLAY : src_Style.TEXT, property
7534 _span.style.height = _height2 + "em";
7556 span.style.height = height + "em";
7559 span.style.minWidth = minWidth + "em";
7577 img.style.borderColor = color;
7614 img.style.height = totalHeight + "em";
7739 accentBody.style.left = left + "em"; // \textcircled uses the \bigcirc glyph, so it needs some
7743 accentBody.style.top = ".2em";
7946 var style = options.style; // Build the argument groups in the appropriate style.
7951 var newOptions = options.havingStyle(style.sup());
7958 newOptions = options.havingStyle(style.sub());
8213 span.style.marginTop = units_calculateSize(group.size, options) + "em";
8294 var centerSpan = function centerSpan(span, options, style) {
8295 var newOptions = options.havingBaseStyle(style);
8298 span.style.top = shift + "em";
8309 var delimiter_makeSmallDelim = function makeSmallDelim(delim, style, center, options, mode, classes…
8311 var span = delimiter_styleWrap(text, style, options, classes);
8314 centerSpan(span, options, style);
8638 span.style.minWidth = "0.853em";
8646 span.style.minWidth = "1.02em";
8655 span.style.minWidth = "0.742em";
8660 span.style.height = spanHeight + "em";
8720 style: src_Style.SCRIPTSCRIPT property
8723 style: src_Style.SCRIPT property
8726 style: src_Style.TEXT property
8743 style: src_Style.SCRIPTSCRIPT property
8746 style: src_Style.SCRIPT property
8749 style: src_Style.TEXT property
8757 style: src_Style.SCRIPTSCRIPT property
8760 style: src_Style.SCRIPT property
8763 style: src_Style.TEXT property
8806 var start = Math.min(2, 3 - options.style.size);
8819 var newOptions = options.havingBaseStyle(sequence[i].style);
8862 return delimiter_makeSmallDelim(delim, delimType.style, center, options, mode, classes);
9303 img.style.borderStyle = "solid";
9304 img.style.borderWidth = ruleThickness + "em";
9310 img.style.backgroundColor = group.backgroundColor;
9313 img.style.borderColor = group.borderColor;
9589 function parseArray(parser, _ref, style) {
9635 if (style) {
9639 style: style, property
9834 colSep.style.width = options.fontMetrics().doubleRuleSep + "em";
9841 separator.style.height = totalHeight + "em";
9842 separator.style.borderRightWidth = ruleThickness + "em";
9843 separator.style.borderRightStyle = lineType;
9844 separator.style.margin = "0 -" + ruleThickness / 2 + "em";
9845 separator.style.verticalAlign = -(totalHeight - offset) + "em";
9867 colSep.style.width = sepwidth + "em";
9904 colSep.style.width = sepwidth + "em";
10745 var style = "math" + funcName.slice(1);
10749 font: style,
10775 var style = originalStyle;
10780 style = style.id >= src_Style.SCRIPT.id ? style.text() : src_Style.DISPLAY; property
10781 } else if (size === "text" && style.size === src_Style.DISPLAY.size) {
10783 style = src_Style.TEXT; property
10785 style = src_Style.SCRIPT; property
10787 style = src_Style.SCRIPTSCRIPT; property
10790 return style;
10795 var style = genfrac_adjustStyle(group.size, options.style);
10796 var nstyle = style.fracNum();
10797 var dstyle = style.fracDen();
10838 if (style.size === src_Style.DISPLAY.size || group.size === "display") {
10916 newOptions = options.havingStyle(style);
10922 if (style.size === src_Style.DISPLAY.size) {
10934 …er.customSizedDelim(group.leftDelim, delimSize, true, options.havingStyle(style), group.mode, ["mo…
10942 …r.customSizedDelim(group.rightDelim, delimSize, true, options.havingStyle(style), group.mode, ["mc…
10958 var style = genfrac_adjustStyle(group.size, options.style);
10960 if (style.size !== options.style.size) {
10962 var isDisplay = style.size === src_Style.DISPLAY.size ? "true" : "false";
11268 var style = options.style; // Pull out the `ParseNode<"horizBrace">` if `grp` is a "supsub" node.
11278 …up(supSub.sup, options.havingStyle(style.sup()), options) : buildHTML_buildGroup(supSub.sub, optio…
11664 var style = { variable
11669 style.width = width + "em";
11673 style.verticalAlign = -depth + "em";
11676 var node = new domTree_Img(group.src, group.alt, style);
11805 strut.style.height = node.height + node.depth + "em";
11806 strut.style.verticalAlign = -node.depth + "em";
11856 style: "text",
11883 switch (options.style.size) {
11932 …sembleSupSub = function assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift)…
11941 var elem = buildHTML_buildGroup(supGroup, options.havingStyle(style.sup()), options);
11949 var _elem = buildHTML_buildGroup(subGroup, options.havingStyle(style.sub()), options);
12081 var style = options.style;
12084 …if (style.size === src_Style.DISPLAY.size && group.symbol && !utils.contains(noSuccessor, group.na…
12171 … return assembleSupSub_assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift);
12174 base.style.position = "relative";
12175 base.style.top = baseShift + "em";
12427 return assembleSupSub_assembleSupSub(base, supGroup, subGroup, options, options.style, 0, 0);
12784 rule.style.borderRightWidth = width + "em";
12785 rule.style.borderTopWidth = height + "em";
12786 rule.style.bottom = shift + "em"; // Record the height and width
13047 if (options.style.id < src_Style.TEXT.id) {
13068 inner.style.paddingLeft = advanceWidth + "em"; // Overlay the image and the argument.
13147 var style = funcName.slice(1, funcName.length - 5);
13153 style: style,
13159 var newStyle = styling_styleMap[group.style];
13165 var newStyle = styling_styleMap[group.style];
13175 var attr = styleAttributes[group.style];
13211 …var delegate = base.limits && (options.style.size === src_Style.DISPLAY.size || base.alwaysHandleS…
13214 …var _delegate = base.alwaysHandleSupSub && (options.style.size === src_Style.DISPLAY.size || base.…
13255 var newOptions = options.havingStyle(options.style.sup());
13264 var _newOptions = options.havingStyle(options.style.sub());
13276 if (options.style === src_Style.DISPLAY) {
13278 } else if (options.style.cramped) {
13408 …if (base && base.type === "op" && base.limits && (options.style === src_Style.DISPLAY || base.alwa…
13410 … === "operatorname" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISP…
13418 …if (_base && _base.type === "op" && _base.limits && (options.style === src_Style.DISPLAY || _base.…
13420 …== "operatorname" && _base.alwaysHandleSupSub && (_base.limits || options.style === src_Style.DISP…
13428 if (_base2 && _base2.type === "op" && _base2.limits && options.style === src_Style.DISPLAY) {
13430 …& _base2.type === "operatorname" && _base2.alwaysHandleSupSub && (options.style === src_Style.DISP…
13766 var newOptions = options.havingStyle(options.style.text());
16630 style: "text" // simulate \textstyle property