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

Function sizeAtStyle

static/katex/katex.js:4800–4802  ·  view source on GitHub ↗
(size, style)

Source from the content-addressed store, hash-verified

47980.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.44, 1.728, 2.074, 2.488];
4799
4800var sizeAtStyle = function sizeAtStyle(size, style) {
4801 return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];
4802};
4803
4804/**
4805 * This is the main options class. It contains the current style, size, color,

Callers 1

katex.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected