Screenshot to LaTeX: Capture, Recognize and Check a Formula
A formula screenshot contains pixels, not the mathematical structure needed by a LaTeX editor. Use the recognition workspace to turn the image into editable source, then compare that source with the original. This workflow is useful for a formula in a lecture slide, a scanned paper or a browser page that does not offer LaTeX copying.
Capture the entire expression
Capture the formula region and save it as a PNG or JPG. Include the top of every exponent, the bottom of every subscript, both limits of an integral and the complete fraction bar. Leave a little margin around the expression; cropping directly through a root sign or a bracket removes information that recognition cannot recover.
For a formula in a PDF, capture the displayed page region first. Direct PDF upload is not available. Zoom the original document before capturing instead of enlarging a small, already blurred screenshot. Avoid capturing toolbars and unrelated paragraphs.
Recognize and review
- Open the workspace and select or drag in the saved image.
- Wait for the recognition result. Follow any account or usage prompts shown by the app.
- Compare the preview with the screenshot. Check minus signs, Greek letters, subscripts and grouping before copying the output.
- Open the export panel and copy LaTeX. Paste it into your LaTeX editor and choose an inline or display environment appropriate to the document.
For example, a quadratic formula should retain the grouping in this structure:
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
In particular, {2a} belongs under the whole numerator, and the root must contain all of b^2 - 4ac. This is a checking example, not a guarantee that every image will be recognized correctly.
Fix a poor result at the source
If a symbol is missing, check whether it was cut out of the capture. For blurred or merged characters, capture a sharper original. Work on one expression at a time when neighbouring equations or annotations confuse the result. See image preparation and OCR accuracy for more troubleshooting.
Already have the formula as text? Use the text-to-equation guide and the free converter without submitting an image for recognition. Need a Word equation instead of LaTeX? Follow image to Word equation.
Upload an image, review the recognized formula, and copy LaTeX or export a Word document.
Try TexPixel