Skip to content
Fulstech Docs

Render advanced LaTeX

Use an Advanced LaTeX macro when your content requires a full LaTeX document or packages unavailable in the everyday MathJax editor.

  • You need permission to edit and publish the Confluence page.
  • Prepare a complete LaTeX document, including \documentclass, \begin{document}, and \end{document}.
  • Use an ordinary LaTeX Math macro instead when you only need an equation supported by MathJax.
  1. Edit a Confluence page.
  2. Insert Advanced LaTeX — inline or Advanced LaTeX — display.
  3. Enter a complete LaTeX document in LaTeX source.
  4. Select Preview.
  5. Correct any reported LaTeX error, then select Save.
  6. Publish or update the page.

You have succeeded when the published page shows the generated image without a macro editor frame. If compilation fails, the preview shows an error before you save.

Use this minimal document structure to avoid page headers, footers, and page numbers in the rendered image:

\documentclass{article}
\pagestyle{empty}
\begin{document}
Your content here
\end{document}
\documentclass{article}
\pagestyle{empty}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3[surf]{exp(-x^2-y^2)*x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass{article}
\pagestyle{empty}
\usepackage{chemfig}
\begin{document}
\chemfig{A*5(-B=C-D-E=)}
\end{document}

A published Confluence page showing an inline MathJax fraction, a TeX Live chemistry equation, and a TeX Live vector diagram

Published output keeps inline MathJax, TeX Live chemistry, and TeX Live diagrams readable alongside ordinary Confluence content.

Advanced rendering uses an Atlassian-hosted Forge Container. A first uncached preview can take longer than a repeated preview. Published output is cached as a derived PNG, so ordinary views do not compile unchanged content every time.

TeX Live output is a raster image with its authored colors and canvas. Unlike ordinary MathJax SVG output, it is not recolored when Confluence changes between Light and Dark appearance.