Line numbering produces large gaps between equations #152
Labels
bug
bug; something to be fixed in AASTeX
linenumbers
package collision
when aastex6+ and a random other package collide
The lineno package does not play nice with the amsmath package. This is a known problem but it can produce interesting effects in AASTeX v6.3.1. You first might notice that the latex compiler will issue a compatibility warning but you should be able to force through that message. If the resulting pdf has very large gaps between equations when the "linenumbers" style option is used you will want to try this fix.
Do NOT use the "linenumbers" style option. This is because AASTeX calls lineno with the displaymath argument which is the root problem.
Instead, call lineno directly. After the \usepackage{amsmath} call put in this:
\usepackage{lineno}
\linenumbers
This will remove the odd spacings around the equations. You will note that the equations are not numbered but that is not important for AAS Journals peer review.
The text was updated successfully, but these errors were encountered: