停止上标影响行距

停止上标影响行距

我想知道是否有办法阻止上标和下标影响行距,任何帮助都将不胜感激。

\documentclass{article}

\newcommand{\ordtext}{Ordinary text to fill several lines. }
\newcommand{\testparagraph}{\noindent
 \ordtext\ordtext\ordtext
 Some math with sub and superscripts:
 $X^{\frac{1}{2}}_ + Y_2 + \frac{1}{2}$.
 \ordtext\ordtext\ordtext
}
\textwidth=2in

\begin{document}

\baselineskip=10pt
\testparagraph
\medskip

\lineskip=0pt
\testparagraph
\medskip

\lineskiplimit=-\maxdimen
\testparagraph

\end{document}

相关内容