tex 1.0.2 copy "tex: ^1.0.2" to clipboard
tex: ^1.0.2 copied to clipboard

Tiny TeX to SVG engine by Andreas Schwenk. Glyphs are taken from MathJax.

1.0.2 #

  • fixed matrix spacing
  • fixed fraction typesetting
  • fixed spaces before/after functions (e.g. \sin)
  • fixed size of parentheses for \left .. \right (TODO: must replace parentheses by different glyphs if size is large)

1.0.1 #

  • rudimentary support for \displaystyle (if used anywhere in the input source, it is set globally)
  • added \mp, \lfloor, \rfloor
  • added \ddot

1.0.0 #

  • added success() function that should be used to check rendering success
  • minor fixes and updates

0.5.5 #

  • suppressed any scientific number notation in SVG output (e.g. "3e-5"). Now only numbers with a fixed number of decimal numbers are written. (Note: flutter_svg cannot handle scientific number notation)
  • added support for ;
  • reduced spacing for ,

0.5.4 #

  • improved \left \right

0.5.3 #

  • added glyph for \wedge

0.5.2 #

  • added support for | in \left and \right
  • added parameter "deltaYOffset" in function tex2svg(..). This is e.g. useful for inline math. It adds (or subtracts in case it is negative) vertical space to the SVG view box. E.g. in the "flutter_svg" package you can set attribute "allowDrawingOutsideViewBox: true" to allow rendering outside the Widget. This allows better embedding of equations within TextWidgets.

0.5.1 #

  • added \dot{}, \hat{} and \tilde{}
  • added \sqrt[X]Y
  • fixed display style size of fractions in sub/sup (e.g. in \frac12 e^{\frac12})
  • added hight attribute to glyphs -> e.g. \overline{} height now relates to concrete glyph heights
  • fixed spacing for \approx

0.5.0 #

  • added typesetting support for inline math
  • added \Longleftrightarrow and question mark
  • removed "MJX" prefix in sources
  • fixed minor bugs

0.4.3 #

  • fixed a parsing bug: sub and sup of arguments were not processed

0.4.2 #

  • fixed a bug that calculated the width of the SVG output incorrectly in some cases
  • fixed a parsing bug; rewrote much of the parser

0.4.1 #

  • fixed a parsing bug that mixed sub and sup for \sum and \prod

0.4.0 #

  • added \left and \right
  • initial support for display style vs inline math mode
  • added glyph for \pm
  • added website that compares Dart-TeX with MathJax
  • sub and sup for matrices are now vertically aligned correctly
  • improved glyph dimensions
  • fixing of minor bugs

0.3.1 #

  • the height attribute is now exported in the SVG data
  • added examples
  • website updates

0.3.0 #

  • added glyphs for \angle, \blacksquare, \Box, \boxtimes, \cdots, \complement, \cong, \ddots, \div, \equiv, \Im, \langle, \lnot, \nabla, \neg, \neq, \perp, \rangle, \Re, \setminus, \simeq, \square, \triangle, \varnothing, \vdots, \wp
  • improved \lim
  • fixed parsing and typesetting bugs
  • fixed SVG output, s.t. that no longer an exception in flutter_svg is thrown for \overline and \sqrt

0.2.0 #

  • color can be set as RGB value
  • added glyphs for ', \oint, \otimes, \oplus, \subset, \supset, \subseteq, \supseteq, \sim, \approx, \partial
  • added \matrix, \bmatrix, \Bmatrix, \vmatrix
  • matrix columns now be aligned to left, center or right
  • added \cases
  • added \overline
  • added standard functions \arccos, \arcsin, \arctan, \arg, \cos, \cosh, \cot, \coth, \csc, \deg, \det, \dim, \exp, \gcd, \hom, \inf, \ker, \lg, \lim, \liminf, \limsup, \ln, \log, \max, \min, \mod, \Pr, \sec, \sin, \sinh, \sup, \tan, \tanh
  • improved glyph dimensions

0.1.1 #

  • integrals via \int
  • (initial) support for sums and products via \sum and \prod
  • spacing via , and ~

0.1.0 #

  • initial support for matrices
  • restructured and simplified code
  • bug fixes

0.0.7 #

  • support for macros (yet w/o parameters)
  • added glyphs: decimal point, braces, emptyset
  • extended example page

0.0.6 #

  • bug fixes

0.0.5 #

  • inline text rendering is now correctly vertical aligned
  • basic support for \sqrt
  • SVG output is not any more hierarchically; all glyphs have global coordinates
  • increased code readability
  • added code comments

0.0.4 #

  • image width encoded into SVG data
  • API offers scaling factor
  • better support for fractions
  • inline equation examples on demo page (alignment is still WIP)

0.0.3 #

  • code documentation

0.0.2 #

  • added rudimentary support for fractions
  • added \sin, \cos, ...
  • minor fixes

0.0.1 #

  • Initial version.
9
likes
130
pub points
63%
popularity
screenshot

Publisher

verified publisherarts-and-sciences.com

Tiny TeX to SVG engine by Andreas Schwenk. Glyphs are taken from MathJax.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

More

Packages that depend on tex