tex — a tiny TeX Engine written in the Dart Programming Language

© 2023 by Andreas Schwenk

License: GPLv3 (GNU General Public License, Version 3)
GitHub: https://github.com/andreas-schwenk/tex
Dart Package: https://pub.dev/packages/tex

Info

tex is a tiny TeX engine that creates SVG images from TeX strings. Currently, only the math environment (e.g. $ f(x) = x^2 $) is supported. Compared to other TeX renderers, this package does NOT rely on JavaScript or any other dependencies.

THE LIBRARY IS CURRENTLY UNDER DEVELOPMENT.
MANY FEATURES WILL BE ADDED SOON.


Playground

Input TeX Code: 
Parsed Term: 
(empty)
Rendering: 
Rendering (with boxes): 


Examples

TeX Rendering Rendering (with boxes)

Custom Macros

TeX Rendering Rendering (with boxes)

Inline Examples

Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Some inline equation here and another one here . Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text.

Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Some inline equation here and another one here . Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text. Blind text.


List of Glyphs

TeX Rendering Width Padding