<div>I have written documents with LaTeX long time ago and at that time I put prime over a summation like</div>
<div> </div>
<div>$$\sum_{k=1}^{\infty}\!\strut&#39;$$</div>
<div> </div>
<div>in many differetn types they all look same with no spacing problem. I am sure that I did not use any adjustment comend like \! \strut etc.</div>
<div> </div>
<div>I feel like it might be the case if there is a special comend to type the derivate. It might work out if it is the case.</div>
<div> </div>
<div>I am pretty sure there must be a way to type it normally, since all wrote before look perfect with no space problem.</div>