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

I have the following code:




I want to customize the date on my paper so that it only says "May 2014" with custom size. How can I do this? I don't have any special packages imported. I'm also using writeLatex. Help is much appreciated.

share|improve this question
Please provide the Minimum (Non)Working Example so that helpers will try to help you without any guessing on what your code is. – Jesse May 25 '14 at 5:43
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Christian Hupfer May 25 '14 at 5:44
I just started using LaTeX today. I don't know what I can show aside from what I grab off the web. I have no MWE as I don't know what to code up for the date. – user65422 May 25 '14 at 5:54
Where should that short date appear? What do you mean by 'custom size'? How could/should others help without starting point? ;-) – Christian Hupfer May 25 '14 at 6:12
up vote 1 down vote accepted

You can use the isodate package:



\title{Your Paper}    



Printing the day is switched off using \printdayoff

If you want to change the font size use something like:



share|improve this answer

Most document classes (article included) provide the \date{<date>} macro which sole purpose is to store <date> in another macro called \@date. The latter is used when the title is made.

While one might think a date is required with \date{<date>} you can include almost anything. As such, a simple solution is just to supply the formatting and date style you want:

\date{{\Large May 2014}}

The internal bracing makes sure that the \Large scope is limited only to the use of \@date (wherever that may be). Typically one would require a \par as well to enforce the \Large fontsize baseline skip to be properly set. However, in a title, such specifics are rarely needed and most likely overridden by other vertical spacing.

share|improve this answer

You can use the following commands to customize your date:

day: \the\day
month: \the\month
year: \the\year

If you want the month displayed as a word instead of the number, you can use the datetime package:



\newdateformat{mydate}{\shortmonthname[\the\month]  \the\year}




You can make it fat or change the fontsize by adding the commands in \newdateformat

\newdateformat{mydate}{\Huge\textbf{\shortmonthname[\the\month]  \the\year}}
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.