Skip to content

LaTeX Formula Recognition

When you need to obtain someone else's LaTeX math formula, but the screenshot is not clear enough, manual input is time-consuming and laborious, and the corresponding LaTeX source code cannot be directly obtained, you can use the formula recognition function to quickly extract the formula.

TIP

LaTeX Formula Recognition is a member feature. If this feature helps you, welcome to subscribe to PixPin Membership to unlock more powerful features!

Usage

You can start formula recognition in the following three ways:

  1. Shortcut Recognition After taking a screenshot, press Shift + F to quickly recognize.

    Shortcut

  2. Pin Right-click Menu After pinning, Right-click Menu -> Recognize -> Formula Recognition.

    Pin

  3. Screenshot Toolbar After taking a screenshot, click Extension on the far right of the toolbar -> Formula Recognition.

    Toolbar

Recognition Window Interface

The following is the complete formula recognition window:

Recognition Window

Window Layout Description

  • Left Area: Formula thumbnail list. You can select all formulas or a single formula. The middle area will update accordingly after selection.
  • Top Middle Area: LaTeX text editor.
    • Read-only when "All Formulas" is selected.
    • Editable when a single formula is selected. Modifications will update the thumbnail and preview area in real-time.
  • Bottom Middle Area: Formula rendering preview, supports mouse wheel zooming and dragging.
  • Right Area: Original image display, supports mouse wheel zooming and dragging.

Functional Operations

Import Function

Import

  • Import from File: Select a local image file for formula recognition.
  • Import from Clipboard: Get the image directly from the clipboard for recognition.

Show Original Image

Display the original image on the right side to facilitate comparison of recognition effect and accuracy.

Original Image

Export and Copy Functions

Operation Object Description

The operation object of all the following functions depends on the content selected on the left:

  • When All Formulas is selected, the operation applies to all recognized formulas.
  • When Single Formula is selected, only that formula is operated on.

Export Function

Export Button

1. Open/Insert in Word

Insert the formula into a Word document as an editable Office math object, facilitating subsequent layout and editing (such as adjusting font, size, or as part of a report).

Open Word Document

Note

After inserting into Word, you need to manually save the document locally if needed.

2. Export as Image

Export the formula as an image file (supports PNG, JPG, etc.), which can be saved anywhere on the computer. Suitable for scenarios where formulas need to be embedded as images into documents, presentations, or web pages.

Export Image

3. Export as SVG

Export the rendered formula as an SVG vector image. SVG does not distort when zoomed in, making it suitable for presentations, printing, or scenarios requiring high-resolution display.

SVG

Copy Function

Copy Button

1. Copy Formula LaTeX Code

  • Copy the LaTeX source code of the currently selected formula to the clipboard.
  • After copying, it can be directly pasted into an editor, paper, or code for secondary editing and reuse.

2. Copy Formula Image

  • Copy the rendered image of the currently selected formula to the clipboard.
  • Suitable for scenarios where formulas need to be pasted as images into documents, presentations, or chat windows, maintaining the visual effect of the formula.

3. Copy as MathML

Convert the current formula to MathML (Mathematical Markup Language) and copy it to the clipboard. MathML is suitable for embedding parsable mathematical content in web pages or editors that support MathML, facilitating seamless integration and accessibility processing (such as screen readers).

Usage Example:

Paste the code in a web editor or CMS that supports MathML, and the page will automatically render and display the formula:

MathML Application

Compatibility Hint

Not all browsers/editors natively support MathML. Please confirm the compatibility of the target platform or use plugins/components that can handle MathML before pasting.

Other Functions

There are also some menus hidden in the formula:

Delete Formula

When there are too many errors in recognition or modification, or certain formulas are not needed, they can be removed through the delete function:

  1. Select the target formula in the left thumbnail area.
  2. After right-clicking to bring up the menu, click Delete Formula.

Delete Menu

Effect after deletion:

Delete Effect

Quick Copy

In the bottom middle rendering preview area, you can directly perform quick operations on the formula:

  • Double-click Left Mouse Button on the formula, or
  • Right-click on the formula, and select "Copy LaTeX Text" or "Copy LaTeX Image" in the pop-up menu.

Copy Menu