Zulip Chat Archive

Stream: general

Topic: leanblueprint: \ref{...} inside math-mode.


Adrian Wüthrich (Jun 13 2024 at 14:17):

Is there some way to reference theorems/equations inside math-mode? I suspect that this is a limitation of MathJax, is there any workaround?

Patrick Massot (Jun 13 2024 at 14:35):

Yes, this is definitely a MathJax limitation. But it should not be necessary anyway. What is your example?

Adrian Wüthrich (Jun 13 2024 at 14:39):

I have a long chain of inequalities inside an align environment and would like to link each step to a lemma:

\begin{align*}
    x
    & = a & \ref{lem:a} \\
    & = b  & \ref{lem:b} \\
    & = c
\end{align*}

Last updated: May 02 2025 at 03:31 UTC