One can use \tag, \label, \ref and \eqref the usual way in MathJax (including references turned into links), e.g.

$ a = b \tag{a}\label{a} $

and later

$ \eqref{a} $

$ a = b \tag{a}\label{a} $

and later

$ \eqref{a} $

but unfortunately the block containing the \label breaks once one further edits - this is probably due to the label being apparently "reused" for a "new" tag, as you can see in this screenshot:

screenshot

I guess a simple fix would be not parsing \label while editing a question, although an even better solution would of course be somehow letting MathJax know the previous instance of the label shall be discarded.

share
1  
A suboptimal fix might be putting the whole post into $\begingroup$ ... $\endgroup$ –  Tobias Kienzler Oct 24 '13 at 6:51
    
The preview code could use MathJax's ability to reset the labels in order to resolve this issue (the preview code was written before \label and \ref were available in MathJax). –  Davide Cervone Oct 24 '13 at 11:30
2  
As a temporary work-around, you could add $\def\label#1{}$ at the top of your question/answer while you are editing it, and remove it just before submitting the answer. –  Davide Cervone Oct 24 '13 at 11:33
    
@DavideCervone Nice workaround, thanks! I hope it'll be fixed though... –  Tobias Kienzler Oct 25 '13 at 8:04

You must log in to answer this question.

Browse other questions tagged .