We have several group members whose names should be on the title slide of a Beamer document. However, when I put something like this:

\author{Person A \and Person B \and Person C \and Person D \and Person E}

Person C's name will be broken across two lines.

How can I prevent this from happening?


Box the person's name using \mbox{Person C} (or \hbox{...}). Here's a little example:

enter image description here

\author{Dude Azerbaijan \and Dude Bangkok \and Dude Canada 
\and Dude Denmark \and Dude Ethiopia \and Dude France}

If you now use \mbox{Dude Denmark}, the result is:

enter image description here

| improve this answer | |
  • Is there an advantage of using mbox over a unbreakable space ~? An if yes what is it? – bloodworks Apr 15 '12 at 12:00
  • 1
    @bloodworks: In this case I don't think so. \mbox will keep the entire box together, while an unbreakable space ~ might cause hyphenation in the names (thereby breaking the name yet again, just in a different place). – Werner Apr 15 '12 at 14:24
  • Great, this works just fine. – Tianxiang Xiong Apr 15 '12 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.