How do you fit my long equation in my page?












1















I put this long equation in latex in several lines however when I put Latex into PDF the equation did not appear all. Can I help me?



begin{equation}label{eq:20}
begin{split}
{T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
&{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
& N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
& N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
end{split}
end{equation}


In PDF:
enter image description here










share|improve this question





























    1















    I put this long equation in latex in several lines however when I put Latex into PDF the equation did not appear all. Can I help me?



    begin{equation}label{eq:20}
    begin{split}
    {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
    &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
    & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
    & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
    end{split}
    end{equation}


    In PDF:
    enter image description here










    share|improve this question



























      1












      1








      1








      I put this long equation in latex in several lines however when I put Latex into PDF the equation did not appear all. Can I help me?



      begin{equation}label{eq:20}
      begin{split}
      {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
      &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
      & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
      & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
      end{split}
      end{equation}


      In PDF:
      enter image description here










      share|improve this question
















      I put this long equation in latex in several lines however when I put Latex into PDF the equation did not appear all. Can I help me?



      begin{equation}label{eq:20}
      begin{split}
      {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
      &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
      & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
      & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
      end{split}
      end{equation}


      In PDF:
      enter image description here







      equations subequations fit






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 13 at 12:21









      Phelype Oleinik

      21.6k54381




      21.6k54381










      asked Jan 13 at 12:20









      Paula SofiaPaula Sofia

      212




      212






















          2 Answers
          2






          active

          oldest

          votes


















          2














          You need an & in the first line. Instead, I propose one of these two solutions, based of the MoveEqLeft from mathtools , and the fleqn environment from nccmath:



          documentclass{article}
          usepackage{mathtools, nccmath}

          begin{document}

          Some text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.

          begin{equation}label{eq:20}
          begin{split}
          MoveEqLeft[3] {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
          &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
          & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
          & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
          end{split}
          end{equation}
          bigskip

          begin{fleqn}
          begin{equation}
          begin{aligned}
          & mathrlap{{T_{1} in (x_{1},x_{1}+h_{1}]dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = }hspace{4em} & & & & \
          & & & {N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0,\
          & & & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
          & & & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
          end{aligned}
          end{equation}
          end{fleqn}

          end{document}


          enter image description here






          share|improve this answer































            1














            I suggest to move the = sign to the second line and to align right of the brace, so to emphasize that the items are in the set description. Making the braces a bit larger may help.



            documentclass[a4paper,12pt]{report}
            usepackage{amsmath, mathtools}

            begin{document}

            begin{equation}label{eq:20}
            begin{split}
            MoveEqLeft[4]
            bigl{
            T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n
            bigr}
            \
            =bigl{
            & N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
            & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
            & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0
            bigr}
            end{split}
            end{equation}

            end{document}


            enter image description here






            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%2f469943%2fhow-do-you-fit-my-long-equation-in-my-page%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              You need an & in the first line. Instead, I propose one of these two solutions, based of the MoveEqLeft from mathtools , and the fleqn environment from nccmath:



              documentclass{article}
              usepackage{mathtools, nccmath}

              begin{document}

              Some text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.

              begin{equation}label{eq:20}
              begin{split}
              MoveEqLeft[3] {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
              &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
              & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
              & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
              end{split}
              end{equation}
              bigskip

              begin{fleqn}
              begin{equation}
              begin{aligned}
              & mathrlap{{T_{1} in (x_{1},x_{1}+h_{1}]dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = }hspace{4em} & & & & \
              & & & {N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0,\
              & & & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
              & & & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
              end{aligned}
              end{equation}
              end{fleqn}

              end{document}


              enter image description here






              share|improve this answer




























                2














                You need an & in the first line. Instead, I propose one of these two solutions, based of the MoveEqLeft from mathtools , and the fleqn environment from nccmath:



                documentclass{article}
                usepackage{mathtools, nccmath}

                begin{document}

                Some text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.

                begin{equation}label{eq:20}
                begin{split}
                MoveEqLeft[3] {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
                &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
                & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
                end{split}
                end{equation}
                bigskip

                begin{fleqn}
                begin{equation}
                begin{aligned}
                & mathrlap{{T_{1} in (x_{1},x_{1}+h_{1}]dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = }hspace{4em} & & & & \
                & & & {N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0,\
                & & & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                & & & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
                end{aligned}
                end{equation}
                end{fleqn}

                end{document}


                enter image description here






                share|improve this answer


























                  2












                  2








                  2







                  You need an & in the first line. Instead, I propose one of these two solutions, based of the MoveEqLeft from mathtools , and the fleqn environment from nccmath:



                  documentclass{article}
                  usepackage{mathtools, nccmath}

                  begin{document}

                  Some text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.

                  begin{equation}label{eq:20}
                  begin{split}
                  MoveEqLeft[3] {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
                  &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
                  & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                  & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
                  end{split}
                  end{equation}
                  bigskip

                  begin{fleqn}
                  begin{equation}
                  begin{aligned}
                  & mathrlap{{T_{1} in (x_{1},x_{1}+h_{1}]dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = }hspace{4em} & & & & \
                  & & & {N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0,\
                  & & & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                  & & & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
                  end{aligned}
                  end{equation}
                  end{fleqn}

                  end{document}


                  enter image description here






                  share|improve this answer













                  You need an & in the first line. Instead, I propose one of these two solutions, based of the MoveEqLeft from mathtools , and the fleqn environment from nccmath:



                  documentclass{article}
                  usepackage{mathtools, nccmath}

                  begin{document}

                  Some text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.

                  begin{equation}label{eq:20}
                  begin{split}
                  MoveEqLeft[3] {T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = \
                  &{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
                  & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                  & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
                  end{split}
                  end{equation}
                  bigskip

                  begin{fleqn}
                  begin{equation}
                  begin{aligned}
                  & mathrlap{{T_{1} in (x_{1},x_{1}+h_{1}]dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n} = }hspace{4em} & & & & \
                  & & & {N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0,\
                  & & & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                  & & & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0}
                  end{aligned}
                  end{equation}
                  end{fleqn}

                  end{document}


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 13 at 12:57









                  BernardBernard

                  167k770195




                  167k770195























                      1














                      I suggest to move the = sign to the second line and to align right of the brace, so to emphasize that the items are in the set description. Making the braces a bit larger may help.



                      documentclass[a4paper,12pt]{report}
                      usepackage{amsmath, mathtools}

                      begin{document}

                      begin{equation}label{eq:20}
                      begin{split}
                      MoveEqLeft[4]
                      bigl{
                      T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n
                      bigr}
                      \
                      =bigl{
                      & N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
                      & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                      & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0
                      bigr}
                      end{split}
                      end{equation}

                      end{document}


                      enter image description here






                      share|improve this answer




























                        1














                        I suggest to move the = sign to the second line and to align right of the brace, so to emphasize that the items are in the set description. Making the braces a bit larger may help.



                        documentclass[a4paper,12pt]{report}
                        usepackage{amsmath, mathtools}

                        begin{document}

                        begin{equation}label{eq:20}
                        begin{split}
                        MoveEqLeft[4]
                        bigl{
                        T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n
                        bigr}
                        \
                        =bigl{
                        & N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
                        & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                        & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0
                        bigr}
                        end{split}
                        end{equation}

                        end{document}


                        enter image description here






                        share|improve this answer


























                          1












                          1








                          1







                          I suggest to move the = sign to the second line and to align right of the brace, so to emphasize that the items are in the set description. Making the braces a bit larger may help.



                          documentclass[a4paper,12pt]{report}
                          usepackage{amsmath, mathtools}

                          begin{document}

                          begin{equation}label{eq:20}
                          begin{split}
                          MoveEqLeft[4]
                          bigl{
                          T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n
                          bigr}
                          \
                          =bigl{
                          & N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
                          & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                          & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0
                          bigr}
                          end{split}
                          end{equation}

                          end{document}


                          enter image description here






                          share|improve this answer













                          I suggest to move the = sign to the second line and to align right of the brace, so to emphasize that the items are in the set description. Making the braces a bit larger may help.



                          documentclass[a4paper,12pt]{report}
                          usepackage{amsmath, mathtools}

                          begin{document}

                          begin{equation}label{eq:20}
                          begin{split}
                          MoveEqLeft[4]
                          bigl{
                          T_{1} in (x_{1},x_{1}+h_{1}],dots,T_{n} in (x_{n},x_{n}+h_{n}], N(t)=n
                          bigr}
                          \
                          =bigl{
                          & N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \
                          & N(x_{2}, x_{2}+h_{2}]=1,dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \
                          & N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0
                          bigr}
                          end{split}
                          end{equation}

                          end{document}


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jan 13 at 17:11









                          egregegreg

                          714k8618953184




                          714k8618953184






























                              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%2f469943%2fhow-do-you-fit-my-long-equation-in-my-page%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

                              How to change which sound is reproduced for terminal bell?

                              Can I use Tabulator js library in my java Spring + Thymeleaf project?

                              Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents