wspr / breqn

Automatic line breaking in LaTeX equations
18 stars 2 forks source link

Equation going over equation number #32

Open tizianodb opened 4 years ago

tizianodb commented 4 years ago

Is there a way for the equation breaking before it reaches the equation number box? Usually, it either sends the equation number down (which I really dislike) or it just writes part of the equation on top of the equation number. Am I doing something wrong? Is there a way to set some kind of penalty or margin to avoid this kind of result?

image

\begin{dgroup} \begin{dmath} V^{}\left(\mathbf{s^{}};n^{-},\Phi^{-},h^{},B^{-}\right)=\max{v^{},B^{}}\min{\lambda,\mu,\eta,\tau,\nu}\left{\left[d^{ss}\left(\xi^{D}\right)+\left(1-\alpha\right)\left(\left(zn-\Phi\right)-RB^{-}-\zeta_{}^{\text{resid},ss}\right)\right]+\lambda\left[wh+\left(1-\delta\right)\left(\frac{w}{w^{-}}\right)^{1-\rho}\Phi^{-}-\Phi^{}\right]+\mu\left[(1-\delta)n^{-}+h^{}-n^{}\right]+\eta\left[vq\left(\theta\right)-h^{+}\right]+\tau\left[\zeta^{\text{resid},ss}-d^{ss}\left(\xi^{D}\right)+\alpha\left[\left(zn-\Phi\right)-RB^{-}-\zeta^{\text{resid},ss}\right]+\Delta{B}-vk\right]+\nu\left[\bar{B}-B\right]+\E^{}\beta{V}^{}\left(\mathbf{s^{+}};n^{},\Phi^{},h^{+},B^{}\right)\right} \end{dmath} \begin{dmath} \text{subject to}: \end{dmath} \begin{dmath} \lambda,\mu,\eta,\tau,\nu\geq0 \end{dmath} \end{dgroup}