# How to make sure that $formula$ will be on one line? [duplicate]

So I have code like (sorry for russian):

Если на полуплоскость действует касательное усилие $T=P_{x} \delta (x-c)$, а нормальная нагрузка $N$ отсутствует, тогда на основании соотношений \eqref{eq1}, \eqref{eq2}, получаем:


Which renders like:

So I wonder how to make $T=P_{x} \delta (x-c)$ stay on some line ( one with text top or bottom )?

-

## marked as duplicate by egreg, percusse, David Carlisle, Peter Grill, WernerApr 10 '12 at 22:49

If you put it in an \mbox{} there will be no breaks int he formula. If you want it on its own line and centered thatn use display mode by surrounding it with . –  Peter Grill Apr 9 '12 at 18:20
You can try: \relpenalty=10000\binoppenalty=10000 , see: tex.stackexchange.com/questions/51263/… –  Marco Daniel Apr 9 '12 at 18:30
I try  $\mbox{T=P_{x}\delta(x-c)}$ but it does not compile =( –  user1078642 Apr 9 '12 at 18:50