Mathpix replacement | A must-have formula recognition plug-in for scientific researchers | latexocr installation tutorial

First, install python and then call it directly with the command


1. Installation steps

也可以安装精简版的python

Prepare the Python environment. For the steps to install python, please see my previous blog post:
Anaconda latest version 2023 installation tutorial Spyder installation tutorial

  1. Make sure your computer has Python 3.x installed.
    Install the pip tool, which is Python's package management tool.

  2. Open the command line terminal (Windows users can use PowerShell or CMD), directly open it with win+R, enter powershell or cmd

  3. Run the following commands in order to install LaTeXOCR

pip install torch torchvision torchaudio
pip install pix2tex[gui]
pip install latexocr

Insert image description here

完成上述步骤后,即可安装完成,下次使用时直接输入latexocr即可调用


2. Usage steps

  1. Click snip (Alt + S) to select the formula
    Insert image description here
  2. Waiting for recognition
    Insert image description here
  3. Just copy the latex code above the retry box into Mathtype)
    Insert image description here

Guess you like

Origin blog.csdn.net/m0_58857684/article/details/132840599