STIX Two Math
Ross Mills, John Hudson & Paul Hanslow, Tiro Typeworks Ltd; with prior portions MicroPress Inc., and Coen Hoffman. · Times · Serif
Math symbols
STIX Two Math has 100% of the 2101 math symbols mathra draws. What it lacks, an equation cannot use in this font. The missing symbols are shown in STIX Two Math.
| Block | Has | Lacks, for example |
|---|---|---|
| Greek | 93/93 | nothing |
| Math letters (𝑥, 𝔸, 𝓛) | 996/996 | nothing |
| Operators | 256/256 | nothing |
| Supplemental operators | 256/256 | nothing |
| Arrows | 103/103 | nothing |
| Supplemental arrows | 144/144 | nothing |
| Miscellaneous symbols A | 45/45 | nothing |
| Miscellaneous symbols B | 128/128 | nothing |
| Letterlike (ℝ, ℏ, ℒ) | 80/80 | nothing |
Use it with mathra
mathra '\frac{a}{b}' --font STIXTwoMath-Regular.otf -o fraction.svg
const font = loadFont(await readFile("STIXTwoMath-Regular.otf"));
texToSvg(String.raw`\frac{a}{b}`, { font });
font = mathra.load_font("STIXTwoMath-Regular.otf")
mathra.tex_to_svg(r"\frac{a}{b}", font=font)