Help rendering a complicated sum/product formula












5















It's supposed to look roughly like this, or at least be semantically equivalent:



enter image description here



I'm sure the sum part looks a bit too big, and not all the parenthesis are necessary. All the sum/product formulas I've done so far have been elementary, single-level formulas.



I've been trying to make something like the above, but I've been less than successful:



$sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$


enter image description here



Any help would be appreciated.










share|improve this question









New contributor




user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX.SE! Can you please show us the code you have tried so far?

    – Kurt
    3 hours ago











  • The code for my attempt would be $sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$ . I tried to add a '\' under the sums and products to make it multi-level, so as not to take horizontal space, but it did not work. Also, I don't know how to make the outer sum bigger that the inner products. tough I feel it should be, for highlighting purposes. I think some sort of "boxed" syntax is needed for the elements. I'm really not familiar.

    – user3257842
    3 hours ago











  • Please add the code you tried to your question, there it is better readable.

    – Kurt
    3 hours ago
















5















It's supposed to look roughly like this, or at least be semantically equivalent:



enter image description here



I'm sure the sum part looks a bit too big, and not all the parenthesis are necessary. All the sum/product formulas I've done so far have been elementary, single-level formulas.



I've been trying to make something like the above, but I've been less than successful:



$sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$


enter image description here



Any help would be appreciated.










share|improve this question









New contributor




user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX.SE! Can you please show us the code you have tried so far?

    – Kurt
    3 hours ago











  • The code for my attempt would be $sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$ . I tried to add a '\' under the sums and products to make it multi-level, so as not to take horizontal space, but it did not work. Also, I don't know how to make the outer sum bigger that the inner products. tough I feel it should be, for highlighting purposes. I think some sort of "boxed" syntax is needed for the elements. I'm really not familiar.

    – user3257842
    3 hours ago











  • Please add the code you tried to your question, there it is better readable.

    – Kurt
    3 hours ago














5












5








5


0






It's supposed to look roughly like this, or at least be semantically equivalent:



enter image description here



I'm sure the sum part looks a bit too big, and not all the parenthesis are necessary. All the sum/product formulas I've done so far have been elementary, single-level formulas.



I've been trying to make something like the above, but I've been less than successful:



$sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$


enter image description here



Any help would be appreciated.










share|improve this question









New contributor




user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












It's supposed to look roughly like this, or at least be semantically equivalent:



enter image description here



I'm sure the sum part looks a bit too big, and not all the parenthesis are necessary. All the sum/product formulas I've done so far have been elementary, single-level formulas.



I've been trying to make something like the above, but I've been less than successful:



$sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$


enter image description here



Any help would be appreciated.







math-mode spacing






share|improve this question









New contributor




user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 3 hours ago









CampanIgnis

2,8642932




2,8642932






New contributor




user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 3 hours ago









user3257842user3257842

283




283




New contributor




user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user3257842 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Welcome to TeX.SE! Can you please show us the code you have tried so far?

    – Kurt
    3 hours ago











  • The code for my attempt would be $sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$ . I tried to add a '\' under the sums and products to make it multi-level, so as not to take horizontal space, but it did not work. Also, I don't know how to make the outer sum bigger that the inner products. tough I feel it should be, for highlighting purposes. I think some sort of "boxed" syntax is needed for the elements. I'm really not familiar.

    – user3257842
    3 hours ago











  • Please add the code you tried to your question, there it is better readable.

    – Kurt
    3 hours ago



















  • Welcome to TeX.SE! Can you please show us the code you have tried so far?

    – Kurt
    3 hours ago











  • The code for my attempt would be $sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$ . I tried to add a '\' under the sums and products to make it multi-level, so as not to take horizontal space, but it did not work. Also, I don't know how to make the outer sum bigger that the inner products. tough I feel it should be, for highlighting purposes. I think some sort of "boxed" syntax is needed for the elements. I'm really not familiar.

    – user3257842
    3 hours ago











  • Please add the code you tried to your question, there it is better readable.

    – Kurt
    3 hours ago

















