On the preview of an equation such as
$$
FPR = \frac{FP}{N} = \dfrac{FP}{FP+TN}
TPR = \frac{TP}{P} = \dfrac{FP}{FP+FN}
$$
Which renders as this:
On the preview I see the content in two lines, and I would like to keep that.
However, when I knit the document to pdf there is actually in one line (like on this website)
I saw some latex post, and the help itself, that mention adding \begin{equation} and add a \\
to separate lines.
$$
\begin{equation}
FPR = \frac{FP}{N} = \dfrac{FP}{FP+TN} \\
TPR = \frac{TP}{P} = \dfrac{FP}{FP+FN}
\end{equation}
$$
However, this results on an incorrect math environment.
I tried also setting the array and align environments.
How can I have multiline environment with equations on bookdown? What could be wrong with the knitting proces
My versions bookdown: 0.24, knitr:1.37, pandoc 2.5 and R 3.6 (I also tried with R 4.1.2 and an unkown pandoc version) all this on Ubuntu 20.04. engine pdflatex, on include:before_body I only have "\usepackage{pdfpages} % To include other pdf"