I have an align equation that does not fit into my bookdown, especially the tag I am using:
My output is bookdown::gitbook. It works in R markdown though:
---
title: "LaTeX"
output: html_document
---
# Long Equation
This is too long
$$ \begin{align}
\text{outcome} &= f(\text{explanatory}) + \text{noise} \tag{Generic statistical model} \\
\text{outcome} &= \text{intercept} + \text{slope} \cdot \text{explanatory} + \text{noise} \tag{Generic linear model} \\
\end{align}$$
What is the difference between markdown and bookdown in handling LaTeX equations? And how to control the width of the aligned equations? Can I shift the entire formula block to the left?


You can use a
divtag with margin right property.Result: