LaTeX Wiki

The \mbox{} command puts its content inside an invisible box. The content is typeset in LR mode so it is not broken into lines. This command is commonly used to prevent hyphenation.

The \mbox command is robust, while \makebox is fragile and supports optional paramters for changing the box's width and the alignment of the content.