Help rendering a complicated sum/product formula












2















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
    58 mins 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
    52 mins ago











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

    – Kurt
    48 mins ago
















2















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
    58 mins 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
    52 mins ago











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

    – Kurt
    48 mins ago














2












2








2


1






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 28 mins ago









CampanIgnis

2,8342932




2,8342932






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 1 hour ago









user3257842user3257842

132




132




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
    58 mins 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
    52 mins ago











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

    – Kurt
    48 mins ago



















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

    – Kurt
    58 mins 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
    52 mins ago











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

    – Kurt
    48 mins ago

















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

– Kurt
58 mins ago





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

– Kurt
58 mins 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
52 mins 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
52 mins ago













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

– Kurt
48 mins ago





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

– Kurt
48 mins ago










2 Answers
2






active

oldest

votes


















2














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}


enter image description here






share|improve this answer





















  • 1





    Thank you. I'll examine the formula and hopefully be able to make the rest I need myself.

    – user3257842
    46 mins ago











  • @user3257842 You are welcome. Please let us know when are questions left. Please consider to upvote both answers.

    – CampanIgnis
    44 mins ago








  • 1





    I tried to, but my reputation here is currently less than 15. Stackexchange won't allow it.

    – user3257842
    41 mins ago






  • 1





    If you upvote this comment it should probably raise it enough.

    – user3257842
    36 mins ago






  • 1





    yeah. still at 13. Thought that'd work. If I get to 15 I'll upvote both answers.

    – user3257842
    32 mins ago



















1














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























    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

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    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}


    enter image description here






    share|improve this answer





















    • 1





      Thank you. I'll examine the formula and hopefully be able to make the rest I need myself.

      – user3257842
      46 mins ago











    • @user3257842 You are welcome. Please let us know when are questions left. Please consider to upvote both answers.

      – CampanIgnis
      44 mins ago








    • 1





      I tried to, but my reputation here is currently less than 15. Stackexchange won't allow it.

      – user3257842
      41 mins ago






    • 1





      If you upvote this comment it should probably raise it enough.

      – user3257842
      36 mins ago






    • 1





      yeah. still at 13. Thought that'd work. If I get to 15 I'll upvote both answers.

      – user3257842
      32 mins ago
















    2














    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}


    enter image description here






    share|improve this answer





















    • 1





      Thank you. I'll examine the formula and hopefully be able to make the rest I need myself.

      – user3257842
      46 mins ago











    • @user3257842 You are welcome. Please let us know when are questions left. Please consider to upvote both answers.

      – CampanIgnis
      44 mins ago








    • 1





      I tried to, but my reputation here is currently less than 15. Stackexchange won't allow it.

      – user3257842
      41 mins ago






    • 1





      If you upvote this comment it should probably raise it enough.

      – user3257842
      36 mins ago






    • 1





      yeah. still at 13. Thought that'd work. If I get to 15 I'll upvote both answers.

      – user3257842
      32 mins ago














    2












    2








    2







    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}


    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}


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 42 mins ago

























    answered 51 mins ago









    CampanIgnisCampanIgnis

    2,8342932




    2,8342932








    • 1





      Thank you. I'll examine the formula and hopefully be able to make the rest I need myself.

      – user3257842
      46 mins ago











    • @user3257842 You are welcome. Please let us know when are questions left. Please consider to upvote both answers.

      – CampanIgnis
      44 mins ago








    • 1





      I tried to, but my reputation here is currently less than 15. Stackexchange won't allow it.

      – user3257842
      41 mins ago






    • 1





      If you upvote this comment it should probably raise it enough.

      – user3257842
      36 mins ago






    • 1





      yeah. still at 13. Thought that'd work. If I get to 15 I'll upvote both answers.

      – user3257842
      32 mins ago














    • 1





      Thank you. I'll examine the formula and hopefully be able to make the rest I need myself.

      – user3257842
      46 mins ago











    • @user3257842 You are welcome. Please let us know when are questions left. Please consider to upvote both answers.

      – CampanIgnis
      44 mins ago








    • 1





      I tried to, but my reputation here is currently less than 15. Stackexchange won't allow it.

      – user3257842
      41 mins ago






    • 1





      If you upvote this comment it should probably raise it enough.

      – user3257842
      36 mins ago






    • 1





      yeah. still at 13. Thought that'd work. If I get to 15 I'll upvote both answers.

      – user3257842
      32 mins ago








    1




    1





    Thank you. I'll examine the formula and hopefully be able to make the rest I need myself.

    – user3257842
    46 mins ago





    Thank you. I'll examine the formula and hopefully be able to make the rest I need myself.

    – user3257842
    46 mins ago













    @user3257842 You are welcome. Please let us know when are questions left. Please consider to upvote both answers.

    – CampanIgnis
    44 mins ago







    @user3257842 You are welcome. Please let us know when are questions left. Please consider to upvote both answers.

    – CampanIgnis
    44 mins ago






    1




    1





    I tried to, but my reputation here is currently less than 15. Stackexchange won't allow it.

    – user3257842
    41 mins ago





    I tried to, but my reputation here is currently less than 15. Stackexchange won't allow it.

    – user3257842
    41 mins ago




    1




    1





    If you upvote this comment it should probably raise it enough.

    – user3257842
    36 mins ago





    If you upvote this comment it should probably raise it enough.

    – user3257842
    36 mins ago




    1




    1





    yeah. still at 13. Thought that'd work. If I get to 15 I'll upvote both answers.

    – user3257842
    32 mins ago





    yeah. still at 13. Thought that'd work. If I get to 15 I'll upvote both answers.

    – user3257842
    32 mins ago











    1














    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




























      1














      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


























        1












        1








        1







        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 48 mins ago









        BernardBernard

        173k776204




        173k776204






















            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

            Callistus I

            Tabula Rosettana

            How to label and detect the document text images