Converts LaTeX tags to unicode: \mathcal{H} → ℋ
Ported from unicodeit as a Clojure library with no dependencies.
bb testpasses- Interactive, open a
bbrepl:
(require '[latex2unicode :refer [latex2unicode]])
(latex2unicode "\\int_0^\\infty e^{-x^2} dx") ;=> "∫₀^∞ e^{−x²} dx"This library is a Clojure port of svenkreiss/unicodeit by Sven Kreiss, Kyle Cranmer, and contributors. The LaTeX→Unicode symbol table in src/latex2unicode/data.clj was derived from that project.
- Code: MIT (see
LICENSE). - Symbol data: LaTeX Project Public License v1.3c (see
LICENSE.LPPL), inherited from the upstream unicodeit data which was itself derived from LaTeX packages.