How to Add Math Equations to Confluence (LaTeX Guide)

17 Apr 2026

4 min read

How to Add Math Equations to Confluence

Confluence is excellent for documentation — but if you try to write a mathematical equation natively, you'll quickly discover it has no support for it. No LaTeX renderer, no equation editor, no formula blocks. Just plain text.

For engineers, data scientists, researchers, and educators, this is a real problem. LaTeX Math for Confluence solves it — adding full LaTeX rendering powered by MathJax directly inside Confluence Cloud.


What Is LaTeX?

LaTeX is the standard notation system for mathematical, scientific, and engineering formulas. It's used in academic papers, research docs, and technical specifications worldwide.

A simple example — the quadratic formula written in LaTeX:

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Which renders as the familiar formula you learned in school. LaTeX Math for Confluence turns that syntax into a properly rendered equation inside your Confluence page.


Adding an Inline Equation

Inline equations appear within a line of text — perfect for referencing variables or simple expressions mid-sentence.

  1. Open a Confluence page in edit mode
  2. Type /LaTeX Inline to insert the inline macro
  3. Type your LaTeX expression inside the macro
  4. The equation renders inline with your text

Example: Writing E = mc^2 inline renders Einstein's mass-energy equivalence right inside your sentence.


Adding a Block Equation

Block equations display on their own line, centred — ideal for key formulas, derivations, or anything you want to stand out.

  1. Open a Confluence page in edit mode
  2. Type /LaTeX Block to insert the block macro
  3. Write your LaTeX inside the macro
  4. The equation renders as a centred display formula

Example: A block equation for the normal distribution probability density function:

f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}

Live Preview as You Type

You don't have to save the page to see how your formula looks. The LaTeX macro includes a live preview panel that renders your equation in real time as you type. If you make a syntax error, it flags it immediately — no more saving, checking, editing, saving again.


Common LaTeX Expressions for Confluence

Here are a few frequently used formulas to get started:

What you want LaTeX
Fraction \frac{a}{b}
Square root \sqrt{x}
Summation \sum_{i=1}^{n} x_i
Integral \int_{a}^{b} f(x)\,dx
Greek letters \alpha, \beta, \gamma, \sigma
Subscript / superscript x_i, x^2
Matrix \begin{bmatrix} a & b \\ c & d \end{bmatrix}
Limit \lim_{x \to \infty} f(x)
Partial derivative \frac{\partial f}{\partial x}
Infinity \infty

Who Uses LaTeX Math for Confluence?

Data science and ML teams — document model architectures, loss functions, and statistical methods alongside their methodology notes.

Engineering teams — write technical specs with signal processing formulas, control system equations, or physics derivations.

Finance teams — document quantitative models, pricing formulas, and risk calculations.

Educators and researchers — publish course materials, research summaries, and academic content directly in Confluence.

Academic institutions — use Confluence as a shared knowledge base where equations are first-class content.


Access Control for Admins

Not every team needs LaTeX editing rights. LaTeX Math for Confluence lets admins control who can insert and edit macros — so you can restrict formula editing to specific users while everyone else reads the rendered output.


Runs on Atlassian Forge

LaTeX Math for Confluence is built on Atlassian Forge — all rendering happens within Atlassian's infrastructure. No data is sent to external servers.


Getting Started

  1. Install LaTeX Math for Confluence from the Atlassian Marketplace
  2. Open any Confluence page in edit mode
  3. Type /LaTeX Inline or /LaTeX Block
  4. Start writing equations

Full documentation: /docs/latex-math-for-confluence


Questions? Reach out via our support portal.

Featured App

LaTeX Math

Professional LaTeX Mathematical Equation & Formula Macro & Editor for Confluence

Stay in the loop

Get product updates and tips straight to your inbox.

No spam, ever.

Related Articles

View all →
Best Jira Dashboard Widgets and Charts in 2026
02 Jun 2026

Best Jira Dashboard Widgets and Charts in 2026

Not all Jira dashboard gadgets are worth the screen space. Here are the widgets and charts that actually help engineering and product teams track what matters.

Read more
How Finance Teams Document Quantitative Models in Confluence
29 May 2026

How Finance Teams Document Quantitative Models in Confluence

Quantitative models are hard enough to build. Documenting them shouldn't be harder. Here's how finance and quant teams use Confluence with LaTeX to document formulas, assumptions, and model logic in a way colleagues can actually understand.

Read more
How to Use Confluence as a Developer Wiki
23 May 2026

How to Use Confluence as a Developer Wiki

Notion, GitHub wikis, Backstage — developers have no shortage of wiki options. Here's when Confluence is actually the right choice and how to make it work for a dev team.

Read more