opencollab / jlatexmath

A Java API to render LaTeX
Other
514 stars 109 forks source link

add \longdiv #20

Closed murkle closed 7 years ago

murkle commented 7 years ago

Easy change if it's wanted 😄 http://dev.geogebra.org/trac/changeset/51465

eg 123 \longdiv{456}

sylvestre commented 7 years ago

Maybe a stupid question but why geogebra is not directly contributing to jlatexmath ? this would make everyone life easier..

calixteman commented 7 years ago

@murkle I implemented the macro \longdiv in this commit: https://github.com/opencollab/jlatexmath/commit/ec84c92f536c3e84e2a9e6c501d01afe38d7d1c2 I fully implemented it to have the same output as in a normal latex distro. As an example of output: https://github.com/opencollab/jlatexmath/blob/ec84c92f536c3e84e2a9e6c501d01afe38d7d1c2/jlatexmath/src/test/resources/expected/Example8.png

murkle commented 7 years ago

@calixteman very cool, thanks!