I would like to know which could be the simplest way to obtain something likeenter image description here Where each sequence of letters represent a long expression. To be more precise I want that the sequence of b's to start in the same position that the sequence of a's, the sequence of c's start aligned with the second min and the sequence of d's start a little further to the right than sequence of c's.
I have obtained the output of the picture by using several \hspace{} but I would like to avoid this.

\begin{array}{l l}
        L=\min \bigg\lbrace \min \left\lbrace  \right.  & aaaaaaaaaaaaa,  \\
        &bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb \left. \right\rbrace 
    \hspace{2,1cm}cccccccccccccccccccccccccccccccccccccc \\

1 Answer 1


You can use some nested aligned environments, with an anchor at the [t]op:

enter image description here




  L = \min \Bigl\{\begin{aligned}[t]
    & \min \bigl\{\begin{aligned}[t]
        & aaaaaaaaaaaaa, \\
        & bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb \bigr\}
      \end{aligned} \\
    & cccccccccccccccccccccccccccccccccccccc \\
    & \quad dddddddddddddddddddddddddddddddddddddddd \Bigr\}


Since aligned assumes a R&L construction, with the first set of content Right-aligned, followed by & and the second set of content Left-aligned, we insert a & without any Right-aligned content, making everything Left-aligned by default.

The two nested aligned environments construct the output using the following layout:

  • outer aligned is denoted in RED, and
  • inner aligned is denoted in GREEN.

enter image description here

You must log in to answer this question.

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