New Computer Modern Math Computer Modern · TeX style
nabla times vector B equals mu sub 0 vector J plus mu sub 0 epsilon sub 0 fraction, partial vector E, over partial t, end fraction
integral from negative infinity to infinity of e to the power, negative x squared, end exponent d x equals square root of pi Gaussian integral x equals fraction, negative b plus or minus square root of b squared minus 4 a c, end root, over 2 a, end fraction Quadratic formula sum from n equals 1 to infinity of 1 over n squared equals pi squared over 6 Basel problem A equals matrix 2 by 2: row 1: a sub 11, a sub 12; row 2: a sub 21, a sub 22 Matrix absolute value of x equals cases: case 1: x, if x is greater than or equal to 0; case 2: negative x, if x is less than 0 Absolute value alpha beta gamma delta epsilon zeta eta theta ι kappa lambda mu nu xi pi rho sigma tau υ phi chi psi omega Greek L F H the real numbers the complex numbers the natural numbers g A Calligraphic, blackboard and fraktur
Math symbols
New Computer Modern Math has 99% 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 66/93 ; ΄ ΅ Ά · Έ Ή Ί 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 NewCMMath-Regular.otf -o fraction.svg
const font = loadFont(await readFile("NewCMMath-Regular.otf"));
texToSvg(String.raw`\frac{a}{b}`, { font });
font = mathra.load_font("NewCMMath-Regular.otf")
mathra.tex_to_svg(r"\frac{a}{b}", font=font)