Using the LaTeX Confluence Plug-in
The LaTeX Confluence plug-in is used for rendering equations on Confluence pages.
Using Inline Math
To add inline math:
Select Insert on the navigation tab.
Select LaTeX Math Inline.
In the dialog window, enter the LaTeX code you want to add to the page and select Insert.
Alternatively, you can:
Enter { and select LaTeX Math Inline.
In the dialog window, enter the LaTeX code you want to add to the page and select Insert.
Using Block Math
To add block math:
Select Insert on the navigation tab.
Select LaTeX Math Block.
In the code block that appears on the page, enter your LaTeX code. The formula renders when you Preview or Save the page.
Alternatively, you can:
Enter { and select LaTeX Math Block.
In the code block that appears on the page, enter your LaTeX code. The formula renders when you Preview or Save the page.
Formatting Block Math
To add a new line to block math:
Enter
\begin
at the beginning of the code.Enter
\end
at the end of the code.
For example:
\begin{align} line x \\ line y \end{align}
To manually align block math:
Enter
align*
inside the code block.Add
&
to the beginning of any following lines inside the code block.
For example:
\begin{align*} CV(t_i)&=V(t_i) \\ &-FX^{\frac{CB}{REP}}(t_i)CB(t^{MPR}_i)(1-h^{*}) \\ &-FX^{\frac{CB}{REP}}(t_i)IM^{*}(t^{MPR}_i) \\ &+\displaystyle\sum_{t_i^{MPR}≤t_k<t_i}FX^{CF_k/REP}(t_i)CF(t_k) \end{align*}
Migrating Equations from Word to Confluence
To migrate math from a Microsoft Word document:
Copy the math content. It doesn’t matter if it was created with the Equation Editor or with MathType.
Paste to Notepad. This turns the visual math into LaTeX syntax.
Copy the LaTeX in Notepad.
Using either the LaTeX Inline or Block macro, paste the LaTeX syntax.
Update the syntax as necessary. In most cases, you only need to replace parenthesis with curly braces.