I'm writing up a long paper, in which in prose I have various equations. However, I do not want a line break to occur within the equation - I want the equation to stick together. I want to do this without displaying the equation, though. Is there a way to do this?
Anything you enclose within an
For long equations rather use the
I use a solution to this problem that cannot be used always. Once I finish my work, I go thru the "almost-final" version of the whole paper and when an inappropriate break appears (inside equation, stupidly-broken name/date/... that does not look good in my opinion), I rephrase the text so that this piece appears in the middle of the line. Actually, you have to do the very same thing with overfull
Of course this needs you to be the author (of to have the author's permission to do small modifications) and it might be against the idea of TeX/LaTeX in someone's opinion (the idea is that you shouldn't have to do such things manually).
Edit / Added:
You can decide to enclose your math into