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

Consider the following two LaTeX source files:

First, manually producing a title using a new environment (eww):

\begin{mytitle}This is a test document\end{mytitle}

Secondly, redefining \maketitle using the titling package:

\title{This is a test document}

Why does the second "proper" solution give substantially more vertical whitespace before the title? What can I do about it?

[ Context: I am turning a horrible "let's pretend LaTeX is a word processor" TeX template for a conference into a proper class, and I need to match the spacing. ]

share|improve this question
Does just deleting the empty pre and post commands have an effect? – Seamus Jul 13 '11 at 17:06
up vote 7 down vote accepted

The titling package defines a length \droptitle which needs to be set to a negative value to move it up. Adding


to your second example will give you the same result.

By the way, you should use \bfseries instead of \bf (see Will two-letter font style commands (\bf , \it , …) ever be resurrected in LaTeX?) and use \vspace{1.5ex} instead of \\[1.5ex]

share|improve this answer
Thank you for your excellent answer. – Peter Brett Jul 13 '11 at 17:30

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.