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

I haven't had this problem before so I'm not quite sure what's happening, but my title is running off to the right side of the page. This is my code:

\usepackage[top=2cm, bottom=1.3cm, left=2cm, right=2cm]{geometry}

\title{\vspace{0.9in}\underline{Chapter 13 - Chromosomal Rearrangements \& Changes in Chromosome Number}}

%some text


Is my title too long or is there a genuine problem with my code? I don't think the title length is a factor as it should then just go to the next line. I would really appreciate any help. Thanks in advance!

share|improve this question
up vote 10 down vote accepted

\underline doesn't admit line breaks; you could use \uline from the ulem package instead. Load the package in the preamble:


(normalem will prevent \emph commands from showing up as underlined instead of as italics) and then:

\uline{Chapter 13 - Chromosomal Rearrangements \& Changes in Chromosome Number}}
share|improve this answer
Thanks, that worked like a charm! – Halime Mar 29 '11 at 2:53
Make sure you load ulem with the [normalem] option, otherwise your \emph commands will show up as underlined instead of italics. – Alan Munn Mar 29 '11 at 3:04
@Alan Munn: Thanks. I was about to add that to my answer. I'll do it anyway. – Gonzalo Medina Mar 29 '11 at 3:12
& Alan Munn: Although I don't really use \emph for italics (I use \textit instead), thanks for letting me know! – Halime Mar 29 '11 at 22:14

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.