How to display a multi-lined list nicely?











up vote
3
down vote

favorite












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


























    up vote
    3
    down vote

    favorite












    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
























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      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 at 7:53









      Artificial Stupidity

      4,78411036




      4,78411036






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          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.
            – Artificial Stupidity
            Nov 26 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 at 8:08












          • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)
            – Raaja
            Nov 26 at 8:27












          • :-):-):-):-):-)
            – Artificial Stupidity
            Nov 26 at 8:52


















          up vote
          4
          down vote













          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




























            up vote
            3
            down vote













            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',
              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








              up vote
              3
              down vote



              accepted










              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.
                – Artificial Stupidity
                Nov 26 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 at 8:08












              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)
                – Raaja
                Nov 26 at 8:27












              • :-):-):-):-):-)
                – Artificial Stupidity
                Nov 26 at 8:52















              up vote
              3
              down vote



              accepted










              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.
                – Artificial Stupidity
                Nov 26 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 at 8:08












              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)
                – Raaja
                Nov 26 at 8:27












              • :-):-):-):-):-)
                – Artificial Stupidity
                Nov 26 at 8:52













              up vote
              3
              down vote



              accepted







              up vote
              3
              down vote



              accepted






              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 at 8:00









              Raaja

              2,0742525




              2,0742525








              • 1




                I will use split instead of aligned.
                – Artificial Stupidity
                Nov 26 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 at 8:08












              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)
                – Raaja
                Nov 26 at 8:27












              • :-):-):-):-):-)
                – Artificial Stupidity
                Nov 26 at 8:52














              • 1




                I will use split instead of aligned.
                – Artificial Stupidity
                Nov 26 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 at 8:08












              • @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)
                – Raaja
                Nov 26 at 8:27












              • :-):-):-):-):-)
                – Artificial Stupidity
                Nov 26 at 8:52








              1




              1




              I will use split instead of aligned.
              – Artificial Stupidity
              Nov 26 at 8:05




              I will use split instead of aligned.
              – Artificial Stupidity
              Nov 26 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 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 at 8:08














              @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)
              – Raaja
              Nov 26 at 8:27






              @ArtificialStupidity I didn't notice you were the OP ;) (extremely sorry for the 3rd person-ish comment)
              – Raaja
              Nov 26 at 8:27














              :-):-):-):-):-)
              – Artificial Stupidity
              Nov 26 at 8:52




              :-):-):-):-):-)
              – Artificial Stupidity
              Nov 26 at 8:52










              up vote
              4
              down vote













              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

























                up vote
                4
                down vote













                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























                  up vote
                  4
                  down vote










                  up vote
                  4
                  down vote









                  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 at 8:06









                  Andrew Swann

                  76.2k9126324




                  76.2k9126324






















                      up vote
                      3
                      down vote













                      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

























                        up vote
                        3
                        down vote













                        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























                          up vote
                          3
                          down vote










                          up vote
                          3
                          down vote









                          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 at 8:09









                          Artificial Stupidity

                          4,78411036




                          4,78411036






























                              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.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • 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

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                               ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