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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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