SakuraMathcraft/LaTeXSnipper
حول
التعرّف على الصيغ وتحريرها في Office | تحويل الكتابة اليدوية وملفات PDF إلى LaTeX/Markdown | تكاملات API آمنة.
الذكاء الاصطناعي وتعلّم الآلةما يمكنك فعله
- 📸 Recognize - Capture a region, open an image, select PDF pages, or write by hand; recognize formulas, text, and mixed content
- ⌨️ Edit and preview - Edit LaTeX source with live preview from the bundled MathJax runtime
- 🔄 Export - Copy formulas or export documents in 20 formats, including LaTeX, MathML, Word, PDF, and Typst
- 🧩 Integrate - Work in Word/PowerPoint or connect scripts and other tools through the Automation API
النمو المقاس للنجوم
- خلال 24 ساعة
- +٢
- خلال 7 أيام
- +١٧
- خلال 15 يومًا
- +٣١
- خلال شهر
- +٨٣
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلLaTeXSnipper ✨
Turn screenshots, images, PDFs, and handwriting into editable formulas and text.
Download · User Manual (Chinese) · FAQ · Demos
English · 简体中文

What You Can Do
| Feature | What it offers |
|---|---|
| 📸 Recognize | Capture a region, open an image, select PDF pages, or write by hand; recognize formulas, text, and mixed content |
| ⌨️ Edit and preview | Edit LaTeX source with live preview from the bundled MathJax runtime |
| 🔄 Export | Copy formulas or export documents in 20 formats, including LaTeX, MathML, Word, PDF, and Typst |
| 🧩 Integrate | Work in Word/PowerPoint or connect scripts and other tools through the Automation API |
| 🧠 Choose your model | Run the bundled MathCraft OCR locally, or configure a local/online external model |
| 🎨 Make it yours | English/Chinese interface, light/dark themes, configurable shortcuts, history, and favorites |
MathCraft OCR: benchmark results · reproduce the benchmarks
Download and Get Started
- Install the desktop app. Choose the package for your system from Releases.
- Select recognition. Start the installed app and choose the built-in model and recognition type in Settings.
- Recognize and edit. Use Capture Recognize, Image, PDF, or Handwriting, then review, copy, or export the result.
Windows/Linux installers provide CPU and NVIDIA GPU editions. macOS 14.0 or later on Apple Silicon uses CPU. Installers include Python, inference dependencies and models, so local recognition needs no first-run dependency or model downloads. GPU builds carry private CUDA/cuDNN libraries and require a supported NVIDIA GPU and driver. Linux requires glibc 2.35 or newer, and apt may need network access to install missing system GUI libraries. See installer requirements.
Each edition bundles the matching MathCraft v2 formula weights. CPU editions use INT8, and NVIDIA editions use CUDA FP16. Both include the shared text OCR models.
Routine app updates download only application code and resources, retaining Python, Qt, inference dependencies and models. If an update requires a new base, or installed resources are missing or damaged, run the matching complete installer. Settings, history and other user data are preserved. See the update and installation guide (Chinese).
[!TIP] For permissions, resources, and troubleshooting, see the FAQ, user data locations, and full user manual (Chinese).
Demos
Screenshot Recognition

Image Recognition

PDF Recognition

Microsoft Office Plugin
LaTeXSnipper Office adds local formula editing and rendering to desktop Microsoft Word and PowerPoint on Windows and macOS. Word also supports equation numbering and cross-references. Screenshot OCR uses the LaTeXSnipper desktop app through its Automation API.
Download the Office add-in for your platform from GitHub Releases.
- Windows uses
LaTeXSnipperOffice_<version>_windows_x86_64.exe. Word supports OLE and OMML, and PowerPoint supports OLE and PNG. - macOS uses
LaTeXSnipperOffice_<version>_macos_arm64.dmgon Apple Silicon. Word uses native OMML, and PowerPoint supports PNG and SVG.
Office user guide (Chinese) · Platform requirements and source · Formula workflows
Automation API
Use MathCraft or your configured external model from scripts, batch jobs, editor integrations, or authorized remote devices.
- Desktop shortcuts: connect Snipaste, AutoHotkey, AutoKey, Hammerspoon, or ShareX to an image-recognition workflow.
- Batch and editor workflows: submit images with Python/curl and insert results into your tools.
- Mobile access: connect Shortcuts or Tasker to your running desktop app through a secure tunnel.
[!CAUTION] The API is disabled by default. Local clients use the address and token in
automation-api.json. Remote access requires explicit opt-in, a separate key, and HTTPS or an encrypted tunnel; do not expose it over plain public HTTP. Remote external-model access is separately controlled and may incur provider charges.
API reference and connection setup · Ready-to-adapt client examples
Export
Built-in exports cover LaTeX, Markdown math, MathML, HTML, Word OMML, and SVG code.
[!NOTE] Optional document exports use Pandoc from the application's
PATHon Windows, macOS and Linux. PDF export also requires an external LaTeX PDF engine. See Pandoc setup.
See the user manual for the full format list and requirements.
Supporters
Thanks to everyone who helps with development, testing, documentation, and community support.
| Supporter | Contribution |
|---|---|
| strangelion | Contributor |
| Galileo927 | Contributor |
| ljygo | Sponsor |
| Yokie-D | Sponsor |
Support the Project
LaTeXSnipper is a free, open-source, ad-free personal project with no in-app purchases. If it helps your work, consider starring the repository, sharing it, reporting an issue, or sponsoring maintenance.
| Alipay | WeChat Pay | Community chat (Chinese) |
|---|---|---|
License
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…