0
$\begingroup$

Apologies if this has been asked before.

The expression

expr = Defer @ Sum[
 FractionBox[
   z^p
   , p!
   ] FractionBox[
   Sum[k^(p + s), {k, 1, n}]
   , Binomial[p + s, p]
   ]
 , {p, 0, Infinity}
 ]

enter image description here

produces

expr //DisplayForm //TraditionalForm

enter image description here

using DisplayFrom and TraditionalForm (in combination with Defer and HoldForm). Is there a way to force Mathematica to display the second sum in the numerator nicely, similarly to the first sum (i.e. underscript under and on top of the summation).

Thank you for all help.

$\endgroup$
1
$\begingroup$

I think you're looking for the LimitsPositioning suboption to UnderoverscriptBoxOptions. For example:

expr = Defer @ Sum[
    Defer[z^p/p!] Defer[Sum[k^(p+s),{k,1,n}]/Binomial[p+s,p]],
    {p, 0, Infinity}
];

expr //TraditionalForm

enter image description here

Using the LimitsPositioning option:

Style[expr, UnderoverscriptBoxOptions -> {LimitsPositioning -> False}] //TraditionalForm

enter image description here

$\endgroup$
  • $\begingroup$ Thank you Carl, that's exactly what I was looking for. Works fine. Much appreciated. $\endgroup$ – Ohcolowisc Jun 6 '18 at 22:41

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.