Skip to content

tlehman/latex2unicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$\LaTeX-2-\texttt{Unicode}$

Converts LaTeX tags to unicode: \mathcal{H} → ℋ

Ported from unicodeit as a Clojure library with no dependencies.

Testing

  • bb test passes
  • Interactive, open a bb repl:
(require '[latex2unicode :refer [latex2unicode]])
(latex2unicode "\\int_0^\\infty e^{-x^2} dx")  ;=> "∫₀^∞ e^{−x²} dx"

Acknowledgements

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.

License

  • 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.

About

LaTeX-2-Unicode Clojure library (built for babashka)

Resources

License

MIT, LPPL-1.3c licenses found

Licenses found

MIT
LICENSE
LPPL-1.3c
LICENSE.LPPL

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors