Skip to the page

Inter Math 1.0.0

Based on Inter 4.001 and KaTeX 0.19.0

Inter Math

The math font for Inter. A variable font from Thin to Black, drawn after Computer Modern, the font of TeX, and ready for KaTeX: formulas set in the same strokes as your text.

11+e−2π1+e−4π1+⋯=(5+52−5+12)e2π5\begin{aligned} &\cfrac{1}{1 + \cfrac{e^{-2\pi}}{1 + \cfrac{e^{-4\pi}}{1 + \cdots}}} \\[0.6em] &= \left( \sqrt{\frac{5 + \sqrt{5}}{2}} - \frac{\sqrt{5} + 1}{2} \right) \sqrt[5]{e^{2\pi}} \end{aligned}
“They must be true because, if they were not true, no one would have the imagination to invent them.”
G. H. Hardy, of Srinivasa Ramanujan’s formulas [14]
200
Glyphs
1,186
upright, italic, large, blackboard bold
Inter’s own
641
letters, figures and Greek, as Inter draws them
Drawn for math
545
symbols built on the proportions of Inter’s glyphs

Examples

Famous equations at the size they deserve. Each is set in Inter Math at the weight on its label, as large as the page allows.

No. 01 Inter Math Black · wght 900
∫abf′(x) dx=f(b)−f(a)\displaystyle \int_a^b f'(x)\, dx = f(b) - f(a)

The fundamental theorem of calculus

Isaac Newton and Gottfried Wilhelm Leibniz, independently, 1660s and 1670s

No. 02 Inter Math Thin · wght 100
E=mc2\displaystyle E = mc^2

Mass–energy equivalence

Albert Einstein, 1905

No. 03 Inter Math Medium · wght 500
iℏ ∂∂tΨ(r⃗,t)=Ĥ Ψ(r⃗,t)\displaystyle i\hbar\,\frac{\partial}{\partial t}\Psi(\vec{r}, t) = \hat{H}\,\Psi(\vec{r}, t)

The Schrödinger equation

Erwin Schrödinger, 1926

No. 04 Inter Math · wght 350

Gauss’s law

∇⋅E⃗=ρε0\displaystyle \htmlClass{chalk-yellow}{\nabla} \cdot \vec{E} = \frac{\rho}{\varepsilon_0}

Gauss’s law for magnetism

∇⋅B⃗=0\displaystyle \htmlClass{chalk-yellow}{\nabla} \cdot \vec{B} = 0

Faraday’s law

∇×E⃗=−∂B⃗∂t\displaystyle \htmlClass{chalk-yellow}{\nabla} \times \vec{E} = -\frac{\partial \vec{B}}{\partial t}

Ampère’s law, with Maxwell’s term

∇×B⃗=μ0J⃗+μ0ε0∂E⃗∂t\displaystyle \htmlClass{chalk-yellow}{\nabla} \times \vec{B} = \mu_0 \vec{J} + \mu_0 \varepsilon_0 \frac{\partial \vec{E}}{\partial t}

Maxwell’s equations

James Clerk Maxwell, 1865, in Oliver Heaviside’s vector form, 1884

No. 05 Inter Math ExtraLight · wght 200
∮C(L dx+M dy)=∬D(∂M∂x−∂L∂y)dx dy\displaystyle \oint_{C} \left( L \, dx + M \, dy \right) = \iint_{D} \left( \frac{\partial M}{\partial x} - \frac{\partial L}{\partial y} \right) dx \, dy

Green’s theorem

George Green, 1828

No. 06wght 800
a2+b2=c2\displaystyle a^2 + b^2 = c^2

Pythagoras’ theorem

Known in Babylon a thousand years before Pythagoras (Plimpton 322, c. 1800 BC)

No. 07wght 300
φ=1+52\displaystyle \varphi = \frac{1 + \sqrt{5}}{2}

The golden ratio

Euclid’s extreme and mean ratio, Elements VI, c. 300 BC

No. 08wght 600
eiπ+1=0\displaystyle e^{i\pi} + 1 = 0

Euler’s identity

Leonhard Euler, after his Introductio in analysin infinitorum, 1748. Five constants, three operations, one equals sign

No. 09wght 400
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx

The Fourier transform

Joseph Fourier, Théorie analytique de la chaleur, 1822

No. 10wght 200
S=klog⁡W\displaystyle S = k \log W

Boltzmann’s entropy

Ludwig Boltzmann, 1877, in Max Planck’s notation. Engraved on Boltzmann’s grave in Vienna

No. 11wght 500
n!∼2πn(ne)n\displaystyle n! \sim \sqrt{2\pi n}\left(\frac{n}{e}\right)^{n}

Stirling’s formula

Abraham de Moivre and James Stirling, 1730

No. 12wght 400
P(A∣B)=P(B∣A) P(A)P(B)\displaystyle P(A \mid B) = \frac{P(B \mid A)\, P(A)}{P(B)}

Bayes’ theorem

Thomas Bayes, published 1763; Pierre-Simon Laplace, 1774

No. 13wght 700
σxσp≥ℏ2\displaystyle \sigma_x \sigma_p \geq \frac{\hbar}{2}

The uncertainty principle

Werner Heisenberg, 1927; in this form Earle Kennard, 1927

No. 14wght 300
Gμν+Λgμν=8πGc4 Tμν\displaystyle G_{\mu\nu} + \Lambda g_{\mu\nu} = \frac{8\pi G}{c^4}\, T_{\mu\nu}

