User guide
MathWrap renders maths written as $…$ and $$…$$ in ordinary Confluence pages. This guide covers everything the app does. If something here does not match what you see, email support@piptim.com.
Writing formulas
Type or paste maths straight into the normal Confluence editor, the way Markdown, Jupyter and AI assistants already write it:
$E = mc^2$— an inline formula inside a sentence.$$\int_0^1 x^2\,dx = \frac{1}{3}$$on a paragraph of its own — a display formula, centred on its own line.$$…$$in the middle of a sentence stays in the sentence, drawn at display size.
Formulas use LaTeX maths syntax as supported by KaTeX (https://katex.org/docs/supported), including environments such as aligned, cases and matrices.
Converting a page
- Publish the page as usual.
- Open the page menu (•••) and choose Math: wrap / unwrap $ formulas, or press Ctrl+Shift+M (Cmd+Shift+M on Mac).
- Press Wrap $ into formulas.
The page refreshes and every formula is rendered. A short report tells you how many formulas were converted, confirms that none were left behind as text, and lists anything that was deliberately skipped. Running Wrap again later converts only the text you have added since.
Each run saves one new page version, so you can always roll back from the page history. Avoid running it while someone else has the page open for editing.
What is left alone
MathWrap follows the same rules as Markdown maths, so ordinary dollar signs are safe:
- Prices —
$5,$49 per seat,$10 and $20are never treated as maths. - Escaped dollars —
\$100stays as written. - Code — anything inside a code block or inline code is left exactly as it is.
Editing formulas
One formula: open the page for editing, select the formula, and choose the edit (pencil) icon. A TeX editor opens with a live preview. Press Save, or Ctrl+Enter / Cmd+Enter.
Many formulas at once: press Unwrap formulas into $ in the same menu. Every formula turns back into the exact $…$ text it came from. Edit the text freely, publish, then Wrap again.
You can also insert a formula by hand: type / in the editor and choose Inline Math or Block Math.
Automatic conversion (space administrators)
A space administrator can have pages converted as soon as they are published, so nobody has to open the menu:
- Go to the space's Space settings and open the MathWrap tab.
- Switch on Convert formulas automatically when a page is published.
Conversion usually happens within a few seconds of publishing, sometimes up to about half a minute. The new page version is recorded as made by the app. Automatic conversion is off by default, and switching it off later leaves already-converted formulas in place.
Exporting to PDF and Word
Confluence's own Export to PDF and Export to Word include every formula as a typeset, vector-drawn image. No extra step is needed and nothing is attached to your page.
Moving from another maths app
If a page contains formulas from LaTeX Math by Appfire or LaTeX Math+ by Narva, the MathWrap menu says so and offers two choices:
- Convert them to formulas — replace them with MathWrap formulas straight away.
- Turn them into $ text — replace them with plain
$…$text first. You can read exactly what was stored, then press Wrap. This also leaves the page depending on no maths app at all.
Numbered-equation references from LaTeX Math are recognised but not converted, because turning a reference into a formula would change what the page says. The report lists them so you can decide.
Licensing
If the app's licence lapses, the Wrap, Unwrap and migration actions and the automatic-conversion setting are disabled. Formulas already on your pages keep rendering.
Leaving MathWrap
Formulas are stored in your pages as MathWrap macros. If you uninstall the app, Confluence can no longer draw them. To leave cleanly:
- On each page with formulas, run Unwrap formulas into $. The page goes back to plain
$…$text that needs no app. - Then uninstall.
Settings the app keeps (the automatic-conversion switch per space) are deleted by Atlassian within 28 days of uninstalling. See the privacy policy.
Getting help
See Support — or email support@piptim.com. Security issues: Security.