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.

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'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?

\documentclass{article}

\author{Author, A.}
\title{Alpha}

\begin{document}

\maketitle

Some text.

\end{document}
share|improve this question
up vote 107 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
1  
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 '14 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.
http://tex.stackexchange.com/questions/2760/omitting-the-date-when-using-maketitle/2761
tex.stackexchange.com
crawl=CC-MAIN-2016-07
77732
application/http; msgtype=response
sha1:T55BKI2ILEXHOYUWLIL3NSFAZU6OJX5W
<urn:uuid:f1d2bad6-5c97-41a5-9b02-0b4ba44b361c>
2016-02-12T20:53:29Z
104.16.119.182
sha1:DLRR2I4P2VW5MUSJY3SM2IGFNLN2MCHW
<urn:uuid:d08b8d6c-fba2-44e4-b047-b1ab8bbbab2b>
http://tex.stackexchange.com/questions/2760/omitting-the-date-when-using-maketitle/2761
response
<urn:uuid:ab95adcc-b61a-4186-8068-a4df4385f5da>
robots: classic
hostname: ip-10-236-182-209.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-07
operator: CommonCrawl Admin
description: Wide crawl of the web for February 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf