Mathblock
Last modified by Frank Fock on 2024/05/23 17:17
Add a block math expression. Bridges the mathblock Confluence macro using the XWiki's Mathjax macro.
Parameter | Description | Mandatory? | Default value |
---|---|---|---|
anchor | The anchor to make a reference to this math expression | No | Empty |
Note: the alignment parameter is not yet supported.
Usage example
{{mathblock anchor="myanchor"}}
2+\frac 1 2 x
{{/mathblock}}
This block can be referenced like in the following sentence. Expression {{mathblock-ref anchor="myanchor"/}} shows some random and non-sensitical math.
2+\frac 1 2 x
{{/mathblock}}
This block can be referenced like in the following sentence. Expression {{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: