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

Function buildCommon_makeGlue

static/katex/katex.js:5847–5853  ·  view source on GitHub ↗
(measurement, options)

Source from the content-addressed store, hash-verified

5845
5846
5847var buildCommon_makeGlue = function makeGlue(measurement, options) {
5848 // Make an empty span for the space
5849 var rule = buildCommon_makeSpan(["mspace"], [], options);
5850 var size = units_calculateSize(measurement, options);
5851 rule.style.marginRight = size + "em";
5852 return rule;
5853}; // Takes font options, and returns the appropriate fontLookup name
5854
5855
5856var retrieveTextFontName = function retrieveTextFontName(fontFamily, fontWeight, fontShape) {

Callers

nothing calls this directly

Calls 2

buildCommon_makeSpanFunction · 0.85
units_calculateSizeFunction · 0.85

Tested by

no test coverage detected