Math & Equations
Writage supports mathematical equations using LaTeX syntax. Equations in Markdown are converted to Word’s native Equation Editor format when opening a Markdown file, and equations in Word are converted back to LaTeX syntax when saving as Markdown. This round-trip conversion means you can write equations in Markdown and edit them as native Word equations, or the other way around.
Inline math
Wrap an equation in single dollar signs to display it inline, within a sentence:
The formula $E = mc^2$ describes mass-energy equivalence.
You can also use \(...\) delimiters:
The formula \(E = mc^2\) describes mass-energy equivalence.
Both produce the same inline equation rendered in Word’s Equation Editor.
Note
There must be no space after the opening $ and no space before the closing $. $E = mc^2$ is valid; $ E = mc^2 $ is not recognised as math. Some AI assistants occasionally insert these spaces — remove them if your equation is not converting correctly.
Display math
Use double dollar signs on their own lines to display an equation as a centred block:
$$
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$
You can also use \[...\] delimiters:
\[
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
\]
Writing equations in Word
You can also write equations directly in Word and save them to Markdown — no need to write LaTeX by hand.
- Place the cursor where you want the equation.
- On the Insert tab, click Equation (or press Alt+= on Windows).
- Type or build your equation using Word’s equation editor.
- Click Save As Markdown on the Writage ribbon — the equation is converted to LaTeX syntax automatically.
Supported LaTeX commands
Writage supports a broad range of LaTeX math commands including:
- Fractions:
\frac{a}{b} - Superscripts and subscripts:
x^2,x_i - Greek letters:
\alpha,\beta,\gamma,\pi,\Sigma - Operators:
\sum,\prod,\int,\lim,\infty - Roots:
\sqrt{x},\sqrt[n]{x} - Matrices:
\begin{matrix}...\end{matrix},pmatrix,bmatrix - Text in math:
\text{...} - Arrows:
\to,\rightarrow,\Rightarrow - Brackets:
\left(,\right),\left[,\right]
Note
Writage converts the most common LaTeX math constructs. Commands that are not supported are preserved as-is in the document so they can be identified and corrected. Unsupported commands typically appear highlighted in red in Word’s equation editor.
Desktop app
The Desktop App also renders math formulas in the same LaTeX syntax. You can open a Markdown file or paste Markdown containing math expressions to see a rendered preview before converting to DOCX.