Mathwise

Mathwise user guide

Mathwise adds LaTeX mathematics to Confluence Cloud pages.

Writing a formula

Typing dollar signs

Write $x^2$ for an inline formula or put $$\int_0^1 f(x)\,dx$$ on a line of its own for a display equation, then publish. A few seconds later Mathwise turns them into formulas and Confluence offers to reload the page. Prices such as "$20 and $30" stay plain text, \$ is always a literal dollar sign, and text formatted as code is never converted.

Numbered equations and references

Environments such as equation and align, and \tag, are numbered (1), (2), (3) in page order across all of a page's formulas. Put \label{name} in an equation and write \eqref{name} or \ref{name} in any formula on the same page; an unknown label shows (??). Numbers update a few seconds after each publish.

Shared macros for a space

A space admin can define LaTeX commands once for every formula in a space: Space settings → Integrations → Mathwise LaTeX. For example \newcommand{\R}{\mathbb{R}} or \DeclareMathOperator{\tr}{tr}. Inline formulas use a change at once; display equations and exports can take up to a day, because Confluence caches them.

Switching from another math app

A Confluence administrator opens Mathwise in Confluence administration, chooses spaces they administer, clicks Count formulas to see what each space holds, then Convert formulas. Formulas from LaTeX Math (Appfire), LaTeX Math+ (Narva), LaTeX for Confluence (Bertly), Mosaic and LaTeX Math Macro (Kolekti), AURA (Seibert), LaTeX Math (Fulstech), Beautiful Math (Elevatic), LaTeX EASY (Polaris Office) and Data Center LaTeX macros are converted in place. Each changed page gets one new version, so earlier versions stay in the page history. Anything Mathwise cannot convert stays exactly as it was and is listed with the reason.

Export, themes and supported LaTeX

In page view an inline formula sits on the text line of the paragraph or table cell around it. In PDF and Word export Confluence places inline images itself, so a formula that reaches below the line, such as one with a fraction, can sit a little high there.

Formulas appear in PDF and Word export and follow Confluence's light and dark themes. An inline formula is exported as an image that Mathwise stores once as an attachment of its page, uploaded as the person exporting, so only someone who may add attachments to the page creates it. Mathwise can upload for a person once they have opened the formula editor or viewed a page with an inline formula; Confluence records this without asking them. Until such a person exports the page, its inline formulas export as their LaTeX source; display formulas are always images. Confluence's Word export gives up on a page with more than about 240 inline formulas; export such a page to PDF, or split it. Mathwise renders with MathJax 4 and the AMS packages, mathtools, physics, mhchem, braket, cancel, color, enclose, amscd, boldsymbol, newcommand and textmacros.

Licensing

If a site's Mathwise license lapses, every formula stays visible and in exports, but new formulas cannot be saved, dollar signs are not converted and conversions cannot start until an admin renews it in Manage apps.

Privacy and support

Mathwise runs entirely on Atlassian's platform and sends no data outside it. Questions and problems: mathwise@officehoursmath.com.