I am looking for an environment that makes the following align properly:



    \frac{\begin{gathered} here \\ are \\ three ~ lines \end{gathered}}{conclusion}
    \frac{\begin{gathered} here ~ are \\ two ~ lines \end{gathered}}{conclusion}
    \frac{\begin{gathered} here ~ is ~ one ~ line \end{gathered}}{conclusion}

enter image description here

That is:

  • I have several equations that I want to display side-by-side
  • I cannot use align or things like that, as I want to maintain each equation as one unit. I thus cannot combine every line with &. Furthermore, they do not always consist of line of equal sizes.
  • The \qed should appear at the height of the longest equation, which can be any position (1 in this case)
  • Ideally, I can adjust the alignment of the equations shorter than the longest equation (i.e. switch between top, center, or bottom aligned.
  • For the text you can use or \mathrm or \text: it is better.
    – Sebastiano
    Commented Jul 10, 2020 at 15:53
  • 1
    Thans @Sebastiano, the text in the example is just that: an example (my real document contains much more complicated equations). However, is there any difference between \mathrm and \text?
    – R. Bosman
    Commented Jul 10, 2020 at 15:56
  • For my humble opinion there are very similar. But here there is an answer: tex.stackexchange.com/questions/88794/…
    – Sebastiano
    Commented Jul 10, 2020 at 16:00


You must log in to answer this question.

Browse other questions tagged .