Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the \author and \title commands to produce a title with \maketitle. I also know that there is a \date command to specify the date of my work. However, if I omit \date, \maketitle will produce the current date. How do I achieve that no date is displayed at all?

share|improve this question

2 Answers 2

up vote 64 down vote accepted

If you want a blank date, just use \date{}.

If you want to remove the spacing altogether where the date usually goes, look into using the titling package, or else the mechanisms provided by your document class, depending on what it is.

share|improve this answer
    
If I use \date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed. –  lockstep Sep 5 '10 at 16:24
    
@lockstep long time post, but testing today (with TexStudio), the \date{} it works fine. –  Tom Brito Dec 8 '12 at 23:56
4  
For future reference: if you want to use the titling package to remove space, you can do \predate{} and \postdate{} and then \date{} (as above). The same can be done for author (\preauthor{}, \postauthor{}, and \author{}) and title. To remove the space after the title line itself, do \posttitle{\par\end{center}}, which is the same as the default posttitle except with the \vskip 0.5em omitted (see texdoc titling, page 2). –  Reid Feb 24 at 13:52

For a cheap and easy solution to removing the spacing without delving into the titling package that frabjous mentions, try:

\documentclass{article}

\author{Me}
\title{Foo}
\date{\vspace{-5ex}}
%\date{}  % Toggle commenting to test

\begin{document}

\maketitle

Bar

\end{document}
share|improve this answer

Your Answer

 
discard

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.