Open kpeeters opened 8 years ago
Thanks for the example. Your report hasn’t gone unnoticed, but I’m afraid I have very little time at present to look at the internals of breqn… the reason for the error is no doubt because the package has to construct some very large boxes to explore breaking the equation; whether that’s easily fixable is another question. Your idea of scaling down the equation might be an okay workaround internally for finding linebreaks…
I know that it does not work at the moment, but,
Is it possible to make it work with the command \allowdisplaybreaks
?
The attached dim_too_large_mwe.txt document (sorry, had to give it a .txt extension to enable uploading) with a largish expression produces a
error. It fits on the page though, so it should not really have done that. Changing the font size to 10pt makes the error go away, but that does not happen in all cases, and I have seen examples where neither 10pt nor 11pt nor 12pt does the trick.
This seems to be the same problem as reported on stackexchange at http://tex.stackexchange.com/questions/219037/ but it did not get an answer there.
I have not been able to reproduce this with substantially smaller expressions, unfortunately, but am able to generate other examples that trigger the bug relatively easily.