I use XeLaTeX and while using the breqn package, although it breaks the equations in multiple lines I get badboxes. Why is that happening? The package isn't breaking automatically and correctly the equations? How can I fix it? Also if I load the unicode-math before the breqn I get errors but if I load it after it I get weird results:

This is without the unicode-math and with badboxes:

enter image description here

and this is with the unicode-math and without badboxes:

enter image description here

The code I used is:

\usepackage[top=0.3in, bottom=1.2in, left=0.8in, right=0.8in]{geometry}









f(x) = \sum_{k=0}^{\infty}
= f(c)+f’(c)(x-c) +\frac{f’’(c)}{2!}(x-c)^{2}
+ \frac{f^{(3)}(c)}{3!}(x-c)^{3}+\cdots


Also if I use this code:


e^{jz}=\cos z+j\sin z
\cos z=(1/2)(2\cos z)=(1/2)(2\cos z+j\sin z-j\sin z)=(1/2)(\cos z+j\sin z+\cos z-j\sin z)=(1/2)(e^{jz}+e^{-jz})


enter image description here

it doesn't break the equation at all except if I remove the unicode-math:

enter image description here

One more thing is that in these cases there was plenty of room so there was no need to "break" the equations just yet. Why did it do it anyway? What is going on here?

  • I should have mentioned that I use XeLaTeX. – Adam Apr 18 '14 at 3:29
  • 1
    Some more breqn woes, at tex.stackexchange.com/questions/119811/… – Steven B. Segletes Apr 18 '14 at 4:09
  • 1
    I'm quite certain that breqn doesn't work with unicode-math, because they fight over the same constructions. My own experience tells me that breqn doesn't do what it's supposed to; others may think differently. – egreg Apr 18 '14 at 9:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.