Skip to content

SakuraMathcraft/LaTeXSnipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

942 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeXSnipper ✨

A desktop math workspace for capture -> recognize -> handwrite -> edit -> compute

封面

Stars Forks Issues License Platform Python

GitHub Release Last Commit Activity

FAQ · Releases · LINUX DO Community

English · 简体中文


Core Features

Feature Description
📸 Formula recognition MathCraft OCR for formulas, text, and mixed content
📄 PDF recognition Page-based PDF recognition with Markdown/LaTeX output and DPI control
✍️ Handwriting recognition Dedicated handwriting window with auto-recognition and live preview
🧮 Math workbench Separate workspace for editing, computation, and write-back
⌨️ Formula editing Integrated MathLive math-field with virtual math keyboard
🔄 Multi-format export 20 export formats across LaTeX, Markdown, MathML, HTML, OMML, SVG, Word, ODT, PowerPoint, EPUB, PDF, Typst, and plain text
📐 Core computation Compute, simplify, numeric evaluate, expand, factor, solve
🌙 Theme support Light/Dark adaptation across windows and tools
🔐 Offline-first Recognition and computation can run locally for privacy

MathCraft OCR benchmark results: tables and charts · reproduction suite


Microsoft Office Plugin

LaTeXSnipper provides a released Windows plugin for desktop Microsoft Word and PowerPoint:

  • Word OLE and native OMML formula insertion
  • PowerPoint OLE and PNG formula insertion
  • Shared MathLive editor and extensive symbol/formula library
  • Formula loading, update, deletion, automatic numbering, and renumbering
  • Persisted complete LaTeX source, rendering options, numbering data, and formula identity
  • Local vector rendering for OLE formulas
  • Screenshot recognition through the local desktop Bridge

Download OfficePluginSetup-<version>.exe from Releases. The plugin supports 32-bit and 64-bit desktop Office 2019, 2021, 2024, LTSC 2021/2024, and Microsoft 365 Apps on Windows.

See the Office plugin documentation for requirements and release build details.


Export Formats

LaTeXSnipper exposes a shared export menu in the main window and favorites window. The desktop app currently provides 20 export formats.

Built-in formula export formats:

  • LaTeX inline, display, and equation
  • Markdown inline and block math
  • MathML standard, .mml, <m>, and attribute forms
  • HTML, Word OMML, and SVG code

Optional Pandoc export formats are enabled after installing the PANDOC layer in the dependency wizard:

  • Word .docx, ODT .odt, PowerPoint .pptx, EPUB .epub
  • PDF .pdf (requires Pandoc plus a LaTeX PDF engine such as XeLaTeX, LuaLaTeX, or pdfLaTeX)
  • Standalone HTML .html, Typst .typ, and plain text .txt

Platform Support

Platform Status Notes
Windows Primary release target Native global hotkey, Qt capture, GitHub/Inno packaging.
Linux Supported via provider layer pynput global hotkey, Qt capture first, optional Wayland/X11 CLI or portal fallbacks.
macOS Supported via provider layer Native global hotkey, Qt capture with screencapture fallback, Screen Recording permission may be required.

Linux and macOS both create optional runtime dependency environments in the user state directory, so they need a usable system Python >=3.10,<3.13 with venv/pip support. Python 3.11 is preferred because it matches the Windows bundled runtime. Debian/Ubuntu .deb installs declare python3 and python3-venv; macOS users should install Homebrew python@3.11 or an official python.org 3.11/3.12 installer when the system does not provide a usable supported python3.


Supporters

Thanks to everyone who supports LaTeXSnipper development, testing, documentation, and community maintenance.

Supporter Contribution
strangelion contributor
Galileo927 contributor
ljygo Sponsor
Yokie-D Sponsor

Support The Project

LaTeXSnipper is a free, open-source, ad-free personal project. If it helps with your writing, OCR, or formula workflow, small sponsorships and community feedback help keep maintenance moving.

支付宝 微信 交流群
支付宝收款码 微信收款码 LaTeXSnipper群聊

License

This project is open-sourced under the GNU General Public License v3.

About

A math workspace for screenshot OCR,Handwriting/PDF-to-LaTeX/Markdown,and Office-plugin editing,powered by MathCraft OCR and MathLive.

Topics

Resources

License

Stars

714 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors