Equation exceeds single column of IEEE template












0















The equation is attached here.



begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}









share|improve this question

























  • Hi ! Please attach a minimal working example (MWE) for us to be able to help !

    – BambOo
    Apr 16 '18 at 8:26











  • Possible duplicate of Equation exceeds one column of IEEE

    – Johannes_B
    14 mins ago
















0















The equation is attached here.



begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}









share|improve this question

























  • Hi ! Please attach a minimal working example (MWE) for us to be able to help !

    – BambOo
    Apr 16 '18 at 8:26











  • Possible duplicate of Equation exceeds one column of IEEE

    – Johannes_B
    14 mins ago














0












0








0








The equation is attached here.



begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}









share|improve this question
















The equation is attached here.



begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}






math-mode line-breaking






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 mins ago









Mico

284k31388778




284k31388778










asked Apr 16 '18 at 8:11









Ghulam HafeezGhulam Hafeez

212




212













  • Hi ! Please attach a minimal working example (MWE) for us to be able to help !

    – BambOo
    Apr 16 '18 at 8:26











  • Possible duplicate of Equation exceeds one column of IEEE

    – Johannes_B
    14 mins ago



















  • Hi ! Please attach a minimal working example (MWE) for us to be able to help !

    – BambOo
    Apr 16 '18 at 8:26











  • Possible duplicate of Equation exceeds one column of IEEE

    – Johannes_B
    14 mins ago

















Hi ! Please attach a minimal working example (MWE) for us to be able to help !

– BambOo
Apr 16 '18 at 8:26





Hi ! Please attach a minimal working example (MWE) for us to be able to help !

– BambOo
Apr 16 '18 at 8:26













Possible duplicate of Equation exceeds one column of IEEE

– Johannes_B
14 mins ago





Possible duplicate of Equation exceeds one column of IEEE

– Johannes_B
14 mins ago










2 Answers
2






active

oldest

votes


















1














With multline, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn environment, from nccmath to have a nice layout.



Also, you don't need all those pairs braces, so I removed them to have a more readable coe.



documentclass{ieeetran}
usepackage{mathtools, nccmath}
usepackage{lipsum}

begin{document}
lipsum[2]

begin{fleqn}
begin{multline}label{eq6}
MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
{}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
end{multline}
end{fleqn}

end{document}


enter image description here






