Skip to content

EquationBlock

EquationBlock wraps an equation with a title, label, reference number, and caption. It keeps math blocks visually connected to the surrounding argument without relying on raw color styling.

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