Einstein’s field equations

Albert Einstein, 1915. Λ added in 1917, dropped in 1931

No. 15wght 600
(iγμ∂μ−m) ψ=0\displaystyle (i\gamma^{\mu}\partial_{\mu} - m)\,\psi = 0

The Dirac equation

Paul Dirac, 1928. Westminster Abbey carries it as iγ·∂ψ = mψ

No. 16wght 400
f(a)=12πi∮γf(z)z−a dz\displaystyle f(a) = \frac{1}{2\pi i} \oint_{\gamma} \frac{f(z)}{z - a}\, dz

Cauchy’s integral formula

Augustin-Louis Cauchy, 1831

No. 17wght 400
G→φHπ↓↑ιG/ker⁡φ→∼im⁡φ\displaystyle \begin{CD} G @>{\varphi}>> H \\ @V{\pi}VV @AA{\iota}A \\ G / \ker \varphi @>{\sim}>> \operatorname{im} \varphi \end{CD}

The first isomorphism theorem

Every homomorphism is a quotient, then an isomorphism, then an inclusion: the square commutes

No. 18wght 500
ρ(∂u⃗∂t+(u⃗⋅∇) u⃗)=−∇p+μ∇2u⃗+f⃗\displaystyle \rho\left(\frac{\partial \vec{u}}{\partial t} + (\vec{u} \cdot \nabla)\,\vec{u}\right) = -\nabla p + \mu \nabla^{2} \vec{u} + \vec{f}

The Navier–Stokes equations

Claude-Louis Navier, 1822; George Stokes, 1845

Posts

Math made to be scrolled past, and stopped at: quizzes, puzzles and stories, upright for stories and reels, wide for the feed. The account and its posts are made up.

Algebra

Quick quiz

(2x−5)2=⋯(2x - 5)^2 = \cdots
  1. A4x2−254x^2 - 25
  2. B4x2+5x+254x^2 + 5x + 25
  3. C2x2−20x+52x^2 - 20x + 5
  4. D4x2−20x+254x^2 - 20x + 25

@intermath

eπe^{\pi}

Inter Math @intermath · 2h

Can you find cc in 15 seconds?

CC AA BB 66 88 cc
192101K
eπe^{\pi}

Inter Math @intermath · Oct 15

Most people get this wrong. Can you find the rule?

4+2=123+4=145+3=167+9= ?\begin{aligned} 4 + 2 &= 12 \\ 3 + 4 &= 14 \\ 5 + 3 &= 16 \\ 7 + 9 &= \,? \end{aligned}
1279362.3K

Find the derivative of

Calculus
y=exy = e^{x}
  1. Adydx=ex\dfrac{dy}{dx} = e^{x}
  2. Bdydx=xex\dfrac{dy}{dx} = x e^{x}
  3. Cdydx=e2x\dfrac{dy}{dx} = e^{2x}
  4. Ddydx=1\dfrac{dy}{dx} = 1

Answer in the comments

The story goes

Gauss, aged 9, adds 1 to 100 in seconds.

1+2+⋯+100=50501 + 2 + \cdots + 100 = 5050
∑k=1nk=n(n+1)2\displaystyle \sum_{k=1}^{n} k = \frac{n(n+1)}{2}

@intermath

eπe^{\pi}

Inter Math @intermath · 5h

No calculator. Which is bigger?

eπ    ≷    πee^{\pi} \;\; \htmlClass{chalk-yellow}{\gtrless} \;\; \pi^{e}
3424112812K

Papers

Math at reading size, in running text: a journal page, Einstein and Fourier retold, a lecture, a worksheet. Switch them to Computer Modern to compare: nothing moves but the glyphs.

The Specimen Journal of MathematicsVol. 1, No. 1 (2026), 1–2

On the sum of the reciprocals of the squares

Abstract We recall how Euler found ζ(2)\zeta(2), the sum of the reciprocals of the squares, from the roots of the sine, and state his value of ζ(2m)\zeta(2m) for every m≥1m \geq 1.

1. The problem

Pietro Mengoli asked in 1650 for the value of

∑n=1∞1n2=1+14+19+116+⋯(1)\sum_{n=1}^{\infty} \frac{1}{n^2} = 1 + \frac{1}{4} + \frac{1}{9} + \frac{1}{16} + \cdots \tag{1}

Jakob Bernoulli made it famous in 1689 and could not find it. It took the name of Basel, the town of the Bernoullis and of Euler.

2. Euler’s argument

The sine vanishes at x=kπx = k\pi, k∈Zk \in \mathbb{Z}. Taking sin⁡x/x\sin x / x for a polynomial of infinite degree with the roots ±kπ\pm k\pi, Euler wrote

sin⁡xx=∏k=1∞(1−x2k2π2).(2)\frac{\sin x}{x} = \prod_{k=1}^{\infty} \left( 1 - \frac{x^2}{k^2 \pi^2} \right). \tag{2}

Its series begins

sin⁡xx=1−x23!+x45!−⋯(3)\frac{\sin x}{x} = 1 - \frac{x^2}{3!} + \frac{x^4}{5!} - \cdots \tag{3}

and the coefficients of x2x^2 in (2) and (3) must agree:

∑k=1∞1k2π2=16,so∑k=1∞1k2=π26.(4)\sum_{k=1}^{\infty} \frac{1}{k^2 \pi^2} = \frac{1}{6}, \quad\text{so}\quad \sum_{k=1}^{\infty} \frac{1}{k^2} = \frac{\pi^2}{6}. \tag{4}

Theorem 1 (Euler). For every integer m≥1m \geq 1,

ζ(2m)=∑n=1∞1n2m=(−1)m+1B2m (2π)2m2 (2m)!,\zeta(2m) = \sum_{n=1}^{\infty} \frac{1}{n^{2m}} = \frac{(-1)^{m+1} B_{2m} \, (2\pi)^{2m}}{2 \, (2m)!},

where B2mB_{2m} are the Bernoulli numbers: B2=16B_2 = \tfrac{1}{6}, B4=−130B_4 = -\tfrac{1}{30}, and so on.

Remark. The product (2) waited more than a century for a proof: Weierstrass’s factorization theorem, 1876. For odd arguments no such formula is known; Apéry proved ζ(3)\zeta(3) irrational only in 1978.

After Leonhard Euler, De summis serierum reciprocarum (E41, 1740) [9]
A readingAnnalen der Physik 18 (1905), 639–641 [10]

Does the inertia of a body depend on its energy content?

Albert Einstein’s argument of 1905, in his notation: VV is the speed of light, LL an energy.

A body at rest sends out two equal waves of light in opposite directions, at an angle φ\varphi to the xx axis, of energy LL together. Its energy goes from E0E_0 to E1E_1:

E0=E1+12L+12L.E_0 = E_1 + \tfrac{1}{2} L + \tfrac{1}{2} L.

Seen from a system moving along xx at the velocity vv, the body goes from H0H_0 to H1H_1, and the light carries more:

H0=H1+12L 1−vVcos⁡φ1−(vV)2+12L 1+vVcos⁡φ1−(vV)2=H1+L1−(vV)2.\begin{aligned} H_0 &= H_1 + \tfrac{1}{2} L \, \frac{1 - \frac{v}{V} \cos\varphi}{\sqrt{1 - \left( \frac{v}{V} \right)^2}} + \tfrac{1}{2} L \, \frac{1 + \frac{v}{V} \cos\varphi}{\sqrt{1 - \left( \frac{v}{V} \right)^2}} \\ &= H_1 + \frac{L}{\sqrt{1 - \left( \frac{v}{V} \right)^2}}. \end{aligned}

The differences H−EH - E are the body’s kinetic energies KK in the moving system, up to a constant, so that

K0−K1=L{11−(vV)2−1}=12 LV2 v2+⋯K_0 - K_1 = L \left\{ \frac{1}{\sqrt{1 - \left( \frac{v}{V} \right)^2}} - 1 \right\} = \frac{1}{2} \, \frac{L}{V^2} \, v^2 + \cdots

The body moves on as before, with less kinetic energy, as if its mass had dropped by L/V2L / V^2.

If a body gives off the energy LL as radiation, its mass decreases by L/V2L / V^2.

Write EE for LL and cc for VV: E=mc2E = mc^2.

A readingParis, 1822 [11]

The analytical theory of heat

Joseph Fourier’s series, retold.

Heat spreads along a thin rod as

∂u∂t=κ ∂2u∂x2.\frac{\partial u}{\partial t} = \kappa \, \frac{\partial^2 u}{\partial x^2}.

Fourier’s idea: write the first temperatures ff as a sum of sines, for each of them only fades. With the ends kept at 00,

u(x,t)=∑n=1∞bn e−κn2tsin⁡nx,u(x, t) = \sum_{n=1}^{\infty} b_n \, e^{-\kappa n^2 t} \sin nx,
bn=2π∫0πf(x)sin⁡nx dx.b_n = \frac{2}{\pi} \int_0^{\pi} f(x) \sin nx \, dx.

Even a rod cold at its ends and hot all through is such a sum:

π4=sin⁡x+sin⁡3x3+sin⁡5x5+⋯(0<x<π).\frac{\pi}{4} = \sin x + \frac{\sin 3x}{3} + \frac{\sin 5x}{5} + \cdots \qquad (0 < x < \pi).

In the middle, at x=π2x = \tfrac{\pi}{2}, it is Leibniz’s series:

π4=1−13+15−17+⋯\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots
Lagrange doubted that a function with a jump could be a sum of sines. Dirichlet proved it, in 1829.
Lecture 3 · AnalysisThe Gaussian integral
I=∫−∞∞e−x2 dxI2=∫−∞∞ ⁣∫−∞∞e−(x2+y2) dx dy=∫02π ⁣∫0∞e−r2 r dr dθ=2π[−12e−r2]0∞=π\begin{aligned} I &= \int_{-\infty}^{\infty} e^{-x^2} \, dx \\[0.5em] I^2 &= \int_{-\infty}^{\infty} \! \int_{-\infty}^{\infty} e^{-(x^2 + y^2)} \, dx \, dy \\[0.5em] &= \int_{0}^{2\pi} \! \int_{0}^{\infty} e^{-r^2} \, \htmlClass{chalk-yellow}{r \, dr \, d\theta} \\[0.5em] &= 2\pi \left[ -\tfrac{1}{2} e^{-r^2} \right]_{0}^{\infty} = \pi \end{aligned}
  ∫−∞∞e−x2 dx=π  \boxed{\; \int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi} \;}
Analytic geometryWorksheet 4 · Exercise 2

In an orthonormal frame (O; ı⃗, ȷ⃗)(O;\, \vec{\imath},\, \vec{\jmath}), take the points A(1; 2)A(1;\,2), B(5; 4)B(5;\,4) and C(3; −2)C(3;\,-2).

  1. 1. Give the coordinates of AB→\overrightarrow{AB} and AC→\overrightarrow{AC}.

    AB→(42),AC→(2−4)\overrightarrow{AB} \begin{pmatrix} 4 \\ 2 \end{pmatrix}, \quad \overrightarrow{AC} \begin{pmatrix} 2 \\ -4 \end{pmatrix}

  2. 2. Show that AB→⋅AC→=0\overrightarrow{AB} \cdot \overrightarrow{AC} = 0. What is the angle BAC^\widehat{BAC}?

    AB→⋅AC→=4×2+2×(−4)=0\overrightarrow{AB} \cdot \overrightarrow{AC} = 4 \times 2 + 2 \times (-4) = 0, so BAC^=90∘\widehat{BAC} = 90^\circ.

  3. 3. Compute ABAB and ACAC. What is the triangle ABCABC?

    AB=42+22=25=ACAB = \sqrt{4^2 + 2^2} = 2\sqrt{5} = AC: right-angled at AA, and isosceles.

  4. 4. II is the midpoint of [BC][BC]. Give an equation of the circle through AA, BB and CC.

    I(4; 1)I(4;\,1) and IA=10IA = \sqrt{10}, so (x−4)2+(y−1)2=10(x - 4)^2 + (y - 1)^2 = 10.

Specimens

The workbench’s specimens, from the alphabet to the Navier–Stokes equations. In the list, set the weight and the size, lay Computer Modern alongside, or mark what was drawn for Inter Math.

Nine weights

Thin to Black, and every weight between: fraction bars, surds and arrows follow the weight, not only the glyphs.

100 Thin
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
200 ExtraLight
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
300 Light
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
400 Regular
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
500 Medium
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
600 SemiBold
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
700 Bold
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
800 ExtraBold
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx
900 Black
f^(ξ)=∫−∞∞f(x) e−2πixξ dx\displaystyle \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i x \xi}\, dx

Sizes

The browser picks the optical size from the font size: 14 for text, wider and looser; 32 for display, tighter and finer.

{x∈R}\{ x \in \mathbb{R} \}
opsz 14
{x∈R}\{ x \in \mathbb{R} \}
opsz 32
12 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
14 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
16 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
20 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
24 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
32 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
48 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
64 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2
96 px
x2+y2≤∣x∣+∣y∣2⋅2\displaystyle \sqrt{x^2 + y^2} \le \frac{|x| + |y|}{\sqrt{2}} \cdot 2

Letters and figures

01

Italic letters

abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz\displaystyle abcdefghijklmnopqrstuvwxyz

02

Capitals

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ\displaystyle ABCDEFGHIJKLMNOPQRSTUVWXYZ

03

Figures

0123456789
0123456789\displaystyle 0123456789

04

Greek

\alpha\beta\gamma\delta\epsilon\varepsilon\zeta\eta\theta\vartheta\iota\kappa\lambda\mu\nu\xi\pi\varpi\rho\varrho\sigma\varsigma\tau\upsilon\phi\varphi\chi\psi\omega
αβγδϵεζηθϑικλμνξπϖρϱσςτυϕφχψω\displaystyle \alpha\beta\gamma\delta\epsilon\varepsilon\zeta\eta\theta\vartheta\iota\kappa\lambda\mu\nu\xi\pi\varpi\rho\varrho\sigma\varsigma\tau\upsilon\phi\varphi\chi\psi\omega

05

Greek capitals

\Gamma\Delta\Theta\Lambda\Xi\Pi\Sigma\Upsilon\Phi\Psi\Omega
ΓΔΘΛΞΠΣΥΦΨΩ\displaystyle \Gamma\Delta\Theta\Lambda\Xi\Pi\Sigma\Upsilon\Phi\Psi\Omega

06

Look-alikes

l\,I\,1\,|\quad \mathrm{l\,I\,1}\quad O\,0\,o
l I 1 ∣l I 1O 0 o\displaystyle l\,I\,1\,|\quad \mathrm{l\,I\,1}\quad O\,0\,o

07

Upright, bold, sans serif

\mathrm{d}x \quad \mathbf{u} + \boldsymbol{\alpha} \quad \mathsf{ABC\,xyz\,123}
dxu+αABC xyz 123\displaystyle \mathrm{d}x \quad \mathbf{u} + \boldsymbol{\alpha} \quad \mathsf{ABC\,xyz\,123}

08

Blackboard bold

\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \subset \mathbb{C} \quad \mathbb{ABCDEFGHIJKLM}
N⊂Z⊂Q⊂R⊂CABCDEFGHIJKLM\displaystyle \mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \subset \mathbb{C} \quad \mathbb{ABCDEFGHIJKLM}

Operators and relations

09

Binary operators

a + b - c \times d \div e \pm f \mp g \cdot h \ast i \star j \circ k \bullet l
a+b−c×d÷e±f∓g⋅h∗i⋆j∘k∙l\displaystyle a + b - c \times d \div e \pm f \mp g \cdot h \ast i \star j \circ k \bullet l

10

Relations

a = b \ne c \equiv d \approx e \cong f \sim g \simeq h \propto i \doteq j
a=b≠c≡d≈e≅f∼g≃h∝i≐j\displaystyle a = b \ne c \equiv d \approx e \cong f \sim g \simeq h \propto i \doteq j

11

Order

a < b \le c \leqslant d \ll e \quad f > g \ge h \geqslant i \gg j \quad x \lesssim y \gtrapprox z
a<b≤c⩽d≪ef>g≥h⩾i≫jx≲y⪆z\displaystyle a < b \le c \leqslant d \ll e \quad f > g \ge h \geqslant i \gg j \quad x \lesssim y \gtrapprox z

12

Precedence, negations

a \prec b \preceq c \succ d \quad a \nless b \nleq c \quad A \nsubseteq B \quad 3 \nmid 7 \quad (d) \nparallel (d')
a≺b⪯c≻da≮b≰cA⊈B3∤7(d)∦(d′)\displaystyle a \prec b \preceq c \succ d \quad a \nless b \nleq c \quad A \nsubseteq B \quad 3 \nmid 7 \quad (d) \nparallel (d')

13

Circled and boxed

a \oplus b \ominus c \otimes d \oslash e \odot f \quad a \boxplus b \boxminus c \boxtimes d \boxdot e
a⊕b⊖c⊗d⊘e⊙fa⊞b⊟c⊠d⊡e\displaystyle a \oplus b \ominus c \otimes d \oslash e \odot f \quad a \boxplus b \boxminus c \boxtimes d \boxdot e

Sets and logic

14

Sets

\{x \in \mathbb{R} \mid x > 0\} \quad A \cup B \cap C \setminus D \quad A \subseteq B \subsetneq C \quad \emptyset \ne \varnothing
{x∈R∣x>0}A∪B∩C∖DA⊆B⊊C∅≠∅\displaystyle \{x \in \mathbb{R} \mid x > 0\} \quad A \cup B \cap C \setminus D \quad A \subseteq B \subsetneq C \quad \emptyset \ne \varnothing

15

Quantifiers

\forall \varepsilon > 0\ \exists \delta > 0 : |x - a| < \delta \Rightarrow |f(x) - f(a)| < \varepsilon
∀ε>0 ∃δ>0:∣x−a∣<δ⇒∣f(x)−f(a)∣<ε\displaystyle \forall \varepsilon > 0\ \exists \delta > 0 : |x - a| < \delta \Rightarrow |f(x) - f(a)| < \varepsilon

16

Logic

\Gamma \vdash \varphi \quad \Gamma \models \psi \quad p \land q \lor \lnot r \quad \top \; \bot \quad \therefore \; \because
Γ⊢φΓ⊨ψp∧q∨¬r⊤  ⊥∴  ∵\displaystyle \Gamma \vdash \varphi \quad \Gamma \models \psi \quad p \land q \lor \lnot r \quad \top \; \bot \quad \therefore \; \because

Arrows

17

Arrows

\leftarrow \rightarrow \leftrightarrow \Leftarrow \Rightarrow \Leftrightarrow \mapsto \hookrightarrow \uparrow \downarrow \nearrow \searrow
←→↔⇐⇒⇔↦↪↑↓↗↘\displaystyle \leftarrow \rightarrow \leftrightarrow \Leftarrow \Rightarrow \Leftrightarrow \mapsto \hookrightarrow \uparrow \downarrow \nearrow \searrow

18

Long and stretched

A \longrightarrow B \Longleftrightarrow C \quad A \xrightarrow{\ f\ } B \xleftarrow[\text{below}]{\text{above}} C
A⟶B⟺CA→ f B←belowaboveC\displaystyle A \longrightarrow B \Longleftrightarrow C \quad A \xrightarrow{\ f\ } B \xleftarrow[\text{below}]{\text{above}} C

19

Harpoons, pairs, curves

\rightleftharpoons \leftrightarrows \rightrightarrows \twoheadrightarrow \rightarrowtail \rightsquigarrow \curvearrowright \circlearrowleft
⇌⇆⇉↠↣⇝↷↺\displaystyle \rightleftharpoons \leftrightarrows \rightrightarrows \twoheadrightarrow \rightarrowtail \rightsquigarrow \curvearrowright \circlearrowleft

Delimiters

20

Sizes

\Biggl( \biggl( \Bigl( \bigl( ( \; ) \bigr) \Bigr) \biggr) \Biggr) \quad \Biggl\{ \biggl[ \Bigl\langle \bigl| \; \bigr| \Bigr\rangle \biggr] \Biggr\}
(((((  ))))){[⟨∣  ∣⟩]}\displaystyle \Biggl( \biggl( \Bigl( \bigl( ( \; ) \bigr) \Bigr) \biggr) \Biggr) \quad \Biggl\{ \biggl[ \Bigl\langle \bigl| \; \bigr| \Bigr\rangle \biggr] \Biggr\}

21

Around fractions

\left( \frac{1}{2} \right) \left[ \frac{\sqrt{2}}{2} \right] \left\{ \frac{a}{b} \right\} \left\langle \frac{u}{v} \right\rangle \left\lfloor \frac{x}{2} \right\rfloor \left\lceil \frac{y}{3} \right\rceil
(12)[22]{ab}⟨uv⟩⌊x2⌋⌈y3⌉\displaystyle \left( \frac{1}{2} \right) \left[ \frac{\sqrt{2}}{2} \right] \left\{ \frac{a}{b} \right\} \left\langle \frac{u}{v} \right\rangle \left\lfloor \frac{x}{2} \right\rfloor \left\lceil \frac{y}{3} \right\rceil

22

Bars and double brackets

|x| \quad \|v\| \quad \llbracket a, b \rrbracket \quad \lBrace x \rBrace \quad \left| \frac{a}{b} \right| \quad \left\| \frac{\vec{u}}{2} \right\|
∣x∣∥v∥⟦a,b⟧⦃x⦄∣ab∣∥u⃗2∥\displaystyle |x| \quad \|v\| \quad \llbracket a, b \rrbracket \quad \lBrace x \rBrace \quad \left| \frac{a}{b} \right| \quad \left\| \frac{\vec{u}}{2} \right\|

23

Matrices

\begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \begin{vmatrix} x & y \\ z & w \end{vmatrix}
(abcd)[100010001]∣xyzw∣\displaystyle \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \begin{vmatrix} x & y \\ z & w \end{vmatrix}

24

Cases

|x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}
∣x∣={xif x≥0−xif x<0\displaystyle |x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}

Big operators

25

Display

\sum_{k=1}^{n} k^2 \quad \prod_{p} \frac{1}{1 - p^{-s}} \quad \int_0^1 f(x)\,dx \quad \oint_C \omega \quad \iint_D \quad \iiint_V
∑k=1nk2∏p11−p−s∫01f(x) dx∮Cω∬D∭V\displaystyle \sum_{k=1}^{n} k^2 \quad \prod_{p} \frac{1}{1 - p^{-s}} \quad \int_0^1 f(x)\,dx \quad \oint_C \omega \quad \iint_D \quad \iiint_V

26

In text

\textstyle \sum_{k=1}^{n} k = \frac{n(n+1)}{2}, \quad \int_0^1 x^2\,dx = \frac{1}{3}, \quad \prod_{i} x_i
∑k=1nk=n(n+1)2,∫01x2 dx=13,∏ixi\displaystyle \textstyle \sum_{k=1}^{n} k = \frac{n(n+1)}{2}, \quad \int_0^1 x^2\,dx = \frac{1}{3}, \quad \prod_{i} x_i

27

Sets and logic

\bigcup_{i \in I} A_i \quad \bigcap_{n} B_n \quad \bigoplus_k V_k \quad \bigotimes_j W_j \quad \bigvee_i p_i \quad \bigwedge_j q_j
⋃i∈IAi⋂nBn⨁kVk⨂jWj⋁ipi⋀jqj\displaystyle \bigcup_{i \in I} A_i \quad \bigcap_{n} B_n \quad \bigoplus_k V_k \quad \bigotimes_j W_j \quad \bigvee_i p_i \quad \bigwedge_j q_j

Fractions and roots

28

Fractions

\frac{1}{2} + \frac{x + 1}{x - 1} = \frac{\frac{a}{b}}{c} \quad \tfrac{3}{4} \quad \binom{n}{k}
12+x+1x−1=abc34(nk)\displaystyle \frac{1}{2} + \frac{x + 1}{x - 1} = \frac{\frac{a}{b}}{c} \quad \tfrac{3}{4} \quad \binom{n}{k}

29

Continued

\sqrt{2} = 1 + \cfrac{1}{2 + \cfrac{1}{2 + \cfrac{1}{2 + \cdots}}}
2=1+12+12+12+⋯\displaystyle \sqrt{2} = 1 + \cfrac{1}{2 + \cfrac{1}{2 + \cfrac{1}{2 + \cdots}}}

30

Roots

\sqrt{2} \quad \sqrt{x^2 + y^2} \quad \sqrt[3]{8} = 2 \quad \sqrt{\frac{a}{b}} \quad \sqrt{1 + \sqrt{1 + \sqrt{1 + x}}}
2x2+y283=2ab1+1+1+x\displaystyle \sqrt{2} \quad \sqrt{x^2 + y^2} \quad \sqrt[3]{8} = 2 \quad \sqrt{\frac{a}{b}} \quad \sqrt{1 + \sqrt{1 + \sqrt{1 + x}}}

Scripts and accents

31

Scripts

x^2 \quad x_i \quad x_i^2 \quad e^{-x^2} \quad 2^{2^{n}} \quad a_{n+1} = 2a_n - 1 \quad 10^{-3}
x2xixi2e−x222nan+1=2an−110−3\displaystyle x^2 \quad x_i \quad x_i^2 \quad e^{-x^2} \quad 2^{2^{n}} \quad a_{n+1} = 2a_n - 1 \quad 10^{-3}

32

Primes and accents

f'(x),\ f''(x) \quad \hat{a}\ \tilde{n}\ \bar{x}\ \dot{y}\ \ddot{z}\ \vec{v}\ \check{c}\ \breve{u} \quad \mathring{A}
f′(x), f′′(x)â ñ xˉ y˙ z¨ v⃗ č ŭÅ\displaystyle f'(x),\ f''(x) \quad \hat{a}\ \tilde{n}\ \bar{x}\ \dot{y}\ \ddot{z}\ \vec{v}\ \check{c}\ \breve{u} \quad \mathring{A}

33

Wide accents

\widehat{ABC} \quad \widetilde{xyz} \quad \overline{AB} \quad \underline{CD} \quad \overrightarrow{AB} \quad \overleftrightarrow{CD}
ABC^xyz~AB‾CD‾AB→CD↔\displaystyle \widehat{ABC} \quad \widetilde{xyz} \quad \overline{AB} \quad \underline{CD} \quad \overrightarrow{AB} \quad \overleftrightarrow{CD}

34

Braces

\overbrace{a + b + \cdots + z}^{26} \quad \underbrace{1 + 1 + \cdots + 1}_{n\ \text{times}}
a+b+⋯+z⏞261+1+⋯+1⏟n times\displaystyle \overbrace{a + b + \cdots + z}^{26} \quad \underbrace{1 + 1 + \cdots + 1}_{n\ \text{times}}

In use

35

Geometry

\widehat{ABC} = 45^\circ \quad (AB) \parallel (CD) \quad (AB) \perp (EF) \quad \triangle ABC \sim \triangle DEF
ABC^=45∘(AB)∥(CD)(AB)⊥(EF)△ABC∼△DEF\displaystyle \widehat{ABC} = 45^\circ \quad (AB) \parallel (CD) \quad (AB) \perp (EF) \quad \triangle ABC \sim \triangle DEF

36

Analysis

\lim_{x \to 0} \frac{\sin x}{x} = 1 \qquad f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x - a)^n
lim⁡x→0sin⁡xx=1f(x)=∑n=0∞f(n)(a)n!(x−a)n\displaystyle \lim_{x \to 0} \frac{\sin x}{x} = 1 \qquad f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x - a)^n

