1

As mentioned in Intertext vertical spacing, there seems to be some inconsistencies in spacing around AMS’ macro \intertext, even without changing the length of \jot. But if I’m using a longer \jot to get mor space between equations in array, the problem gets a real problem.

This is an example showing the problem:

\documentclass[11pt,fleqn,ngerman,DIV=8]{scrartcl}
\usepackage{lmodern}

\usepackage{amsmath}
\setlength{\jot}{2\baselineskip}

\begin{document}
Text Text Text Text Text Text Text Text Text Text Text 
\begin{equation}
    m\cdot a\cdot t\cdot h = 0
\end{equation}
Text Text Text Text Text Text Text Text Text Text Text
\begin{align}
    m &= 0\\
\intertext{Intertext Intertext Intertext Intertext Intertext}
    a &= t\cdot h/2
\end{align}
Text Text Text Text Text Text Text Text Text Text Text
\begin{align}
    (a+b)^2 &\neq \left(a^2+b^2\right)\cdot\left(a^2+b^2\right)\\
    &=\left(a^2+2ab+b^2\right)
\end{align}
\end{document}

Does anybody know how to get exactly the same spacing with \intertext as without it?

David Carlisle
  • 757,742
Tobi
  • 56,353

1 Answers1

2

I’m sorry … a few minutes after asking I’ve fount the solution via Google: Here one can find a package called amsmath1 which fixes the spacing problem :-)

Shall I send a bug report to AMS?

Tobi
  • 56,353
  • 3
    no, report it to the maintainer of mathtools so it can be fixed there. amsmath is frozen, and fixing the bug there would break a lot of existing documents. – Philipp May 29 '11 at 12:28
  • @Phillipp: But then I have to load mathtoolsadditionally, right? Does it work together with the AMS packages? – Tobi May 29 '11 at 14:02
  • … by now i noticed that mathtools loads amsmath so I can replace it :-) – Tobi May 30 '11 at 21:48
  • … and I sent an e-mail to the maintainers of mathtools (Why can’t I edit my last comments?) – Tobi May 30 '11 at 22:03
  • 1
    Update: The developers of mathtools fixed it an it shall be available in the next release this summer. (@Philipp) – Tobi Jun 10 '11 at 09:01