TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 8 down vote accepted

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

share|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
@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 posting your answer, you agree to the privacy policy and terms of service.

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