MCPcopy Create free account
hub / github.com/TruthHun/BookStack / sizing_htmlBuilder

Function sizing_htmlBuilder

static/katex/katex.js:11976–11982  ·  view source on GitHub ↗
(group, options)

Source from the content-addressed store, hash-verified

11974}
11975var sizeFuncs = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"];
11976var sizing_htmlBuilder = function htmlBuilder(group, options) {
11977 // Handle sizing operators like \Huge. Real TeX doesn't actually allow
11978 // these functions inside of math expressions, so we do some special
11979 // handling.
11980 var newOptions = options.havingSize(group.size);
11981 return sizingGroup(group.body, newOptions, options);
11982};
11983defineFunction({
11984 type: "sizing",
11985 names: sizeFuncs,

Callers 1

katex.jsFile · 0.85

Calls 2

havingSizeMethod · 0.80
sizingGroupFunction · 0.70

Tested by

no test coverage detected