I am trying to knit a .Rmd file to a word file, where I need to include equations and their numbers.
The code I tried looks like below:
$$
\begin{cases}
\tag{1}
\frac{dX}{dt}=a\\\frac{dY}{dt}=b
\end{cases}
$$
But this doesn't work.
There is a similar question
Equation Numbering in Rmarkdown - For Export to Word
Yet the answer doesn't work for me. I am wondering if anyone have a good solution to this.
Thanks a lot!