Press Ctrl + Alt + M to open Math Input while you work in another Windows app. Build fractions, integrals, and matrices with editable fields, then insert the result as LaTeX or Markdown. The editor runs offline.
Get the Windows x64 installer or portable ZIP from GitHub Releases. To use the portable build, extract the ZIP and run MathInput.exe. Both builds require the Microsoft Edge WebView2 Runtime.
- Place the cursor in your target editor and press Ctrl + Alt + M.
- Type
fracand press Enter. Fill in the numerator, press Tab, and fill in the denominator. - Press Enter to finish the template, then Enter again to submit. If you opened the app directly, use Copy only to copy the result.
Use Ctrl + Space to browse templates. Commands such as sqrt, sum, and lim also support Pinyin and custom aliases. Use Alt + M to insert a matrix by entering its rows and columns. You can edit up to 400 cells in a single matrix.
Settings → Interface language switches between Simplified Chinese and English. When a formula has several matches, choose a candidate by its pack label with the arrow keys or the mouse.
| Choose a formula by pack | Edit a matrix cell by cell |
|---|---|
![]() |
![]() |
Screenshots were captured in the browser preview using sample formulas and packs.
Enable the packs you want under Settings → Formula packs. You can import and export JSON packs or save the current formula as a template. If you are upgrading an existing library, use Add bundled university packs to add the new packs before enabling them.
Select several JSON files at once or drop them onto the window or MathInput.exe. Review the selected packs before importing.
| Pack | Contents | JSON |
|---|---|---|
| Calculus | Limits, derivatives, integrals, series, and ordinary differential equations | 121 templates |
| Linear algebra | Determinants, vector spaces, eigenvalues, matrix decompositions, and quadratic forms | 117 templates |
| Mathematical notation | Greek letters, number sets, set operations, quantifiers, and intervals | 128 templates |
The desktop app uses Tauri 2, TypeScript, and MathLive. Building on Windows requires Node.js 22.12+, Rust MSVC 1.90+, the Visual Studio C++ build tools, and the Windows SDK.
npm ci
npm run desktop:buildThe executable is written to src-tauri/target/release/math-input.exe. Run npm run dev to preview the editor in your browser.
npm run test
npm run test:ui
cargo test --manifest-path src-tauri/Cargo.toml --libThe following guides are written in Simplified Chinese.
- User guide and shortcuts
- Formula pack tutorial and format specification
- Windows build guide and GitHub release guide
Math Input's source and project documentation are distributed under the MIT License. Bundled dependencies retain their respective licenses. See third-party notices.



