render/util/latex_utils library

Functions

isCenteredSymbol(String symbol) → bool
Determines whether a symbol should be vertically centered
lineSpacingPx(RenderContext context) → double
Calculates line spacing
mapBigOp(String op) → String
Large operator symbol mapping
parseColor(String color) → Color?
Parses color strings
parseDimension(String dimension, RenderContext context) → double
Parses dimension strings (e.g., "1cm", "10pt", "-5mm")
spaceWidthPx(RenderContext context, SpaceType type) → double
Calculates whitespace width
splitLines(List<LatexNode> nodes) → List<List<LatexNode>>
Splits multi-line content