im2latex-tensorflow icon indicating copy to clipboard operation
im2latex-tensorflow copied to clipboard

The rendering effect

Open da03 opened this issue 8 years ago • 1 comments

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.

da03 avatar Dec 20 '16 17:12 da03

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.

ritheshkumar95 avatar Dec 20 '16 17:12 ritheshkumar95