I have several images like the image below which have very simple LaTeX in them. I am trying to change those images into an actual LaTeX code. Is there any package which does that?

enter image description here

  • @Werner How is this a duplicate? I only have the image files and not even a pdf with the actual text. Jan 11, 2017 at 20:33
  • So by image you mean a JPG or a PNG? The principle remains the same.
    – Werner
    Jan 11, 2017 at 20:34
  • @Werner I'm really surprised… You can copy-and-paste from a pdf, and not from an image! There is some OCR involved in that latter case, and the question you link to doesn't give any clue as how to do that.
    – Clément
    Jan 11, 2017 at 20:55
  • @Clément: My interpretation of the question is that "some package" should do this; alternatively put, this should be automated. Either by using something like \includeLaTeXcode{<image>} or via some command line converttolatex <image>. Perhaps a better option would be Possible to Convert Math in Picture into LaTeX? How? or Image equation to TeX...
    – Werner
    Jan 11, 2017 at 20:58
  • See if any of the answers to this question help you. tex.stackexchange.com/questions/1443/…
    – James
    Jan 11, 2017 at 20:58


Browse other questions tagged .