TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I prevent LaTeX from breaking inline formulas globally?
How do I keep a string of text together without it doing a line break?

So I have code like (sorry for russian):

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

Which renders like:

enter image description here

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

share|improve this question

marked as duplicate by egreg, percusse, David Carlisle, Peter Grill, Werner Apr 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