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

My document has a long title, so I want the title spans two lines.

I've use this:

\title{my title that must be in two or more lines}

but it doesn't work. How can I get it done?

share|improve this question

migrated from stackoverflow.com May 17 '12 at 12:09

This question came from our site for professional and enthusiast programmers.

possible duplicate of How do I put multiple lines in a title? – Werner May 17 '12 at 15:51
I don't think this is a duplicate -- the other question is about the apa6 class and its somewhat peculiar titles behaviour. – lockstep May 17 '12 at 17:52
@Werner I agree with lockstep – egreg May 17 '12 at 22:01
All: I've edited the other question to highlight that it is focussed on APA6, which is then distinct from this general question. – Joseph Wright May 18 '12 at 6:22
up vote 15 down vote accepted

Use the double backslash:

\title{First line of title \\
Second line of title}\maketitle
share|improve this answer

Use the line break operator \\.

share|improve this answer

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.