share|improve this answer































    0














    You may want something like this:



    documentclass{IEEEtran}
    usepackage{newtxtext,newtxmath}
    usepackage{amsmath}
    usepackage[nopar]{lipsum}% just for mock text

    begin{document}

    lipsum[3]
    begin{equation}label{eq6}
    begin{aligned}
    &MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
    &begin{aligned}
    sum_i sum_j
    &p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
    &cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
    {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
    biggr) \
    &+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
    &cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
    {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
    biggr)
    end{aligned}
    end{aligned}
    end{equation}
    lipsum[4]

    end{document}


    I loaded the newtx... packages so to have math in Times font.



    I also removed all your left and right instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2, but only log_2.



    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%2f426768%2fequation-exceeds-single-column-of-ieee-template%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









      1














      With multline, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn environment, from nccmath to have a nice layout.



      Also, you don't need all those pairs braces, so I removed them to have a more readable coe.



      documentclass{ieeetran}
      usepackage{mathtools, nccmath}
      usepackage{lipsum}

      begin{document}
      lipsum[2]

      begin{fleqn}
      begin{multline}label{eq6}
      MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
      sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
      log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
      {}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
      log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
      end{multline}
      end{fleqn}

      end{document}


      enter image description here






      share|improve this answer




























        1














        With multline, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn environment, from nccmath to have a nice layout.



        Also, you don't need all those pairs braces, so I removed them to have a more readable coe.



        documentclass{ieeetran}
        usepackage{mathtools, nccmath}
        usepackage{lipsum}

        begin{document}
        lipsum[2]

        begin{fleqn}
        begin{multline}label{eq6}
        MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
        sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
        log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
        {}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
        log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
        end{multline}
        end{fleqn}

        end{document}


        enter image description here






        share|improve this answer


























          1












          1








          1







          With multline, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn environment, from nccmath to have a nice layout.



          Also, you don't need all those pairs braces, so I removed them to have a more readable coe.



          documentclass{ieeetran}
          usepackage{mathtools, nccmath}
          usepackage{lipsum}

          begin{document}
          lipsum[2]

          begin{fleqn}
          begin{multline}label{eq6}
          MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
          sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
          log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
          {}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
          log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
          end{multline}
          end{fleqn}

          end{document}


          enter image description here






          share|improve this answer













          With multline, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn environment, from nccmath to have a nice layout.



          Also, you don't need all those pairs braces, so I removed them to have a more readable coe.



          documentclass{ieeetran}
          usepackage{mathtools, nccmath}
          usepackage{lipsum}

          begin{document}
          lipsum[2]

          begin{fleqn}
          begin{multline}label{eq6}
          MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
          sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
          log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
          {}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
          log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
          end{multline}
          end{fleqn}

          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 16 '18 at 9:18









          BernardBernard

          174k776206




          174k776206























              0














              You may want something like this:



              documentclass{IEEEtran}
              usepackage{newtxtext,newtxmath}
              usepackage{amsmath}
              usepackage[nopar]{lipsum}% just for mock text

              begin{document}

              lipsum[3]
              begin{equation}label{eq6}
              begin{aligned}
              &MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
              &begin{aligned}
              sum_i sum_j
              &p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
              &cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
              {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
              biggr) \
              &+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
              &cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
              {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
              biggr)
              end{aligned}
              end{aligned}
              end{equation}
              lipsum[4]

              end{document}


              I loaded the newtx... packages so to have math in Times font.



              I also removed all your left and right instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2, but only log_2.



              enter image description here






              share|improve this answer




























                0














                You may want something like this:



                documentclass{IEEEtran}
                usepackage{newtxtext,newtxmath}
                usepackage{amsmath}
                usepackage[nopar]{lipsum}% just for mock text

                begin{document}

                lipsum[3]
                begin{equation}label{eq6}
                begin{aligned}
                &MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
                &begin{aligned}
                sum_i sum_j
                &p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
                &cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
                {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
                biggr) \
                &+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
                &cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
                {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
                biggr)
                end{aligned}
                end{aligned}
                end{equation}
                lipsum[4]

                end{document}


                I loaded the newtx... packages so to have math in Times font.



                I also removed all your left and right instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2, but only log_2.



                enter image description here






                share|improve this answer


























                  0












                  0








                  0







                  You may want something like this:



                  documentclass{IEEEtran}
                  usepackage{newtxtext,newtxmath}
                  usepackage{amsmath}
                  usepackage[nopar]{lipsum}% just for mock text

                  begin{document}

                  lipsum[3]
                  begin{equation}label{eq6}
                  begin{aligned}
                  &MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
                  &begin{aligned}
                  sum_i sum_j
                  &p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
                  &cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
                  {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
                  biggr) \
                  &+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
                  &cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
                  {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
                  biggr)
                  end{aligned}
                  end{aligned}
                  end{equation}
                  lipsum[4]

                  end{document}


                  I loaded the newtx... packages so to have math in Times font.



                  I also removed all your left and right instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2, but only log_2.



                  enter image description here






                  share|improve this answer













                  You may want something like this:



                  documentclass{IEEEtran}
                  usepackage{newtxtext,newtxmath}
                  usepackage{amsmath}
                  usepackage[nopar]{lipsum}% just for mock text

                  begin{document}

                  lipsum[3]
                  begin{equation}label{eq6}
                  begin{aligned}
                  &MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
                  &begin{aligned}
                  sum_i sum_j
                  &p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
                  &cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
                  {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
                  biggr) \
                  &+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
                  &cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
                  {p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
                  biggr)
                  end{aligned}
                  end{aligned}
                  end{equation}
                  lipsum[4]

                  end{document}


                  I loaded the newtx... packages so to have math in Times font.



                  I also removed all your left and right instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2, but only log_2.



                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 16 '18 at 8:38









                  egregegreg

                  728k8819243235




                  728k8819243235






























                      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%2f426768%2fequation-exceeds-single-column-of-ieee-template%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

                      Accessing regular linux commands in Huawei's Dopra Linux

                      Can't connect RFCOMM socket: Host is down

                      Kernel panic - not syncing: Fatal Exception in Interrupt