This is a deliberately broad test of the blog’s real Typst-to-HTML mathematics pipeline. Every specimen below is authored in this file, compiled by Typst, carried through the Rust generator as MathML, and finally rendered by the browser. Inline mathematics uses ordinary single delimiters, as in 𝑒𝑖𝜋+1=0, while the larger specimens use the convenient double-delimiter form.

The page is a rendering catalogue rather than a claim that every symbol belongs in one argument. The identity 𝛼+𝛽=𝛾 demonstrates that a note marker can be attached directly to native Typst mathematics.

Alphabets and letter styles§

Greek letters work by name, including variants and capital forms:

𝛼𝛽𝛾𝛿𝜀𝜖𝜁𝜂𝜃𝜗𝜄𝜅𝜆𝜇𝜈𝜉𝜊𝜋𝜛𝜌𝜚𝜎𝜍𝜏𝜐𝜑𝜙𝜒𝜓𝜔
ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩTypst also accepts literal Unicode mathematical characters, so the Hebrew cardinal symbols and a few historic letterforms can appear directly:

0<12Several mathematical alphabets may be mixed without turning the expression into an image:

,ℱ︀,𝔤,𝘈,𝚡The familiar number-set shorthands are available too: ,,,, and .

Arithmetic and large operators§

The basic and circled binary operations render together here:

𝑎+𝑏𝑐±𝑑𝑒×𝑓𝑔÷𝑘𝑙𝑚𝐴𝐵,𝐴𝐵,𝑝𝑞,𝑝𝑞,𝑥𝑦,𝑢𝑣,𝑢𝑣,𝑢𝑣Large operators grow in display mathematics and carry limits in their conventional places:

𝑘=1𝑛𝑘=𝑛(𝑛+1)2,𝑝𝑃𝑝,𝑖𝐼𝐴𝑖,𝑗𝐽𝐵𝑗A less common coproduct belongs to the same family:

𝜆Λ𝑋𝜆

Relations and order§

Equality, approximation, order, membership, and containment can all be chained:

𝑥=𝑦𝑧,𝑎<𝑏𝑐𝑑𝑒>𝑓,𝑢𝑣𝑤,𝑟𝑠𝑥𝐴,𝑦𝐵,𝐶𝐷,𝐸𝐹𝐺The same line can carry order-theoretic and geometric relations:

𝑎𝑏𝑐,𝑑𝑒𝑓,𝑚𝑛,𝑚𝑟,𝐿𝑀,𝐿𝑁

Arrows and mappings§

Short, long, single, and double arrows cover functions, implications, and equivalences:

𝐴𝐵,𝐵𝐴,𝐴↔︎𝐵,𝑃𝑄,𝑃𝑄𝑥𝑓(𝑥),𝐴↪︎𝐵,𝐶𝐷,𝐸𝐹Literal Unicode fills out some specialized directions and harpoons:

Typst’s shorthand sequences compile to their mathematical arrows rather than to punctuation:

𝑥𝑦𝑥𝑦𝑥𝑦𝑥𝑦𝐴𝐵𝐴𝐵𝑃𝑄𝑃𝑄𝑃𝑄

Delimiters and grouping§

Parentheses, brackets, braces, bars, floors, ceilings, and norms adapt to their contents:

1+𝑥21𝑥2,[𝑘=0𝑛𝑎𝑘],{𝑥|𝑥2<2}|𝑎+𝑏𝑐|,(𝑥𝑦𝑧),𝛼,𝛽,𝛾Angle brackets and mismatched delimiters are useful in inner products and half-open intervals:

𝑢,𝑣=𝑖𝑢𝑖𝑣𝑖̄,[0,1),(𝑎,𝑏]

Accents, primes, and scripts§

Common accents may sit over single letters or longer expressions:

𝑥̂𝑦̃𝑧̄𝑞̇𝑟̈𝑣𝐴𝐵𝑢+𝑣̂𝑥+𝑦̄The generic accent function and grouped-prime function cover marks that need explicit arguments:

𝑥́𝑦̆𝑧̄𝑓(𝑥)Subscripts, superscripts, primes, and combined attachments stay attached to their bases:

