Text Formatting\mbox issue

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
rado
Posts: 7
Joined: Fri May 01, 2009 6:42 pm

\mbox issue

Post by rado »

The command

\mbox{...}

simply doesn't work for me. After compiling, there are no errors, but there is simply no box, only the text specified in the brackets, "...", is visible.

Any hints?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

\mbox issue

Post by frabjous »

\mbox{...} isn't supposed to produce a visible box. It's just used to keep its content together so that, e.g., it isn't split at the end of a line, column or page.

Perhaps you meant \fbox{...}?
rado
Posts: 7
Joined: Fri May 01, 2009 6:42 pm

Re: \mbox issue

Post by rado »

Thanks, this was exactly what I was looking for.

I misinterpreted the usage of \mbox.
Post Reply