What sort of code should I put in preamble, such that every math fomula (in dolar signs) that is too long to fit in line width (a.k.a. produces Bad Box) start in new line (like putting // before equation) ? Or is it impossible to detect and prevent Bad Box in compiling ?
Share
You could use
\sloppyor\sloppypar, but that will reduce the quality of the line breaks.Take a look here.