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

This question asks how to align titlepage elements to the right. I was trying out a possible an answer to it when to my surprise, my solution almost worked. (I was expecting success or abject failure.) The code



sets the title and date flush right as I'd hoped. However, 'Author' is set centred, as though I'd not put in the \hfill at all. This surprised me---I'd have expected my idea to work for all three fields of the title page or none.

Why does \author behave differently in conjunction with \hfill in \maketitle than do \title and \date?

share|improve this question
up vote 7 down vote accepted

The default \maketitle command puts the author field inside a centered tabular environment, but not the title or date. Don’t ask me why. You can customize the command with the titling package. See this thread for info on using it to right-align a title.

share|improve this answer
Well, that's odd. Thanks. (The question that you linked to is the one that caused me to stumble on the behaviour---I linked to it in my question.) – vanden Aug 7 '10 at 5:04
Tabular environment? Eewww- that's like table-based design on websites – Sharpie Aug 7 '10 at 5:38
Well, its the best way to get the layout that the standard author field results in – Joseph Wright Aug 7 '10 at 5:47
In the argument of \author, two ore more authors are separated by the \and command - therefore the use the tabular environment. (Although there may be better solutions to acchieve the desired layout.) – lockstep Aug 7 '10 at 10:17

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.