𝑥𝑖2+𝑥𝑖,𝑗𝑛+1,𝑓(𝑥),𝑔(𝑥),𝑎0,𝑎1,,𝑎𝑛Limits and annotated braces provide another kind of attachment:

lim𝑛(1+1𝑛)𝑛=𝑒,𝑎++𝑎𝑛 terms,𝑥1++𝑥𝑘sample sumBrackets, parentheses, and shell decorations exercise the rest of Typst’s under/over family:

𝑎+𝑏below𝑎+𝑏above𝑐+𝑑below𝑐+𝑑above𝑥+𝑦below𝑥+𝑦aboveCorner attachments, forced script placement, and stretched relations expose lower-level math layout:

Π4231𝛽𝛼,1𝑛,𝐴1𝑛,𝐻=def𝑈+𝑉

Fractions, roots, and continued structure§

Slash fractions, explicit fractions, binomial coefficients, and roots all preserve their nested structure:

12+𝑎+𝑏𝑐+𝑑,(𝑛𝑘)=𝑛!𝑘!(𝑛𝑘)!,2,𝑥3,1+𝑥𝑛Nested notation remains readable when several levels are combined:

𝑥=1+12+13+14+,1+1+1+The same fraction may be forced through display, inline, script, and scriptscript sizes:

𝑥+1𝑥1𝑥+1𝑥1𝑥+1𝑥1𝑥+1𝑥1

A genuinely wide equation§

A display can deliberately use the same right-hand gutter as a wide image. For 𝑎𝑥3+𝑏𝑥2+𝑐𝑥+𝑑=0 with 𝑎0, all three roots may be written in one uninterrupted line:

𝑥𝑘=13𝑎(𝑏+1+𝑖32𝑘2𝑏39𝑎𝑏𝑐+27𝑎2𝑑+(2𝑏39𝑎𝑏𝑐+27𝑎2𝑑)24(𝑏23𝑎𝑐)323+𝑏23𝑎𝑐1+𝑖32𝑘2𝑏39𝑎𝑏𝑐+27𝑎2𝑑+(2𝑏39𝑎𝑏𝑐+27𝑎2𝑑)24(𝑏23𝑎𝑐)323),𝑘{0,1,2}
The repeated radical is written twice on purpose: there is no discriminant or cube-root abbreviation hiding any of the expression. Choose the sign of the square root so the repeated cube-root argument is nonzero; if the displayed plus sign makes it zero, replace both occurrences with a minus sign. Any of the three resulting cube roots may be used—it only permutes the values of 𝑘. When 𝑏23𝑎𝑐=0 and 2𝑏39𝑎𝑏𝑐+27𝑎2𝑑=0, all three roots equal 𝑏3𝑎.

Calculus and analysis§

Ordinary, partial, directional, and vector derivatives can share a display:

d𝑓d𝑥,d𝑛𝑓d𝑥𝑛,𝜕𝑓𝜕𝑥,𝜕2𝑓𝜕𝑥𝜕𝑦,𝐷𝑣𝑓,𝑓Single, multiple, contour, and surface-style integrals are supported:

01𝑥2d𝑥=13,Ω𝑓d𝐴,𝑉𝜌d𝑉,𝛾𝐹d𝑟,𝑆𝐹𝑛d𝑆The equivalent named integral variants pass through the same route:

𝐷𝑓d𝐴𝑉𝜌d𝑉𝛾𝐹d𝑟𝑆𝐹𝑛d𝑆The classical vector-calculus operators are ordinary mathematical input as well:

𝐹=0,×𝐹=𝐺,Δ𝑢=𝜕𝑡𝑢,𝜑=0Named functions use upright operator typography:

sin2𝜃+cos2𝜃=1,exp(log𝑥)=𝑥,det(𝐴𝜆𝐼)=0,gcd(𝑚,𝑛),min𝑥𝑓(𝑥),sup𝑥𝑋𝑓(𝑥)Custom names use the same operator spacing:

Spec𝑅rank𝐴Hom(𝑉,𝑊)Aut(𝐺)

