Closed cosimini closed 5 months ago
Interesting! Given that the layout of individual elements appear to be roughly in the same place, this may be a configuration error on Tangent's part.
Can you provide the source code for this? Seems like a great test case.
That might be the case, before opening the issue I tried to render the same formulas on the KaTeX website and the outcome is identical to the left side of the image.
Can confirm, the fonts aren't loading correctly. Time to wrestle with the css…
I have a fix for this. Will be coming in v0.8.0-alpha.2
Fixed in v0.8.0-alpha.2
Inline rendering of mathematics seems to be limited, at least on Windows 10 where I'm using the application.
In the image attached a comparison between Obsidian and Tangent rendering the same file. As you can see, elements as the sum and integration symbols or parenthesis bigger than one line are not scaled properly.
The two are using two different rendering libraries, MathJaX and KaTeX, but I'm unsure this might be the reason of the difference. Tested only on Windows 10, I'm unable ATM to test other platforms, version 0.7.6.