I have a text with lots of sums where the sub/superscripts are pretty long, as in
$\displaystyle\sum_{ k=1+min\{a-1,b-1\}}^{ max\{a-1,b-1\} } i_k$
and when I compile the text gets very ugly, since the size of the superscripts drag the $i_k$ part far to the right, not counting the whole empty space it creates between the sum itself...
I am trying to find a way to countour the situation, but writing
$\displaystyle \sum_{{\tiny k=1+min\{a-1,b-1\}}}^{{\tiny max\{a-1,b-1\}}}i_k$
doesn't seem to be doing anything... Is there a way to reduce the font size so that it fits exactly in the length of the sum symbol?
Edit: minimal working example with normal and tiny (the $i_k$ is tossed all the way to the right due to the length of the sub/superscripts)
\documentclass[12pt,a4paper]{report}
\usepackage{amsmath}
\begin{document}
$\displaystyle \sum_{k=1+min{a-1,b-1}}^{max{a-1,b-1}}i_k$ \\
$\displaystyle \sum_{{\tiny k=1+min{a-1,b-1}}}^{{\tiny max{a-1,b-1}}}i_k$ \\
\end{document}
\tiny
are for text mode. Could you please post a minimal compilable code?\documentclass{...}
and ending with\end{document}
.$\displaystyle
which by definition is forcing a display style that is too large for inline text mode math.