Prevent line-breaking in inline math

I would like to be able to prevent lines from breaking in various inline math expressions; in particular, the following typesetting result is something I am trying to avoid:

Is there an easy way to do this? Thanks!

You could try and see if it works in a horizontal group: Format -> Break -> Horizontal

2 Likes

Thanks, that is working!