hangulmath¶
Hangul letters as math symbols for LaTeX.
Mathematical notation draws almost entirely on Latin and Greek letters, and a long paper soon runs out of distinct ones.
hangulmath adds the 40 letters (jamo) of modern Korean Hangul as math symbols.
They are built from simple geometric strokes, look nothing like Latin or Greek, and each one has an established name.
\usepackage{hangulmath}
...
\[ \hangulsum\tiut_{k=1}^{n} \giug_k^{\,2}
\le \Bigl(\hangulsum\tiut_{k=1}^{n} \giug_k\Bigr)^{2},
\qquad \mium^2 \vec{A} = -\mu_0 \vec{J} \]
Install Usage and symbol list hangulmath on CTAN
At a glance¶
- 40 symbols: 14 consonants, 5 double consonants, 10 vowels and 11 compound vowels.
- Easy to type:
\giyeokfollows the official romanization, much as\alphanames α. Every consonant also has a four-letter alias such as\giug,\niun,\diud. - Real math symbols: they take sub- and superscripts, scale in script styles, and work in running text too.
- Operators from any symbol:
\hangulsum,\hangulintand\hangullimbehave like\sum,\intand\lim. - No Korean font needed: the glyphs come from a bundled subset of Noto Sans CJK KR.
- Works with kotex in either package order.
- Requires XeLaTeX or LuaLaTeX. Released under the LaTeX Project Public License 1.3c; the fonts are under the SIL Open Font License 1.1.
What you can write¶
Every example below was typeset with hangulmath itself.
Consonants as function names¶
ㄱ reads naturally as a function, and ㅁ, which looks like a box, makes a fitting d'Alembertian.
\giug(z) = \frac{1}{\Gamma(z)}, \qquad
\mium = \nabla^2 - \frac{1}{c^2}
\frac{\partial^2}{\partial t^2}
Any symbol as an operator¶
\hangulsum\tiut_{k=1}^{n} k = \frac{n(n+1)}{2}
\hangulint\diud_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}
\hangullim\liul_{n\to\infty}\Bigl(1+\frac1n\Bigr)^{n} = e
Vowels as brackets¶
ㅓ and ㅏ are mirror images, like ⟨ and ⟩.
\eoh\psi|\phi\ah = \int \psi^*\phi\,dx, \qquad
\sum_n |n\ah\eoh n| = \mathbf{1}
Hamiltonian and Lagrangian¶
i\hbar\,\frac{\partial}{\partial t}|\psi\ah = \piup\,|\psi\ah,
\qquad \piup = p\,\dot q - \liul
A new superscript mark¶
A',\ A^*,\ A^\dagger,\ A^{\ciuc}, \qquad
(AB)^{\ciuc} = B^{\ciuc}A^{\ciuc}
Arrows¶
ㅗ and ㅛ point up, ㅜ and ㅠ point down.
|\oh\ah,\ |\uh\ah \quad (\text{spin up, down}),
\qquad x \mathrel{\uh} 0
Element symbols¶
2\,\kiuk + \piup_2 \to 2\,\kiuk\piup, \qquad
2\,\giug_2 + \iung_2 \rightleftharpoons 2\,\giug_2\iung
Get it¶
hangulmath is on CTAN and in TeX Live.
The source is on GitHub, and the full manual is
hangulmath-doc.pdf.
See Install to set it up locally or on Overleaf.