On Tue, 25 Oct 2005, ZAVARISE GIORGIO wrote:

I thought I'd add the stuff below to the wiki, but first I'd like to check 
that it's correct (since I haven't tried it myself).


--------------------------------
Question:
How can I disallow LaTeX to linebreak an inlined math formula?
(This is typically useful for formulas at the end of a line)

Answer:
You can put the formula inside an "mbox" to prevent LaTeX from 
splitting up the formula. The steps can be summarized as follows:

1) Go to math mode (inline formula or display formula)
2) Type \mbox and then a press carriage return or the spacebar
3) The text "\mbox" disappear and a box appears
4) Type the equation inside the box

Note that if you'd like a frame around your equation, you can use "fbox" 
instead of "mbox".
-------------------------


cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


Reply via email to