Following the advice in the answer to this question, I did set a huge negative \lineskiplimit
. However, it turned out that align
got quite upset about this. So my question is: what would you recommend to achieve (at least partially) grid typesetting with amsmath
? By "partially" I mean that I accept not adhering to grid when there are, say, lots of theorem-like environments etc. on a page, but on pages with only text/sections/inline math I'd prefer to have it. I am rather afraid of using any packages for grid typesetting, since in the class I am using I redefined a lot of LaTeX internals (for example, I coded theorems, sections, enumerations from scratch, not even 100% compatibly with pure LaTeX). (I know this is risky, but "though this be madness, yet there's method in't";).)
So now I have a few options.
Redefine align & friends to temporarily set
\lineskiplimit
to 0pt. Not something I'd like to do, obviously.Set
\lineskiplimit
back to 0pt, and\smash
(or display) manually all "too big" formulae.
Currently I am leaning towards 2., but are there any other ideas?
\baselineskip
. If you disable\lineskiplimit
you don't force grid alignment, just force that large rows just stack whatever size they are, if you\smash
large rows then they over-print adjacent rows.\lineskiplimit=-\maxdimen
would do exactly this: give me grid with no displays, and if they appeared, I wouldn't care about the grid on such a page. But it turned out that this setting messed displays completely-hence my question.