6

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:

$\sum\limits_{B\subset\{1..m\},|B|=d}(\prod\limits_{p,q\in B,\hspace{0.1cm}p\neq q })$

enter image description here

Any help would be appreciated.

  • The code for my attempt would be $\sum\limits_{B\subset\{1..m\},|B|=d}(\prod\limits_{p,q\in B,\hspace{0.1cm}p\neq 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 Mar 17 at 19:39
  • 1
    Please add the code you tried to your question, there it is better readable. – Mensch Mar 17 at 19:43
6

Perhaps you could start with this:

\documentclass{article}
\usepackage{amsmath,relsize}

\begin{document}

\begin{align*}
    \mathlarger{\mathlarger{\mathlarger\sum}}_
        {\substack{B\subset\{1..n\},\\\lvert B\rvert=d}} 
        \Bigl(\prod_
            {\substack{p,q\in B,\\p\neq q}}
            (\alpha_p-\alpha_q)\Bigr)
        \Bigl(\kern-2ex\prod_
            {t\in\{1..n\}\slash B}\kern-2ex
            (x-\alpha_t)\Bigr)
\end{align*}

\end{document}

I tried to replicate it.

enter image description here

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{B\subset\{1 \cdot\cdot n\}\\ |B| = d}}\,\Bigl(\smashoperator{\prod_{\substack{p, q\in B \\ p\ne q}}}(\alpha_p-\alpha_q)\:\smashoperator{ \prod_{\substack{t \in\{1 \cdot\cdot n\}\\ t \notin B }}}(x-\alpha_t) \Bigr) \]%

\end{document} 

enter image description here

4

I'd use standard sizes:

\documentclass{article}
\usepackage{amsmath,mathtools}

\newcommand{\tprod}{\mathop{\mathchoice{\textstyle\prod}{\prod}{\prod}{\prod}}}
\newcommand{\sss}{\scriptscriptstyle}

\begin{document}

\begin{equation*}
\sum_{\substack{\sss B\subset\{1..n\}, \\ \sss \lvert B\rvert=d}}\;
  \bigl(
    \smashoperator{\tprod_{\substack{\sss p,q\in B, \\ \sss p\neq q}}}
    (\alpha_p-\alpha_q)
  \bigr)
  \bigl(
    \smashoperator{\tprod_{\sss t\in\{1..n\}/B}}
    (x-\alpha_t)
  \bigr)
\end{equation*}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.