37

Text in math

\text{if } x \in \mathbb{Q} \text{, then } x^2 \in \mathbb{Q} \quad \text{area} = \pi r^2
if x∈Q, then x2∈Qarea=πr2\displaystyle \text{if } x \in \mathbb{Q} \text{, then } x^2 \in \mathbb{Q} \quad \text{area} = \pi r^2

38

Symbols

\infty\ \partial\ \nabla\ \hbar\ \ell\ \angle\ \triangle\ \square\ \blacksquare\ \checkmark\ \bigstar\ \spadesuit\heartsuit\diamondsuit\clubsuit\ \flat\natural\sharp
∞ ∂ ∇ ℏ ℓ ∠ △ □ ■ ✓ ★ ♠♡♢♣ ♭♮♯\displaystyle \infty\ \partial\ \nabla\ \hbar\ \ell\ \angle\ \triangle\ \square\ \blacksquare\ \checkmark\ \bigstar\ \spadesuit\heartsuit\diamondsuit\clubsuit\ \flat\natural\sharp

Glyphs

Every glyph says where it comes from. Pick one: the build’s own record tells what of Inter’s it is drawn from, and how.

Greek

Operators

Relations

Sets and logic

Arrows

Calculus

Blackboard bold

Delimiters

Shapes and signs

