Better Latex rendering
Wikiwand is beautiful, but its Latex rendering looks even worse than wikipedia's.
I've noticed several problems:
The Latex fragments seem to be scaled, and so they look blurry. Also a "staircase pattern" is visible on the edges of curvy lines. Latex should be rendered to SVG or to a higher resolution, so these artifacts are not visible.
Inline latex is not always placed in the correct height. (see "argmax_y p(y|x,\theta)" in attached screenshot. I realize that you get an image and are not aware of the position of the equation inside the image, but I think the location of the center should be easy to estimate. e.g. Compute the median Y position of all black pixels in the image.
Math-mode latex (on a separate line) is not indented properly (see "f* = ..." equation in attached screenshot, where the standard practice is to indent the formula but wikiwant keeps it left-adjusted.

7 comments
-
Yaniv Sayeh commented
-
Matthias commented
I would really like to have optional support for native MathML as you can get it with an addon for Firefox and the normal Wikipedia.
https://addons.mozilla.org/en-US/firefox/addon/native-mathml/
-
Yaniv Sayeh commented
The following issue should be considered as part of this:
https://wikiwand.uservoice.com/forums/247843-wikiwand-website-extensions/suggestions/18529186-very-simple-way-to-fix-dark-mode-equation-display -
Karl commented
I think at least you should provide render options just like the original wikipedia website. The current rending result on a high-resolution screen is really bad.
-
Franklin Yu commented
@Thomas: The suggestion of using MathJax is posted both at http://wikiwand.uservoice.com/forums/247843-suggestions/suggestions/6465884-render-math-with-mathjax and http://wikiwand.uservoice.com/forums/247843-suggestions/suggestions/6649639-better-math-equations-support .
-
Thomas commented
I think you should use MathJax to render math. cf http://www.mathjax.org/
They are willing to help WikiWand do that and suggest using alt tags on images :
https://github.com/mathjax/MathJax-docs/wiki/How-to:-using-images-with-TeX-in-their-alt-or-title-tags-as-input
See https://twitter.com/MathJax/status/504178482281480192 -
AdminWikiwand (Support, WikiWand) commented
See: http://www.wikiwand.com/en/Combination for screenshot