Welcome to TeX.SE! Can you please show us the code you have tried so far?

– Kurt
3 hours ago





Welcome to TeX.SE! Can you please show us the code you have tried so far?

– Kurt
3 hours ago













The code for my attempt would be $sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$ . I tried to add a '\' under the sums and products to make it multi-level, so as not to take horizontal space, but it did not work. Also, I don't know how to make the outer sum bigger that the inner products. tough I feel it should be, for highlighting purposes. I think some sort of "boxed" syntax is needed for the elements. I'm really not familiar.

– user3257842
3 hours ago





The code for my attempt would be $sumlimits_{Bsubset{1..m},|B|=d}(prodlimits_{p,qin B,hspace{0.1cm}pneq q })$ . I tried to add a '\' under the sums and products to make it multi-level, so as not to take horizontal space, but it did not work. Also, I don't know how to make the outer sum bigger that the inner products. tough I feel it should be, for highlighting purposes. I think some sort of "boxed" syntax is needed for the elements. I'm really not familiar.

– user3257842
3 hours ago













Please add the code you tried to your question, there it is better readable.

– Kurt
3 hours ago





Please add the code you tried to your question, there it is better readable.

– Kurt
3 hours ago










3 Answers
3






active

oldest

votes


















5














Perhaps you could start with this:



documentclass{article}
usepackage{amsmath,relsize}

begin{document}

begin{align*}
mathlarger{mathlarger{mathlargersum}}_
{substack{Bsubset{1..n},\lvert Brvert=d}}
Bigl(prod_
{substack{p,qin B,\pneq q}}
(alpha_p-alpha_q)Bigr)
Bigl(kern-2exprod_
{tin{1..n}slash B}kern-2ex
(x-alpha_t)Bigr)
end{align*}

end{document}


I tried to replicate it.



enter image description here






