I am writing some complicated formulas that involve several layers of fractions.
Example:
\begin{displaymath}
\scalebox{2.5}[3]%
{$
1+\frac{1^2}{2+\frac{3^2}{2+\frac{5^2}{2+\frac{7^2}{2+\frac{9^2}{2+\cdots}}}}}
$}
\end{displaymath}
but the visual result, although readable, could be improved with some white space over all the squared odd terms. How would I achieve that? The vertical scaling of \scalebox
does not help since I guess that the spacing between the fraction line and the exponent under it is too close to zero.