3

I want it to look like this imageI have type the following code.

\begin{align*}
\RR = \left\{ a_1 = \begin{pmatrix}
                     0 & 0 \\
                     0 & 0
                    \end{pmatrix},
              a_2 = \begin{pmatrix}
                     1 & 0 \\
                     0 & 0
                    \end{pmatrix},
              a_3 = \begin{pmatrix}
                     0 & 1 \\
                     0 & 0
                    \end{pmatrix},
              a_4 = \begin{pmatrix}
                     0 & 0 \\
                     0 & 1
                    \end{pmatrix}  \\
              a_5 = \begin{pmatrix}
                     1 & 1 \\
                     0 & 0
                    \end{pmatrix},
              a_6 = \begin{pmatrix}
                     0 & 1 \\
                     0 & 1
                    \end{pmatrix},
              a_7 = \begin{pmatrix}
                     1 & 1 \\
                     0 & 1
                    \end{pmatrix},
              a_8 = \begin{pmatrix}
                     1 & 0 \\
                     0 & 1
                    \end{pmatrix}       
  \right\}
\end{align*}

1 Answers1

3

As \left ... \right doesn't work across line breaks, you can use \biggl\{ and \biggr\} instead. Judging by the image I would also suggest multline* instead of align*.

enter image description here

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{multline*}
R = \biggl\{ a_1 = \begin{pmatrix}
                     0 & 0 \\
                     0 & 0
                    \end{pmatrix},
              a_2 = \begin{pmatrix}
                     1 & 0 \\
                     0 & 0
                    \end{pmatrix},
              a_3 = \begin{pmatrix}
                     0 & 1 \\
                     0 & 0
                    \end{pmatrix},
              a_4 = \begin{pmatrix}
                     0 & 0 \\
                     0 & 1
                    \end{pmatrix},  \\
              a_5 = \begin{pmatrix}
                     1 & 1 \\
                     0 & 0
                    \end{pmatrix},
              a_6 = \begin{pmatrix}
                     0 & 1 \\
                     0 & 1
                    \end{pmatrix},
              a_7 = \begin{pmatrix}
                     1 & 1 \\
                     0 & 1
                    \end{pmatrix},
              a_8 = \begin{pmatrix}
                     1 & 0 \\
                     0 & 1
                    \end{pmatrix}       
  \biggr\}
\end{multline*}
\end{document}
Torbjørn T.
  • 206,688
  • 1
    @ManojKumar No problem. Remember that to mark questions as solved you can accept the answer you liked best, by clicking the checkmark to the left of the answer. (This goes for all your previous questions as well.) You can also upvote any useful answer by clicking the upward pointing arrow next to the score. – Torbjørn T. Jul 13 '15 at 16:43
  • @TorbjørnT. Your (near all) comment should be an authomatic message for never-accepting-answers-users. :-) +1 – Przemysław Scherwentke Jul 13 '15 at 17:40