latex-ocr-guide
Extract and convert mathematical formulas from images and PDFs to LaTeX code
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill latex-ocr-guide --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# LaTeX OCR Guide A skill for extracting mathematical formulas from images, PDFs, and handwritten notes and converting them to LaTeX code. Covers tool selection, batch processing workflows, and quality verification techniques. ## Tool Landscape ### Available Math OCR Tools | Tool | Type | Accuracy | Best For | License | |------|------|----------|----------|---------| | Mathpix | Cloud API | Very high | All math, diagrams | Commercial ($) | | LaTeX-OCR (Lukas Blecher) | Local model | High | Printed formulas | MIT | | Pix2Tex | Local model | High | Single equations | MIT | | Nougat (Meta) | Local model | High | Full papers with math | MIT | | InftyReader | Desktop | High | Printed math, Japanese | Commercial | | img2latex | Local model | Moderate | Simple equations | MIT | ### Quick Start with LaTeX-OCR ```bash # Install the open-source LaTeX-OCR package pip install "pix2tex[gui]" # Or install from GitHub for latest version pip install git+https://github.com/lukas-blecher/LaTeX-OCR.git ``` ```python from pix2tex.cli import LatexOCR from PIL import Image def recognize_formula(image_path: str) -> str: """ Convert a formula image to LaTeX code. Args: image_path: Path to image containing
- Tool Landscape
- Available Math OCR Tools
- Quick Start with LaTeX-OCR
- Batch Processing Workflow
- Processing Multiple Formulas from a PDF
- Processing Handwritten Notes
- Using Mathpix API
- Verification and Correction
Install the open-source LaTeX-OCR package pip install "pix2tex[gui]" Or install from GitHub for latest version pip install git+https://github.com/lukas-blecher/LaTeX-OCR.git
What does the latex-ocr-guide skill do?
Extract and convert mathematical formulas from images and PDFs to LaTeX code
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill latex-ocr-guide --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.