Compiling the MWE below, you will observe in the output the following phenomenon (you may have to zoom in):
- Comment
amsmathout. Then, the spacing beteen lines is such that the subindex of the first line is not too close to the superindex of the second line, whatever the settings ofsetstretch. - Now, load
amsmath. Then, for\setstretch{1.0}and\setstretch{1.05}line spacing is again automatically adjusted so as to ensure that subindices of the first line do not get too close to superindices of the second line. BUT with\setstretch{1.15}the subindex of the first line almost overlaps the superindex of the second line.
Hope it's clear what I mean.
\documentclass{article}
\usepackage{setspace}\setstretch{1.0}
%\usepackage{setspace}\setstretch{1.05}
\usepackage{setspace}\setstretch{1.15}
%\usepackage{amsmath}
\begin{document}
XXXXXXXXXXXX $\Omega^{(\alpha,N)}_{\textup{brannnnnnnn}}$ XXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXX $\Omega^{(\alpha,N)}_{\textup{bran}}$ XXXXXXXXXXXXXXXXXXXXXXXXX
\end{document}
Am I having hallucinations or is there a strange behaviour?
PS: There are no such problems with the following code:
\documentclass{article}
%\usepackage{setspace}\setstretch{1.0}
%\usepackage{setspace}\setstretch{1.05}
\usepackage{setspace}\setstretch{1.15}
\usepackage{amsmath}
\begin{document}
XXXXXXXXXXXX $\Omega^{(\alpha,N)}_{\textup{bran}}$ XXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXX $\Omega^{N^{N^{N^N}}}_{\textup{bran}}$ XXXXXXXXXXXXXXXXXXXXXXXXX
\end{document}
amsmath,\lineskip` is used because the lines are too near to each other. This doesn't happen withamsmaththat changes the behavior of\textup. – egreg Aug 15 '12 at 14:43