share|improve this answer

































    4














    I would type it in a slightly different way, to improve the legibility of the formula:



    documentclass{article}
    usepackage{mathtools, relsize}

    begin{document}

    [ mathlarger{ sum}_{substack{Bsubset{1 cdotcdot n}\ |B| = d}},Bigl(smashoperator{prod_{substack{p, qin B \ pne q}}}(alpha_p-alpha_q):smashoperator{ prod_{substack{t in{1 cdotcdot n}\ t notin B }}}(x-alpha_t) Bigr) ]%

    end{document}


    enter image description here






    share|improve this answer































      3














      I'd use standard sizes:



      documentclass{article}
      usepackage{amsmath,mathtools}

      newcommand{tprod}{mathop{mathchoice{textstyleprod}{prod}{prod}{prod}}}
      newcommand{sss}{scriptscriptstyle}

      begin{document}

      begin{equation*}
      sum_{substack{sss Bsubset{1..n}, \ sss lvert Brvert=d}};
      bigl(
      smashoperator{tprod_{substack{sss p,qin B, \ sss pneq q}}}
      (alpha_p-alpha_q)
      bigr)
      bigl(
      smashoperator{tprod_{sss tin{1..n}/B}}
      (x-alpha_t)
      bigr)
      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
        });


        }
        });






        user3257842 is a new contributor. Be nice, and check out our Code of Conduct.










        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479975%2fhelp-rendering-a-complicated-sum-product-formula%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









        5














        Perhaps you could start with this:



        documentclass{article}
        usepackage{amsmath,relsize}

        begin{document}

        begin{align*}
        mathlarger{mathlarger{mathlargersum}}_
        {substack{Bsubset{1..n},\lvert Brvert=d}}
        Bigl(prod_
        {substack{p,qin B,\pneq q}}
        (alpha_p-alpha_q)Bigr)
        Bigl(kern-2exprod_
        {tin{1..n}slash B}kern-2ex
        (x-alpha_t)Bigr)
        end{align*}

        end{document}


        I tried to replicate it.



        enter image description here






        share|improve this answer






























          5














          Perhaps you could start with this:



          documentclass{article}
          usepackage{amsmath,relsize}

          begin{document}

          begin{align*}
          mathlarger{mathlarger{mathlargersum}}_
          {substack{Bsubset{1..n},\lvert Brvert=d}}
          Bigl(prod_
          {substack{p,qin B,\pneq q}}
          (alpha_p-alpha_q)Bigr)
          Bigl(kern-2exprod_
          {tin{1..n}slash B}kern-2ex
          (x-alpha_t)Bigr)
          end{align*}

          end{document}


          I tried to replicate it.



          enter image description here






          share|improve this answer




























            5












            5








            5







            Perhaps you could start with this:



            documentclass{article}
            usepackage{amsmath,relsize}

            begin{document}

            begin{align*}
            mathlarger{mathlarger{mathlargersum}}_
            {substack{Bsubset{1..n},\lvert Brvert=d}}
            Bigl(prod_
            {substack{p,qin B,\pneq q}}
            (alpha_p-alpha_q)Bigr)
            Bigl(kern-2exprod_
            {tin{1..n}slash B}kern-2ex
            (x-alpha_t)Bigr)
            end{align*}

            end{document}


            I tried to replicate it.



            enter image description here






            share|improve this answer















            Perhaps you could start with this:



            documentclass{article}
            usepackage{amsmath,relsize}

            begin{document}

            begin{align*}
            mathlarger{mathlarger{mathlargersum}}_
            {substack{Bsubset{1..n},\lvert Brvert=d}}
            Bigl(prod_
            {substack{p,qin B,\pneq q}}
            (alpha_p-alpha_q)Bigr)
            Bigl(kern-2exprod_
            {tin{1..n}slash B}kern-2ex
            (x-alpha_t)Bigr)
            end{align*}

            end{document}


            I tried to replicate it.



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 1 hour ago

























            answered 3 hours ago









            CampanIgnisCampanIgnis

            2,8642932




            2,8642932























                4














                I would type it in a slightly different way, to improve the legibility of the formula:



                documentclass{article}
                usepackage{mathtools, relsize}

                begin{document}

                [ mathlarger{ sum}_{substack{Bsubset{1 cdotcdot n}\ |B| = d}},Bigl(smashoperator{prod_{substack{p, qin B \ pne q}}}(alpha_p-alpha_q):smashoperator{ prod_{substack{t in{1 cdotcdot n}\ t notin B }}}(x-alpha_t) Bigr) ]%

                end{document}


                enter image description here






                share|improve this answer




























                  4














                  I would type it in a slightly different way, to improve the legibility of the formula:



                  documentclass{article}
                  usepackage{mathtools, relsize}

                  begin{document}

                  [ mathlarger{ sum}_{substack{Bsubset{1 cdotcdot n}\ |B| = d}},Bigl(smashoperator{prod_{substack{p, qin B \ pne q}}}(alpha_p-alpha_q):smashoperator{ prod_{substack{t in{1 cdotcdot n}\ t notin B }}}(x-alpha_t) Bigr) ]%

                  end{document}


                  enter image description here






                  share|improve this answer


























                    4












                    4








                    4







                    I would type it in a slightly different way, to improve the legibility of the formula:



                    documentclass{article}
                    usepackage{mathtools, relsize}

                    begin{document}

                    [ mathlarger{ sum}_{substack{Bsubset{1 cdotcdot n}\ |B| = d}},Bigl(smashoperator{prod_{substack{p, qin B \ pne q}}}(alpha_p-alpha_q):smashoperator{ prod_{substack{t in{1 cdotcdot n}\ t notin B }}}(x-alpha_t) Bigr) ]%

                    end{document}


                    enter image description here






                    share|improve this answer













                    I would type it in a slightly different way, to improve the legibility of the formula:



                    documentclass{article}
                    usepackage{mathtools, relsize}

                    begin{document}

                    [ mathlarger{ sum}_{substack{Bsubset{1 cdotcdot n}\ |B| = d}},Bigl(smashoperator{prod_{substack{p, qin B \ pne q}}}(alpha_p-alpha_q):smashoperator{ prod_{substack{t in{1 cdotcdot n}\ t notin B }}}(x-alpha_t) Bigr) ]%

                    end{document}


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 3 hours ago









                    BernardBernard

                    173k776204




                    173k776204























                        3














                        I'd use standard sizes:



                        documentclass{article}
                        usepackage{amsmath,mathtools}

                        newcommand{tprod}{mathop{mathchoice{textstyleprod}{prod}{prod}{prod}}}
                        newcommand{sss}{scriptscriptstyle}

                        begin{document}

                        begin{equation*}
                        sum_{substack{sss Bsubset{1..n}, \ sss lvert Brvert=d}};
                        bigl(
                        smashoperator{tprod_{substack{sss p,qin B, \ sss pneq q}}}
                        (alpha_p-alpha_q)
                        bigr)
                        bigl(
                        smashoperator{tprod_{sss tin{1..n}/B}}
                        (x-alpha_t)
                        bigr)
                        end{equation*}

                        end{document}


                        enter image description here






                        share|improve this answer




























                          3














                          I'd use standard sizes:



                          documentclass{article}
                          usepackage{amsmath,mathtools}

                          newcommand{tprod}{mathop{mathchoice{textstyleprod}{prod}{prod}{prod}}}
                          newcommand{sss}{scriptscriptstyle}

                          begin{document}

                          begin{equation*}
                          sum_{substack{sss Bsubset{1..n}, \ sss lvert Brvert=d}};
                          bigl(
                          smashoperator{tprod_{substack{sss p,qin B, \ sss pneq q}}}
                          (alpha_p-alpha_q)
                          bigr)
                          bigl(
                          smashoperator{tprod_{sss tin{1..n}/B}}
                          (x-alpha_t)
                          bigr)
                          end{equation*}

                          end{document}


                          enter image description here






                          share|improve this answer


























                            3












                            3








                            3







                            I'd use standard sizes:



                            documentclass{article}
                            usepackage{amsmath,mathtools}

                            newcommand{tprod}{mathop{mathchoice{textstyleprod}{prod}{prod}{prod}}}
                            newcommand{sss}{scriptscriptstyle}

                            begin{document}

                            begin{equation*}
                            sum_{substack{sss Bsubset{1..n}, \ sss lvert Brvert=d}};
                            bigl(
                            smashoperator{tprod_{substack{sss p,qin B, \ sss pneq q}}}
                            (alpha_p-alpha_q)
                            bigr)
                            bigl(
                            smashoperator{tprod_{sss tin{1..n}/B}}
                            (x-alpha_t)
                            bigr)
                            end{equation*}

                            end{document}


                            enter image description here






                            share|improve this answer













                            I'd use standard sizes:



                            documentclass{article}
                            usepackage{amsmath,mathtools}

                            newcommand{tprod}{mathop{mathchoice{textstyleprod}{prod}{prod}{prod}}}
                            newcommand{sss}{scriptscriptstyle}

                            begin{document}

                            begin{equation*}
                            sum_{substack{sss Bsubset{1..n}, \ sss lvert Brvert=d}};
                            bigl(
                            smashoperator{tprod_{substack{sss p,qin B, \ sss pneq q}}}
                            (alpha_p-alpha_q)
                            bigr)
                            bigl(
                            smashoperator{tprod_{sss tin{1..n}/B}}
                            (x-alpha_t)
                            bigr)
                            end{equation*}

                            end{document}


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 1 hour ago









                            egregegreg

                            727k8819223231




                            727k8819223231






















                                user3257842 is a new contributor. Be nice, and check out our Code of Conduct.










                                draft saved

                                draft discarded


















                                user3257842 is a new contributor. Be nice, and check out our Code of Conduct.













                                user3257842 is a new contributor. Be nice, and check out our Code of Conduct.












                                user3257842 is a new contributor. Be nice, and check out our Code of Conduct.
















                                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%2f479975%2fhelp-rendering-a-complicated-sum-product-formula%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

                                宮崎県

                                濃尾地震

                                シテ島