Here's a minimal LaTeX code showing my troubles:
\documentclass[11pt,letterpaper,twoside]{book}
\usepackage{lmodern}
\usepackage{amsmath}
%\setlength{\jot}{\baselineskip}
\begin{document}
Blabla:
\begin{gather}
x^2 - \frac{1}{2} \, x = 3, \\
\frac{a^2}{b^3} \, y + 2 x \, y = y^2, \\
a - b = c.
\end{gather}
Bla:
\begin{gather}
x^2 - \frac{1}{2} \, x = 3, \\[11pt]
\frac{a^2}{b^3} \, y + 2 x \, y = y^2, \\[11pt]
a - b = c.
\end{gather}
Blabla:
\begin{gather}
x^2 - \frac{1}{2} \, x = 3, \\[1ex]
\frac{a^2}{b^3} \, y + 2 x \, y = y^2, \\[1ex]
a - b = c.
\end{gather}
\end{document}
Here's a preview of what that code is doing. I've shown in red what I dislike:
As you can see from the equation numbers on this preview, the vertical spacing is variable, and I hate that! The global display is really ugly!!
I would like to define some small macros to replace \\ and \\[11pt] and the likes to something that would adjust with the font size (11pt here), and that makes the vertical spacing between the equal sign to be the same. I don't want LaTeX to make variable vertical spacings between equations. Is that possible?
To solve the issue before, I was using some dirty hack: smash all the offending fractions and summation signs in equations and use \\[11pt], or \\[22pt] to adjust the spacing according to the equations. Or I could add a vphantom{\frac{}{}} of some fraction to get something similar to the other equations. This is certainly not a good way of doing things in LaTeX!


=signs aren't aligned, you should be usingalignrather thangather. – barbara beeton Jun 05 '22 at 14:35