chart-unit icon indicating copy to clipboard operation
chart-unit copied to clipboard

Add support for MathJax to render math expressions

Open dataopt opened this issue 6 years ago • 3 comments

The schoolbook example has non-Tex-looking math expressions. Perhaps finding a way to use something like MathJax to render math formulas will help improve the look of math expressions.

dataopt avatar Dec 22 '17 10:12 dataopt

Do you have an example of some tex Text I can render as a test?

tonyday567 avatar Dec 23 '17 01:12 tonyday567

Try this: Euler's formula: \(e^{i\pi} +1 = 0\)

dataopt avatar Dec 23 '17 01:12 dataopt

Had a look at doing this and it would be a tough slog to get mathjax working inside svg that has been rendered by diagrams.

See https://stackoverflow.com/questions/15962325/mathjax-inside-svg

tonyday567 avatar Jan 06 '18 21:01 tonyday567