title: LaTeX: Avoid the increase of text row height due to inline math
body: <p>In the following example code the height of the second row of text increases due to the presence of the inline math formula:</p>
  
  <pre><code>\documentclass{article}
  \linespread{0.9}
  \begin{document}
  Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
  Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, 
  felis. $A_n^{\{x\}}$ Curabitur dictum gravida mauris. Nam arcu 
  libero, nonummy eget, consectetuer id, vulputate a, magna. 
  \end{document}
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/AxPzO.png" alt="Image"></p>
  
  <p>How can this be avoided without changing the general linespread, so that the height of the second row is identical to that of the other rows?</p>