Sets and logic§

Set-builder notation, powersets, complements, and symmetric differences can be expressed compactly:

𝐴={𝑥|𝑥0},𝒫︀(𝑋)={𝐴|𝐴𝑋},𝐴𝐵,𝐴𝐵Quantifiers and connectives make a useful logic stress test:

𝑥𝑋,𝑦𝑌:𝑃(𝑥,𝑦),¬𝑝𝑞,𝑝𝑞,𝑝𝑞A custom relation can retain relation spacing without becoming an image:

𝑥♥︎𝑦𝑦♥︎𝑧Literal turnstiles and semantic consequence symbols are supported alongside the usual therefore signs:

Γ𝜑,Γ𝜓,,𝑃,𝑄,

Matrices, vectors, and piecewise definitions§

Matrices may use different delimiters and may contain full expressions:

𝐴=(1234),𝐵=[𝑎11𝑎1𝑛𝑎𝑚1𝑎𝑚𝑛]Column vectors, determinants, and bar-delimited arrays use the same underlying layout machinery:

𝑣=(𝑥𝑦𝑧),det(𝑎𝑏𝑐𝑑)=𝑎𝑑𝑏𝑐,|102013|A piecewise definition aligns conditions independently from their values:

𝑓(𝑥){𝑥2if𝑥0𝑥if𝑥<0Long derivations can align at relation signs across several rows:

𝑆𝑛=𝑘=1𝑛𝑘=𝑛(𝑛+1)2=(𝑛+12)Typst code may calculate and spread data directly into mathematical structures:

(14916)(1234)User-defined Typst functions and explicit spacing remain available inside formulas:

𝑥2+𝑥2=𝑥2,𝑎𝑏𝑐𝑑𝑒𝑓

Geometry§

Angles, triangles, circles, parallel lines, congruence, and degrees render as mathematical symbols rather than prose approximations:

𝐴𝐵𝐶=60°,𝐴𝐵𝐶𝐷𝐸𝐹,𝐴𝐵𝐶𝐷,𝐴𝐵𝐵𝐶𝑂,𝐴𝐵,𝐴𝑂𝐵=𝜃,12={𝑃}Coordinates, distances, and the dot and cross products cover the analytic side of geometry:

𝑑(𝑃,𝑄)=(𝑥2𝑥1)2+(𝑦2𝑦1)2,𝑢𝑣=𝑢𝑣cos𝜃,𝑢×𝑣

Probability and statistics§

Probability, expectation, conditional notation, and independence can be combined without special image assets:

(𝐴𝐵)=(𝐴)+(𝐵)(𝐴𝐵),(𝐴|𝐵)=(𝐴𝐵)(𝐵)𝔼[𝑋]=𝑥𝑓𝑋(𝑥)d𝑥,Var(𝑋)=𝔼[(𝑋𝜇)2],Cov(𝑋,𝑌)=𝜌𝜎𝑋𝜎𝑌Finite samples bring in estimators, averages, and asymptotic convergence:

𝑋̄𝑛=1𝑛𝑖=1𝑛𝑋𝑖,𝑠2=1𝑛1𝑖=1𝑛(𝑋𝑖𝑋̄)2,𝑛(𝑋̄𝑛𝜇)𝒩︀(0,𝜎2)

Unusual and miscellaneous symbols§

The final tray mixes symbols from algebra, physics, astronomy, music, card suits, and proof notation. Literal Unicode is useful when a descriptive Typst name would be harder to remember:

𝜕§Finally, the horizontal, vertical, and diagonal ellipses remain distinct:

Current HTML boundary§

This catalogue only labels a feature as supported when it survives semantic HTML export. In the pinned Typst version, cancel, overline, and underline are accepted for paged output but their decorations are omitted from MathML; this site’s Rust build therefore rejects their warnings instead of quietly publishing the wrong result. Equation numbering and explicit alternative descriptions are also not yet carried into Typst’s HTML output, so they are not presented here as working web features.

If every row above remains legible and structurally aligned, the complete route from Typst source through Rust to browser MathML is doing its job.