How to display a multi-lined list nicely?












3















I want to maintain readability of each element by using alignment point. At the same time I also don't want to make any further confusion as shown in the following figure in which the closing curly brace is not properly placed.



documentclass[preview,border=12pt,varwidth]{standalone}
usepackage{mathtools}
begin{document}
abovedisplayskip=0pt
[A ={
begin{aligned}[t]
&R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
&R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
end{aligned}
}]
end{document}


enter image description here



Question



How to move the closing curly brace to the proper place as shown in red? Any other suggestion is always welcome.










share|improve this question



























    3















    I want to maintain readability of each element by using alignment point. At the same time I also don't want to make any further confusion as shown in the following figure in which the closing curly brace is not properly placed.



    documentclass[preview,border=12pt,varwidth]{standalone}
    usepackage{mathtools}
    begin{document}
    abovedisplayskip=0pt
    [A ={
    begin{aligned}[t]
    &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
    &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
    end{aligned}
    }]
    end{document}


    enter image description here



    Question



    How to move the closing curly brace to the proper place as shown in red? Any other suggestion is always welcome.










    share|improve this question

























      3












      3








      3








      I want to maintain readability of each element by using alignment point. At the same time I also don't want to make any further confusion as shown in the following figure in which the closing curly brace is not properly placed.



      documentclass[preview,border=12pt,varwidth]{standalone}
      usepackage{mathtools}
      begin{document}
      abovedisplayskip=0pt
      [A ={
      begin{aligned}[t]
      &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
      &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
      end{aligned}
      }]
      end{document}


      enter image description here



      Question



      How to move the closing curly brace to the proper place as shown in red? Any other suggestion is always welcome.










      share|improve this question














      I want to maintain readability of each element by using alignment point. At the same time I also don't want to make any further confusion as shown in the following figure in which the closing curly brace is not properly placed.



      documentclass[preview,border=12pt,varwidth]{standalone}
      usepackage{mathtools}
      begin{document}
      abovedisplayskip=0pt
      [A ={
      begin{aligned}[t]
      &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
      &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
      end{aligned}
      }]
      end{document}


      enter image description here



      Question



      How to move the closing curly brace to the proper place as shown in red? Any other suggestion is always welcome.







      align






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 26 '18 at 7:53









      The Inventor of GodThe Inventor of God

      4,99611142




      4,99611142






















          3 Answers
          3






          active

          oldest

          votes


















          3














          You can instead use the {...} environment inside the aligned environment



          documentclass[preview,border=12pt,varwidth]{standalone}
          usepackage{amsmath}
          begin{document}
          abovedisplayskip=0pt

          [begin{aligned}[t]
          A={&R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
          &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
          end{aligned}]
          end{document}


          to get:



          enter image description here






          share|improve this answer



















          • 1





            I will use split instead of aligned.

            – The Inventor of God
            Nov 26 '18 at 8:05











          • @ArtificialStupidity That's indeed a good suggestion, however, I wanted to stick with the OP's environment (as I didn't know the premise at which the OP uses the aligned environment).

            – Raaja
            Nov 26 '18 at 8:08













          • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)

            – Raaja
            Nov 26 '18 at 8:27













          • :-):-):-):-):-)

            – The Inventor of God
            Nov 26 '18 at 8:52



















          4














          Here are two suggestions, one a multlined the other a large brace:



          Sample output



          documentclass{article}

          usepackage{mathtools}

          begin{document}
          begin{equation*}
          A =
          begin{multlined}[t]
          {R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
          R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
          end{multlined}
          end{equation*}

          begin{equation*}
          A =biggl{
          begin{aligned}
          &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
          &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
          end{aligned}
          biggr}
          end{equation*}

          end{document}





          share|improve this answer































            3














            Inspired by Raaja's answer.



            documentclass[preview,border=12pt,varwidth]{standalone}
            usepackage{mathtools}
            usepackage[a6paper]{geometry}
            begin{document}
            abovedisplayskip=0pt
            [
            begin{split}
            A ={ &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
            &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
            end{split}
            ]
            end{document}


            enter image description here



            Note: usepackage[a6paper]{geometry} is added because varwidth does not take any effect if split is used.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "85"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461779%2fhow-to-display-a-multi-lined-list-nicely%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              You can instead use the {...} environment inside the aligned environment



              documentclass[preview,border=12pt,varwidth]{standalone}
              usepackage{amsmath}
              begin{document}
              abovedisplayskip=0pt

              [begin{aligned}[t]
              A={&R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
              &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
              end{aligned}]
              end{document}


              to get:



              enter image description here






              share|improve this answer



















              • 1





                I will use split instead of aligned.

                – The Inventor of God
                Nov 26 '18 at 8:05











              • @ArtificialStupidity That's indeed a good suggestion, however, I wanted to stick with the OP's environment (as I didn't know the premise at which the OP uses the aligned environment).

                – Raaja
                Nov 26 '18 at 8:08













              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)

                – Raaja
                Nov 26 '18 at 8:27













              • :-):-):-):-):-)

                – The Inventor of God
                Nov 26 '18 at 8:52
















              3














              You can instead use the {...} environment inside the aligned environment



              documentclass[preview,border=12pt,varwidth]{standalone}
              usepackage{amsmath}
              begin{document}
              abovedisplayskip=0pt

              [begin{aligned}[t]
              A={&R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
              &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
              end{aligned}]
              end{document}


              to get:



              enter image description here






              share|improve this answer



















              • 1





                I will use split instead of aligned.

                – The Inventor of God
                Nov 26 '18 at 8:05











              • @ArtificialStupidity That's indeed a good suggestion, however, I wanted to stick with the OP's environment (as I didn't know the premise at which the OP uses the aligned environment).

                – Raaja
                Nov 26 '18 at 8:08













              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)

                – Raaja
                Nov 26 '18 at 8:27













              • :-):-):-):-):-)

                – The Inventor of God
                Nov 26 '18 at 8:52














              3












              3








              3







              You can instead use the {...} environment inside the aligned environment



              documentclass[preview,border=12pt,varwidth]{standalone}
              usepackage{amsmath}
              begin{document}
              abovedisplayskip=0pt

              [begin{aligned}[t]
              A={&R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
              &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
              end{aligned}]
              end{document}


              to get:



              enter image description here






              share|improve this answer













              You can instead use the {...} environment inside the aligned environment



              documentclass[preview,border=12pt,varwidth]{standalone}
              usepackage{amsmath}
              begin{document}
              abovedisplayskip=0pt

              [begin{aligned}[t]
              A={&R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
              &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
              end{aligned}]
              end{document}


              to get:



              enter image description here







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Nov 26 '18 at 8:00









              RaajaRaaja

              5,18421642




              5,18421642








              • 1





                I will use split instead of aligned.

                – The Inventor of God
                Nov 26 '18 at 8:05











              • @ArtificialStupidity That's indeed a good suggestion, however, I wanted to stick with the OP's environment (as I didn't know the premise at which the OP uses the aligned environment).

                – Raaja
                Nov 26 '18 at 8:08













              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)

                – Raaja
                Nov 26 '18 at 8:27













              • :-):-):-):-):-)

                – The Inventor of God
                Nov 26 '18 at 8:52














              • 1





                I will use split instead of aligned.

                – The Inventor of God
                Nov 26 '18 at 8:05











              • @ArtificialStupidity That's indeed a good suggestion, however, I wanted to stick with the OP's environment (as I didn't know the premise at which the OP uses the aligned environment).

                – Raaja
                Nov 26 '18 at 8:08













              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)

                – Raaja
                Nov 26 '18 at 8:27













              • :-):-):-):-):-)

                – The Inventor of God
                Nov 26 '18 at 8:52








              1




              1





              I will use split instead of aligned.

              – The Inventor of God
              Nov 26 '18 at 8:05





              I will use split instead of aligned.

              – The Inventor of God
              Nov 26 '18 at 8:05













              @ArtificialStupidity That's indeed a good suggestion, however, I wanted to stick with the OP's environment (as I didn't know the premise at which the OP uses the aligned environment).

              – Raaja
              Nov 26 '18 at 8:08







              @ArtificialStupidity That's indeed a good suggestion, however, I wanted to stick with the OP's environment (as I didn't know the premise at which the OP uses the aligned environment).

              – Raaja
              Nov 26 '18 at 8:08















              @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)

              – Raaja
              Nov 26 '18 at 8:27







              @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)

              – Raaja
              Nov 26 '18 at 8:27















              :-):-):-):-):-)

              – The Inventor of God
              Nov 26 '18 at 8:52





              :-):-):-):-):-)

              – The Inventor of God
              Nov 26 '18 at 8:52











              4














              Here are two suggestions, one a multlined the other a large brace:



              Sample output



              documentclass{article}

              usepackage{mathtools}

              begin{document}
              begin{equation*}
              A =
              begin{multlined}[t]
              {R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
              R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
              end{multlined}
              end{equation*}

              begin{equation*}
              A =biggl{
              begin{aligned}
              &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
              &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
              end{aligned}
              biggr}
              end{equation*}

              end{document}





              share|improve this answer




























                4














                Here are two suggestions, one a multlined the other a large brace:



                Sample output



                documentclass{article}

                usepackage{mathtools}

                begin{document}
                begin{equation*}
                A =
                begin{multlined}[t]
                {R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
                end{multlined}
                end{equation*}

                begin{equation*}
                A =biggl{
                begin{aligned}
                &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
                end{aligned}
                biggr}
                end{equation*}

                end{document}





                share|improve this answer


























                  4












                  4








                  4







                  Here are two suggestions, one a multlined the other a large brace:



                  Sample output



                  documentclass{article}

                  usepackage{mathtools}

                  begin{document}
                  begin{equation*}
                  A =
                  begin{multlined}[t]
                  {R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                  R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
                  end{multlined}
                  end{equation*}

                  begin{equation*}
                  A =biggl{
                  begin{aligned}
                  &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                  &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
                  end{aligned}
                  biggr}
                  end{equation*}

                  end{document}





                  share|improve this answer













                  Here are two suggestions, one a multlined the other a large brace:



                  Sample output



                  documentclass{article}

                  usepackage{mathtools}

                  begin{document}
                  begin{equation*}
                  A =
                  begin{multlined}[t]
                  {R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                  R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
                  end{multlined}
                  end{equation*}

                  begin{equation*}
                  A =biggl{
                  begin{aligned}
                  &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                  &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3
                  end{aligned}
                  biggr}
                  end{equation*}

                  end{document}






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 26 '18 at 8:06









                  Andrew SwannAndrew Swann

                  77.7k9130331




                  77.7k9130331























                      3














                      Inspired by Raaja's answer.



                      documentclass[preview,border=12pt,varwidth]{standalone}
                      usepackage{mathtools}
                      usepackage[a6paper]{geometry}
                      begin{document}
                      abovedisplayskip=0pt
                      [
                      begin{split}
                      A ={ &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                      &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
                      end{split}
                      ]
                      end{document}


                      enter image description here



                      Note: usepackage[a6paper]{geometry} is added because varwidth does not take any effect if split is used.






                      share|improve this answer




























                        3














                        Inspired by Raaja's answer.



                        documentclass[preview,border=12pt,varwidth]{standalone}
                        usepackage{mathtools}
                        usepackage[a6paper]{geometry}
                        begin{document}
                        abovedisplayskip=0pt
                        [
                        begin{split}
                        A ={ &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                        &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
                        end{split}
                        ]
                        end{document}


                        enter image description here



                        Note: usepackage[a6paper]{geometry} is added because varwidth does not take any effect if split is used.






                        share|improve this answer


























                          3












                          3








                          3







                          Inspired by Raaja's answer.



                          documentclass[preview,border=12pt,varwidth]{standalone}
                          usepackage{mathtools}
                          usepackage[a6paper]{geometry}
                          begin{document}
                          abovedisplayskip=0pt
                          [
                          begin{split}
                          A ={ &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                          &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
                          end{split}
                          ]
                          end{document}


                          enter image description here



                          Note: usepackage[a6paper]{geometry} is added because varwidth does not take any effect if split is used.






                          share|improve this answer













                          Inspired by Raaja's answer.



                          documentclass[preview,border=12pt,varwidth]{standalone}
                          usepackage{mathtools}
                          usepackage[a6paper]{geometry}
                          begin{document}
                          abovedisplayskip=0pt
                          [
                          begin{split}
                          A ={ &R_1R_1,R_1R_2,R_1P_1,R_1P_2,R_1P_3,\
                          &R_2R_1,R_2R_2,R_2P_1,R_2P_2,R_2P_3}
                          end{split}
                          ]
                          end{document}


                          enter image description here



                          Note: usepackage[a6paper]{geometry} is added because varwidth does not take any effect if split is used.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 26 '18 at 8:09









                          The Inventor of GodThe Inventor of God

                          4,99611142




                          4,99611142






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461779%2fhow-to-display-a-multi-lined-list-nicely%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Costa Masnaga

                              Fotorealismo

                              Sidney Franklin