Documentation

Formulas for Confluence

The Formulas app puts LaTeX math on Confluence Cloud pages. You write LaTeX, and your readers see the formula. This page covers adding and changing formulas, how inline formulas behave, and how to convert formulas made with LaTeX EASY.

Add a formula

  1. Open a page for editing.
  2. Type /math and choose Math formula for a formula on its own line, or Inline math formula for a formula inside a sentence.
  3. Write LaTeX in the box. The preview under it redraws with each key.
  4. Choose one of the four sizes, from Small to Extra large. A formula on its own line can also sit left, center or right.
  5. Press Save or Ctrl+Enter to put the formula on the page.

You can paste a formula the way you have it elsewhere. One layer of wrapping such as $...$, $$...$$, \(...\) or \[...\] is ignored when the formula is drawn.

A formula with a LaTeX mistake cannot be saved. The preview shows the message from the math engine, for example a missing closing brace, so you can find the mistake before the page changes.

Change a formula

  1. Open the page for editing.
  2. Click the edge of the formula. Confluence draws a border around it and shows a small toolbar.
  3. Choose the pencil, and the same editor opens with the LaTeX, size and alignment you saved.

Confluence shows every formula in its own frame, and a click in the middle of a frame does not select it. The edge does.

How inline formulas behave

An inline formula is placed on the baseline of the text around it, so a fraction or a square root in the middle of a sentence stays level with the words. A tall formula makes its line taller, as it would in a printed paper.

An inline formula is as wide as it needs to be, up to 760 pixels, which is the width of a standard Confluence column. A longer one wraps at its operators, where LaTeX itself would break the line. For a formula longer than that, use Math formula. It gets a line of its own and scrolls sideways when it is wider than the page.

Which LaTeX works

Formulas are drawn with KaTeX 0.19. Its list of supported functions covers fractions, roots, sums, integrals, matrices, aligned equations, cases, Greek letters and the usual symbols.

Commands that reach outside the page are switched off, among them \href, \url and \includegraphics. A formula can be up to 20,000 characters long.

Convert formulas made with LaTeX EASY

If your pages hold formulas made with the app LaTeX EASY math equation, a Confluence admin can convert them into Formulas macros. The text around each formula is not touched. The LaTeX is kept as written, with one exception: LaTeX EASY draws formulas inside a sentence in the large display style, so where that changes the size, the converted formula starts with \displaystyle and keeps the look it had. Delete that word in the editor if you prefer the smaller style.

  1. In Confluence administration, look under Settings in the menu on the left, open Apps and choose Math formula import.
  2. Press Find formulas. You get a list of every page and blog post that holds a LaTeX EASY formula. Nothing is changed at this step.
  3. Press Convert, and each row then shows how many formulas were converted on that page.
  • Each converted page gets one new version, with a note saying how many formulas were converted. Page history can restore the version before it.
  • A formula that is not valid LaTeX is left as it was, and the row says so.
  • Pages still in the old Confluence editor are skipped. Convert the page to the new editor first, then run the import again.
  • The import works as the admin who runs it. A page that admin may not edit is reported and left unchanged.
  • A page made in the last minute may not be listed yet. Confluence search needs a moment.

LaTeX EASY is built on Atlassian Connect. Atlassian has announced that Connect stops being a supported platform on January 31, 2027. Formulas is built on Forge, the platform Atlassian is moving apps to.

PDF and Word export

When a page is exported to PDF or Word, each formula appears as its LaTeX source in code style. The exported document stays readable and the formula can be copied back out.

Price and licenses

Formulas is free for sites with up to 10 users. Larger sites pay per user each month through the Atlassian Marketplace, and every site starts with a 30 day free trial.

If a license ends, formulas already on your pages keep rendering for everyone. Adding a formula, changing one and the import page need an active license.

Data and security

Formulas runs on Atlassian Forge and has no servers of its own. A formula is stored inside your Confluence page, as part of the macro. It is drawn in the reader's browser by code and fonts that Atlassian serves. The app makes no network calls to Talcoe or to anyone else.

The app asks for three kinds of Confluence permission, and only the import page uses them. The privacy page has the full policy.

  • Search content, to find pages that hold LaTeX EASY formulas.
  • Read pages and blog posts, to read the formulas on them.
  • Write pages and blog posts, to save the converted version.

Questions

A formula shows a red box. The LaTeX stored in it could not be drawn, and the box says why. Open the formula for editing and fix the line it points to.

Does it work on blog posts? Yes. Both macros and the import work on pages and blog posts.

Does it work on Confluence Data Center? No. Formulas is for Confluence Cloud.

Something else. Write to hello@talcoe.com or see the support page.