Sorry if it seems basic but I just switched over from LaTeX. It seems the in-line math affects the spacing after the enumeration environment head named 'Example'. How do I offset this?
\defineenumeration[example][
text=Example,
before={\blank[medium]},
after={\blank[medium]},
alternative=serried,
right=.,
distance=0.5em,
width=broad,
headstyle=bold,
titlestyle=bold,
]
\starttext
\startexample
Let $R$ be a ring and $M_n(R)$ be a collection of all $n\times n$ matrices with entries in
$R$. Then $M_n(R)$ is a ring. In particular, $M_n(\mathbb{Z})$, $M_n(\mathbb{R})$ and
$M_n(\mathbb{C})$ are all rings. Note that these rings are not generally commutative.
\stopexample
\startexample
$\mathbb{Z}, \mathbb{Q}, \mathbb{R}$ and $\mathbb{C}$ are all rings. They satisfy all the
axioms. $\mathbb{Z}$ is an integral domain and $\mathbb{Q}, \mathbb{R}$ and $\mathbb{C}$ are
fields.
\stopexample
\stoptext

width=fitinstead. – May 31 '21 at 06:12