# 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

This question was marked as an exact duplicate of an existing question.

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
Please review your previous questions and: 1. Respond to any of the comments, 2. Upvote the answers that were helpful by clicking on the up arrow, and 3. Accepting the ones that were the most helpful in resolving your question. – Peter Grill Apr 9 '12 at 18:22
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
Put curly braces around the part of the equation where you want to suppress breaks. – Ulrike Fischer Apr 9 '12 at 19:07