3

In the folling example there is not enough space to list all sets begind the "forall" in one row. Moving a part to the next row creates an unnecessary space between the rows (see picture). How to make the row "shift upwards"?

\begin{align*}
 & 1\geq\sum\limits _{\substack{asdfaf,\\
asfasf,\\
asfadf
}
}x_{j} &  & \forall j\in A\cup B\\
 &  &  & \cup C\cup D
\end{align*}

enter image description here

I tried to use an array but it has a margin that ruins the alignment with everything else.

1 Answer 1

3

You are using the wrong tool: use a nested aligned, instead.

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\begin{equation*}
1\geq\sum_{\substack{asdfaf,\\
asfasf,\\
asfadf
}
}x_{j}
\qquad
\begin{aligned}[t]
\forall j &\in A\cup B\\
          &\cup C\cup D
\end{aligned}
\end{equation*}

\end{document}

enter image description here

You must log in to answer this question.

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