Confluence bridge for Mathblock

Version 1.1 von xwikiadmin am 2024/06/24 14:35

Description

This is a bridge for the Confluence Mathblock macro to XWiki's Mathjax macro.

ParameterDescriptionMandatory?Default value
anchorThe anchor to make a reference to this math expressionNoEmpty

Note: the alignment parameter is not yet supported.

Usage example

{{confluence_mathblock anchor="myanchor"}}
2+\frac 1 2 x
{{/confluence_mathblock}}

This block can be referenced like in the following sentence. Expression {{confluence_mathblock-ref anchor="myanchor"/}} shows some random and non-sensitical math.

Result:

\begin{equation} \label{myanchor} 2+\frac 1 2 x\end{equation}

This block can be referenced like in the following sentence. Expression \ref{myanchor} shows some random and non-sensitical math.

See also: