omaths is a derivative of omawrite made to enter LaTeX maths.
It is still a dead-simple Markdown writing app built with Qt Quick and C++ that automatically follows system dark/light mode. Formulas are written in the document as LaTeX and rendered inline with a bundled MathJax tex-svg runtime.
Build and install the omaths package locally with ./bin/install (Arch, via makepkg), or build the binary only with ./bin/build.
Ctrl+Ssaves. Unsaved documents use the XDG desktop portal file picker.Ctrl+Shift+Ssaves as.Ctrl+Oopens a Markdown file through the portal picker.Ctrl+Popens the system print dialog.Ctrl+Nopens a new omaths window.Ctrl+Z,Ctrl+Shift+Z, andCtrl+Yhandle undo and redo.Super+Ftoggles fullscreen. Qt maps this key asMeta+F.Ctrl+Fsearches the document. UseEnterorCtrl+Gfor the next match andShift+Enterfor the previous match.Ctrl+Hopens find and replace.Ctrl+B,Ctrl+I, andCtrl+Kinsert bold, italic, and link Markdown.Ctrl+Mtoggles math render mode (rendered formulas vs LaTeX source).Ctrl+/shows the keyboard shortcut reference (Ctrl+?is also accepted as a compatibility alias).
Unsaved drafts are recovered after an abnormal exit. omaths also watches open files and warns before an external change can replace local work.
Text follows the desktop text size — omarchy display text size, or GNOME's
text-scaling-factor — and re-flows without a restart. The default of 12px leaves
omaths at the size it is designed around; larger and smaller sizes scale from there.
- Qt 6:
qt6-base,qt6-declarative,qt6-quickcontrols2,qt6-svg xdg-desktop-portaland a portal backend
Supported math delimiters are:
- Inline:
$...$,\(...\) - Display:
$$...$$,\[...\]
Escaped dollars (\$) are ignored, and formulas inside inline/fenced code are
not parsed as math. Inline $...$ follows Pandoc's spacing rules: no space
after the opening $ or before the closing $, and a closing $ followed by
a digit is treated as currency rather than math, so $n$, works and $5 and $6 does not. By default (math/SaveFormulaAsSvg=true in QSettings),
generated SVG is cached under a .svg-cache/ directory next to the current
document when possible.
Use Ctrl+M to switch between rendered formulas and editable LaTeX source.
The iA Writer Mono font is bundled under the SIL Open Font License 1.1; see
fonts/OFL.txt. The font is copyright Information Architects Inc. and based on
IBM Plex, copyright IBM Corp.