# Cross reference equations

4 messages
Open this post in threaded view
|

## Cross reference equations

 Is it possible to cross reference equations? I've tried the following with no luck. Also, I can't seem to get the :eqnums: option to make any difference. Here is what I've tried: = Test eqn cross-ref :stem: latexmath :eqnums: == Let's try .My equation [#my-eqn] [stem] ++++ c^2 = a^2 + b^2 + 5 ++++ I refer back to <>. 
Open this post in threaded view
|

## Re: Cross reference equations

 After reading the MathJax documentation a second time, I figured out how to use MathJax to achieve the cross referencing and equation numbering: = Test eqn cross-ref :stem: latexmath :eqnums: == Let's try $$\label{myequation} c^2 = a^2 + b^2 + 5$$ I refer back to \eqref{myequation}. This will work well for what I need at the moment.
 Whoops, it seems that a passthrough block is still necessary: = Test eqn cross-ref :stem: latexmath :eqnums: == Let's try [stem] ++++ $$\label{myequation} c^2 = a^2 + b^2 + 5$$ ++++ I refer back to \eqref{myequation}. the [stem] label seems optional but I'll include it just in case.