I am using the following code to create an aligned equation:

    \begin{align} % equation 3
    &+ \beta\textsubscript{1} B\textsubscript{ij}
    &+& \beta\textsubscript{2} B\textsubscript{ij} \cdot R\textsubscript{i} \nonumber \\
    &+      \beta\textsubscript{3} \Delta\textsubscript{P\textsubscript{ij}}
    &+& \beta\textsubscript{4} B\textsubscript{ij} \cdot M\textsubscript{n} \nonumber \\
    &+  \beta\textsubscript{5} B\textsubscript{ij} \cdot R\textsubscript{i} \cdot M\textsubscript{n}
    &+& \beta\textsubscript{6}\Delta\textsubscript{P\textsubscript{ij}} \cdot M\textsubscript{n} \nonumber \\
    &+  \varepsilon\textsubscript{i} \label{eq:Ap1_m3}

This gives me the following result:

resulting formula

I would, however like to reduce the whitespace between both columns (i.e. before the second "+" in each row) while keeping the entries aligned vertically, as by the code.

How do I achieve this?

1 Answer 1


A variant that places the equation number differently:

    \begin{aligned} % equation 3
Y_{i,P} = \beta_{0} &+ \beta_{1} B_{ij}          &&+ \beta_{2} B_{ij} \cdot R_{i}  \\
                    &+ \beta_{3} \Delta_{P_{ij}} &&+ \beta_{4} B_{ij} \cdot M_{n}  \\
                    &+  \beta_{5} B_{ij} \cdot R_{i} \cdot M_{n} &&+ \beta_{6}\Delta_{P_{ij}} \cdot M_{n} \\
          &+  \varepsilon_{i} 

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .