Skip to main content

Crate formel

Crate formel 

Source
Expand description

MathML layout for HTML/CSS engines and standalone use.

  • host: lay out math on behalf of a host layout engine whose CSS is the source of truth.
  • standalone: a minimal MathML document with a built-in user agent stylesheet.
  • mathmlparser: the operator dictionary and (with the mathml_parser feature) an XML parser that produces a standalone::MathDocument.
  • svg_renderer (feature svg): draws a laid-out document as SVG.
  • speech: spoken text for screen readers, built from the MathML structure.
  • shaper: shaper::Shaper, a host::MathFont based on rustybuzz.

Re-exports§

pub use crate::standalone::layout;

Modules§

host
Math layout on behalf of a host HTML/CSS layout engine.
mathmlparser
MathML parsing and the operator dictionary.
shaper
A MathFont implementation based on rustybuzz for shaping and ttf-parser for reading the OpenType MATH table.
speech
Spoken text for formulas, built from the MathML structure, for screen readers (aria-label) and other accessible output.
standalone
Standalone use without a host engine: a minimal MathML document with a built-in user agent stylesheet.
unicode_math