I'm recieving seemingly random There's no line here to end
errors at different parts in my code. At first I thought they were truly random and that I had some weird configuration error somewhere, but after more thorough investigations I have found that the error occurs when a page break and an extra line break within a paragraph coincide.
For example, if I have a paragraph containing an eqnarray*
environment, and the entire paragraph does not fit on the page (so that the page breaks in the middle of the paragraph, usually between a line of text and the eqnarray*
), I get the error.
Does anyone have any idea why this happens?
eqnarray
, better usealign
of theamsmath
package. You probably have misplaced \\ check if you really need this there. Perhaps show the relevant piece of code.\` before the
eqnarray`? either of those is a bad idea. in fact, it's a bad idea before any display material; in math composition, for good style it is recommended that at least one text line appear at the top of a page before a display, to provide continuity for the reader.