Math & equations
Zorite renders LaTeX math and lets you edit it visually — a fraction is a real stacked box you click into, not a string you hand-edit. Both inline and display math work anywhere you write Markdown.
Writing math
Section titled “Writing math”Wrap math in dollar signs:
- Inline —
$…$sits in a line of prose, e.g.the area is $\pi r^2$. - Display —
$$…$$on their own lines render as a centered block.
Both typeset to crisp formulas with KaTeX-grade coverage. A lone $ in prose
(like it cost $5) stays literal. You can also insert a block from the / command
palette — type / and pick Math.
The structural editor
Section titled “The structural editor”Click or arrow into a formula to edit it in place with a two-dimensional editor (Casio-Natural-Display / MathQuill style). The caret moves through the structure — into a numerator, under a root, between matrix cells — rather than along a line of LaTeX.
- Type naturally — letters and operators insert as symbols;
^starts a superscript and_a subscript, and the caret descends into the new box. \commandautocomplete — type\and a name (\alpha,\sqrt,\frac, …) for a scrollable menu of ~100 commands;EnterorTabinserts the highlighted one.- Symbol palette — a floating panel of one-click structures and symbols (fractions, roots, matrices, the Greek alphabet, relations, big operators, …).
- Select and wrap — select a sub-expression (Shift-arrows or drag; double-click a cell, triple-click a row), then apply a fraction, root, or delimiter to wrap it instead of inserting an empty one.
- Matrices — insert a grid and add or remove rows and columns as you go.
- Undo / redo —
⌘Z,⌘⇧Z,⌘Y(Ctrlon Windows and Linux).
Arrow past a formula’s edge (or press Esc) to flow the caret back into the
surrounding text, the way arrowing out of a table cell leaves the table.
Alignment
Section titled “Alignment”A display formula is centered by default. Right-click it for Align → Left / Center / Right — the choice is saved per-formula, so it stays put when you edit.
Copy & export
Section titled “Copy & export”Right-click any rendered formula for:
- Copy LaTeX — the formula’s source, to paste elsewhere.
- Export PNG — a transparent raster at display resolution.
- Export SVG — a self-contained vector with the glyph outlines embedded, so it renders correctly even where the math fonts aren’t installed.
What’s supported
Section titled “What’s supported”Rendering is essentially complete — anything
KaTeX can typeset, Zorite renders: every
symbol, accents, blackboard-bold and script fonts, align / cases environments,
and more.
The 2-D editor handles the common core — fractions, roots, super/subscripts,
matrices, delimiters, and ~100 symbols. A formula that uses something outside that
(an accent like \hat, a font like \mathbb, a multi-line environment) still
renders perfectly; you just edit it as raw $…$ LaTeX rather than in the
structural editor. See the
ratex-gpui reference for the full coverage
breakdown.