im2latex-tensorflow
im2latex-tensorflow copied to clipboard
The rendering effect
Hi Rithesh,
From the rendered prediction on image 3 (https://rawgit.com/ritheshkumar95/im2markup-tensorflow/master/results_testset.html), it seems that amsmath is not included. The prediction is \Theta = \operatorname { l o g } \frac { 4 N } { { \cal M } L }, where \operatorname requires package amsmath.
Hello Yuntian,
As evident from the way the html file looks, it is exported from an ipython notebook. I use the default MathJax renderer in ipython notebook to render the latex equations. I can't find any specific method to 'load' extra packages like amsmath, but this website (http://ipython.org/ipython-doc/stable/notebook/notebook.html#markdown-cells) says that standard mathematical functionalities defined by AMS-LaTeX should work. I wonder why it doesn't though. I'll see what can be done.