Skip to content

EquationBlock ​

EquationBlock adds a title, label, reference, and caption when an equation needs more context.

EquationBlock example

Basic Usage ​

markdown
<EquationBlock title="Training Objective" reference="1" caption="Weighted supervised and routing losses">

$$
\mathcal{L} = \mathcal{L}_{task} + \lambda \mathcal{L}_{routing}
$$

</EquationBlock>

Unnumbered Reference ​

markdown
<EquationBlock label="Update" title="Routing score" reference="Appendix A" :numbered="false">

$$
s_i = \operatorname{softmax}(W h_i)
$$

</EquationBlock>

Props ​

PropTypeDefaultDescription
titlestring-Equation title
labelstring'Equation'Small label before the title
captionstring-Caption below the equation
referencestring | number-Number or reference marker
numberedbooleantrueWrap numeric references in parentheses
compactbooleanfalseReduce spacing for dense slides