Still Computer Modern

Arrowheads

The small arrows come with two heads. Open angles by default, like every other arrow of the font; or filled triangles, like Inter’s own small arrows, with one option. Both are in the font: a stylistic set switches them.

Anglesdefault
↺  ⇉  ↣  ↠  ↰\circlearrowleft \; \rightrightarrows \; \rightarrowtail \; \twoheadrightarrow \; \Lsh
F⃗=ma⃗AB→+BC→=AC→\vec{F} = m\vec{a} \qquad \overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}
setMathFont("inter")
Trianglesss01
↺  ⇉  ↣  ↠  ↰\circlearrowleft \; \rightrightarrows \; \rightarrowtail \; \twoheadrightarrow \; \Lsh
F⃗=ma⃗AB→+BC→=AC→\vec{F} = m\vec{a} \qquad \overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}
setMathFont("inter", { arrowHeads: "triangle" })

Craft

Every math symbol is drawn from Inter: its strokes, curves and terminals, at every weight. What each symbol is, how large, and where it sits, comes from Computer Modern. So formulas look like Inter, and lay out like TeX.

01

Built from Inter’s parts

What Inter lacks is made of what it has: its letters turned, its bars and bowls taken apart and put together at the operators’ stroke. Each glyph records what it is drawn from, and the build graphs it.

∀\forall
∃\exists
∇\nabla
∩\cap
∈\in
⊢\vdash
⊨\models
≡\equiv
∅\emptyset
⊆\subseteq
∉\notin
⩽\leqslant

02

Sized by TeX, stroked by Inter

Inter draws its plus for text. A math plus is as wide as a capital is tall: Inter Math’s is half as large again, as TeX’s, but drawn at the weight that keeps Inter’s stroke. Scaled, it would be heavier.

+
Inter’s +
+
Scaled 1.5×
++
Inter Math’s

03

One axis, one gap

The operators sit on one axis, between the lowercase and the capitals, and fraction bars line up with the minus. The gap of the equals sign is the gap between every pair of parallel strokes: ≡ ≈ ∥ ⇒ ⊨.

−ab+c=d≡e⇒f×g-\frac{a}{b} + c = d \equiv e \Rightarrow f \times g

04

Scripts drawn for their size

KaTeX shrinks scripts to 70 and 50 percent, and shrunk glyphs get thin and tight. Inter Math gives them their own forms, after Inter’s fraction figures, through stylistic sets: copy x2x^2 and you still get x^2.

e−x222ne^{-x^2} 2^{2^{n}}
Shrunk
e−x222ne^{-x^2} 2^{2^{n}}
Drawn for the size

05

Blackboard bold after STIX Two

STIX Two Math’s double-struck construction on Inter’s capitals: the strokes a seriffed capital makes thick are doubled, each one a closed hollow with one gap, narrowing past Regular.

NZQRC\mathbb{NZQRC}100
NZQRC\mathbb{NZQRC}400
NZQRC\mathbb{NZQRC}900

06

Accents where Inter puts them

A math accent over an italic letter is Inter’s own accented italic letter. Inter Math in yellow, laid over Inter’s text in green: where they coincide, one colour, and no fringe.

â â\hat{a} ñ ñ\tilde{n} ü ü\ddot{u} é é\acute{e}

07

Lines that follow the weight

A fraction bar is as thick as the minus; the surd’s bar as its strokes; over- and underlines, strike-throughs and cancels are Inter’s own. KaTeX’s images, the surds, wide accents, braces and stretched arrows, are redrawn: 58 of them.

ab  AB‾  5\sqrt{\frac{a}{b}} \; \overline{AB} \; \cancel{5}
100
ab  AB‾  5\sqrt{\frac{a}{b}} \; \overline{AB} \; \cancel{5}
900

08

Checked at every weight

Every sign’s stroke is measured against Inter’s own at every weight, and must come out at 1.00. Every change is looked at from 100 to 900 in one picture, laid over Inter’s text where math sets what text sets, at small and large sizes, at both optical sizes, on paper and on the board. KaTeX’s layout is tested in both fonts.

∀∈⇒\forall \in \Rightarrow
100
∀∈⇒\forall \in \Rightarrow
200
∀∈⇒\forall \in \Rightarrow
300
∀∈⇒\forall \in \Rightarrow
400
∀∈⇒\forall \in \Rightarrow
500
∀∈⇒\forall \in \Rightarrow
600
∀∈⇒\forall \in \Rightarrow
700
∀∈⇒\forall \in \Rightarrow
800
∀∈⇒\forall \in \Rightarrow
900

09

What stays Computer Modern

Inter has no typewriter, Fraktur, calligraphic or script letters, and no ℜ ℑ ℘ ℵ ℶ ℷ ℸ. Inter Math doesn’t invent them: they stay in KaTeX’s own fonts, with KaTeX’s metrics.

L  g  F  x  ℵ0  ℘  ℜ\mathcal{L} \; \mathfrak{g} \; \mathscr{F} \; \mathtt{x} \; \aleph_0 \; \wp \; \Re

Use with KaTeX

KaTeX lays the formulas out, with the rules of TeX. Inter Math gives it its glyphs and their measures, and a way back to Computer Modern.

KaTeX sets TeX on the web, fast, to the rules Donald Knuth wrote for TeX. It places every glyph by its measures: how wide, how tall, how deep. Its own fonts are Computer Modern.

Inter Math takes their place: upright and italic letters, large delimiters and operators, blackboard bold, the AMS symbols. It comes with the measures KaTeX needs at every weight, and with a small patch to KaTeX for what a font can’t say: how thick a fraction bar is, how a root is drawn.

One call switches back: setMathFont("classic") restores KaTeX exactly as it was. Try it:

400
(∑k=1nakbk)2≤(∑k=1nak2)(∑k=1nbk2)\displaystyle \left( \sum_{k=1}^{n} a_k b_k \right)^{2} \le \left( \sum_{k=1}^{n} a_k^{2} \right) \left( \sum_{k=1}^{n} b_k^{2} \right)
  1. 1pnpm add inter-math katex@0.19.0, and Inter Math’s KaTeX patch (pnpm’s patchedDependencies).
  2. 2KaTeX’s CSS, then Inter Math’s.
  3. 3The inter-math class on an ancestor of the math, and its weight.
  4. 4setMathFont("inter", { weight }) before rendering, at that weight.
// pnpm add inter-math katex@0.19.0
import "katex/dist/katex.min.css";
import "inter-math/inter-math.css";
import katex from "katex";
import { setMathFont } from "inter-math";

setMathFont("inter", { weight: 400 });
katex.render("e^{i\\pi} + 1 = 0", element);

// on an ancestor of element:
// class="inter-math"
// style="--inter-math-weight: 400"

References

The type, the software, and the works the examples come from.

Type and software

  1. [1]Rasmus Andersson, Inter, typeface, version 4.001. rsms.me/inter. SIL Open Font License 1.1. Inter Math is drawn from it, independently of its author.
  2. [2]KaTeX 0.19.0, Khan Academy and contributors. katex.org. MIT License.
  3. [3]Donald E. Knuth, The TeXbook, Addison-Wesley, 1984. Appendix G: how formulas are laid out.
  4. [4]Donald E. Knuth, Computer Modern Typefaces, Computers and Typesetting E, Addison-Wesley, 1986.
  5. [5]STIX Two fonts. stixfonts.org. SIL Open Font License 1.1. The reference for the blackboard letters.
  6. [6]AMSFonts, American Mathematical Society. The AMS symbols KaTeX sets.
  7. [7]fontTools. github.com/fonttools/fonttools. MIT License. Inter Math’s build.

Works

  1. [8]Leonhard Euler, Introductio in analysin infinitorum, vol. 1, Lausanne, 1748, §138.
  2. [9]Leonhard Euler, De summis serierum reciprocarum, Commentarii academiae scientiarum Petropolitanae 7 (1740), 123–134 (E41).
  3. [10]Albert Einstein, Ist die Trägheit eines Körpers von seinem Energieinhalt abhängig?, Annalen der Physik 18 (1905), 639–641.
  4. [11]Joseph Fourier, Théorie analytique de la chaleur, Firmin Didot, Paris, 1822.
  5. [12]James Clerk Maxwell, A Dynamical Theory of the Electromagnetic Field, Philosophical Transactions of the Royal Society of London 155 (1865), 459–512.
  6. [13]Erwin Schrödinger, Quantisierung als Eigenwertproblem, Annalen der Physik 79 (1926), 361–376.
  7. [14]Srinivasa Ramanujan, letter to G. H. Hardy, 16 January 1913. G. H. Hardy, Ramanujan: Twelve Lectures on Subjects Suggested by His Life and Work, Cambridge University Press, 1940, p. 9.