{"route":"/en-US-v0.14.1/reference/math/sizes/","title":"Sizes","description":"Documentation for the sizes functions.","part":null,"outline":[{"id":"summary","name":"Summary","children":[]},{"id":"functions","name":"Functions","children":[{"id":"functions-display","name":"Display Size","children":[{"id":"functions-display-body","name":"body","children":[]},{"id":"functions-display-cramped","name":"cramped","children":[]}]},{"id":"functions-inline","name":"Inline Size","children":[{"id":"functions-inline-body","name":"body","children":[]},{"id":"functions-inline-cramped","name":"cramped","children":[]}]},{"id":"functions-script","name":"Script Size","children":[{"id":"functions-script-body","name":"body","children":[]},{"id":"functions-script-cramped","name":"cramped","children":[]}]},{"id":"functions-sscript","name":"Script-Script Size","children":[{"id":"functions-sscript-body","name":"body","children":[]},{"id":"functions-sscript-cramped","name":"cramped","children":[]}]}]}],"body":{"kind":"group","content":{"name":"sizes","title":"Sizes","details":"<p>Forced size styles for expressions within formulas.</p>\n<p>These functions allow manual configuration of the size of equation elements\nto make them look as in a display/inline equation or as if used in a root or\nsub/superscripts.</p>","functions":[{"path":["math"],"name":"display","title":"Display Size","keywords":["displaystyle"],"oneliner":"Forced display style in math.","element":false,"contextual":false,"deprecationMessage":null,"deprecationUntil":null,"details":[{"kind":"html","content":"<p>Forced display style in math.</p>\n<p>This is the normal size for block equations.</p>"},{"kind":"example","content":{"body":"<div class=\"previewed-code\"><pre><code><span class=\"typ-math-delim\">$</span><span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2 = <span class=\"typ-func\">display</span><span class=\"typ-punct\">(</span><span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2<span class=\"typ-punct\">)</span><span class=\"typ-math-delim\">$</span>\n</code></pre><div class=\"preview\"><img src=\"/en-US-v0.14.1/assets/2b0ff12851291bbf6c19c8a6e5b87b4a.png\" alt=\"Preview\"></div></div>","title":null}}],"self":false,"params":[{"name":"body","details":[{"kind":"html","content":"<p>The content to size.</p>"}],"types":["content"],"strings":[],"default":null,"positional":true,"named":false,"required":true,"variadic":false,"settable":false},{"name":"cramped","details":[{"kind":"html","content":"<p>Whether to impose a height restriction for exponents, like regular sub-\nand superscripts do.</p>"}],"types":["bool"],"strings":[],"default":"<code><span class=\"typ-key\">false</span></code>","positional":false,"named":true,"required":false,"variadic":false,"settable":false}],"returns":["content"],"scope":[]},{"path":["math"],"name":"inline","title":"Inline Size","keywords":["textstyle"],"oneliner":"Forced inline (text) style in math.","element":false,"contextual":false,"deprecationMessage":null,"deprecationUntil":null,"details":[{"kind":"html","content":"<p>Forced inline (text) style in math.</p>\n<p>This is the normal size for inline equations.</p>"},{"kind":"example","content":{"body":"<div class=\"previewed-code\"><pre><code><span class=\"typ-math-delim\">$</span> <span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2\n    = <span class=\"typ-func\">inline</span><span class=\"typ-punct\">(</span><span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2<span class=\"typ-punct\">)</span> <span class=\"typ-math-delim\">$</span>\n</code></pre><div class=\"preview\"><img src=\"/en-US-v0.14.1/assets/ca187288080f6bcfd264bcfb9cdb4da8.png\" alt=\"Preview\"></div></div>","title":null}}],"self":false,"params":[{"name":"body","details":[{"kind":"html","content":"<p>The content to size.</p>"}],"types":["content"],"strings":[],"default":null,"positional":true,"named":false,"required":true,"variadic":false,"settable":false},{"name":"cramped","details":[{"kind":"html","content":"<p>Whether to impose a height restriction for exponents, like regular sub-\nand superscripts do.</p>"}],"types":["bool"],"strings":[],"default":"<code><span class=\"typ-key\">false</span></code>","positional":false,"named":true,"required":false,"variadic":false,"settable":false}],"returns":["content"],"scope":[]},{"path":["math"],"name":"script","title":"Script Size","keywords":["scriptstyle"],"oneliner":"Forced script style in math.","element":false,"contextual":false,"deprecationMessage":null,"deprecationUntil":null,"details":[{"kind":"html","content":"<p>Forced script style in math.</p>\n<p>This is the smaller size used in powers or sub- or superscripts.</p>"},{"kind":"example","content":{"body":"<div class=\"previewed-code\"><pre><code><span class=\"typ-math-delim\">$</span><span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2 = <span class=\"typ-func\">script</span><span class=\"typ-punct\">(</span><span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2<span class=\"typ-punct\">)</span><span class=\"typ-math-delim\">$</span>\n</code></pre><div class=\"preview\"><img src=\"/en-US-v0.14.1/assets/5003b4082132e3646b44993ac60fe58e.png\" alt=\"Preview\"></div></div>","title":null}}],"self":false,"params":[{"name":"body","details":[{"kind":"html","content":"<p>The content to size.</p>"}],"types":["content"],"strings":[],"default":null,"positional":true,"named":false,"required":true,"variadic":false,"settable":false},{"name":"cramped","details":[{"kind":"html","content":"<p>Whether to impose a height restriction for exponents, like regular sub-\nand superscripts do.</p>"}],"types":["bool"],"strings":[],"default":"<code><span class=\"typ-key\">true</span></code>","positional":false,"named":true,"required":false,"variadic":false,"settable":false}],"returns":["content"],"scope":[]},{"path":["math"],"name":"sscript","title":"Script-Script Size","keywords":["scriptscriptstyle"],"oneliner":"Forced second script style in math.","element":false,"contextual":false,"deprecationMessage":null,"deprecationUntil":null,"details":[{"kind":"html","content":"<p>Forced second script style in math.</p>\n<p>This is the smallest size, used in second-level sub- and superscripts\n(script of the script).</p>"},{"kind":"example","content":{"body":"<div class=\"previewed-code\"><pre><code><span class=\"typ-math-delim\">$</span><span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2 = <span class=\"typ-func\">sscript</span><span class=\"typ-punct\">(</span><span class=\"typ-pol\">sum</span><span class=\"typ-math-op\">_</span>i x<span class=\"typ-math-op\">_</span>i<span class=\"typ-math-op\">/</span>2<span class=\"typ-punct\">)</span><span class=\"typ-math-delim\">$</span>\n</code></pre><div class=\"preview\"><img src=\"/en-US-v0.14.1/assets/129983a09889adf6cdee40342a6eee8f.png\" alt=\"Preview\"></div></div>","title":null}}],"self":false,"params":[{"name":"body","details":[{"kind":"html","content":"<p>The content to size.</p>"}],"types":["content"],"strings":[],"default":null,"positional":true,"named":false,"required":true,"variadic":false,"settable":false},{"name":"cramped","details":[{"kind":"html","content":"<p>Whether to impose a height restriction for exponents, like regular sub-\nand superscripts do.</p>"}],"types":["bool"],"strings":[],"default":"<code><span class=\"typ-key\">true</span></code>","positional":false,"named":true,"required":false,"variadic":false,"settable":false}],"returns":["content"],"scope":[]}],"global_attributes":[]}}}