My code in Rmarkdown for numbered math formulae works when I knit to html_document. But when I try to knit to a Word_document, no matter how I attempt to place the dollar signs, $, it does not work.
I am typing my project in Word and have been able to use Rmarkdown to get mathematic expressions knitted and copy over. But since I need to number them this new code is not knitting properly.
Is there a way to save the rendered html file into a word document? Thanks.
My code in Rmarkdown is as follows:
---
output: html_document
---
\begin{equation}
\tag{3.1}
Y_t = a_0 + \sum_{i=1}^{L}b_{1i}Y_{t-i}+\sum_{i=1}^{L}b_{2i}X_{t-i}+\varepsilon_t
\end{equation}
\begin{equation}
\tag{3.2}
Y_t = a_0 + \sum_{i=1}^{L}b_{1i}Y_{t-i}+\varepsilon_t
\end{equation}
Which renders correctly to: