Help rendering a complicated sum/product formula
It's supposed to look roughly like this, or at least be semantically equivalent:

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 })$

Any help would be appreciated.
math-mode spacing
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.
add a comment |
It's supposed to look roughly like this, or at least be semantically equivalent:

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 })$

Any help would be appreciated.
math-mode spacing
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
add a comment |
It's supposed to look roughly like this, or at least be semantically equivalent:

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 })$

Any help would be appreciated.
math-mode spacing
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:

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 })$

Any help would be appreciated.
math-mode spacing
math-mode spacing
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.
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
add a comment |
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
add a comment |
3 Answers
3
active
oldest
votes
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.

add a comment |
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}

add a comment |
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}

add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.

add a comment |
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.

add a comment |
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.

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.

edited 1 hour ago
answered 3 hours ago
CampanIgnisCampanIgnis
2,8642932
2,8642932
add a comment |
add a comment |
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}

add a comment |
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}

add a comment |
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}

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}

answered 3 hours ago
BernardBernard
173k776204
173k776204
add a comment |
add a comment |
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}

add a comment |
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}

add a comment |
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}

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}

answered 1 hour ago
egregegreg
727k8819223231
727k8819223231
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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