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.

Could anyone tell me why the date is not being shown in the title of my document. The document class is proc. If I remove \date{\today} my title moves down a return, but no date is displayed when I leave it in.

\title{Title}
\author{Me\\
        Email\\}
\date{\today}
\maketitle
share|improve this question

migrated from stackoverflow.com Jan 31 '11 at 18:41

This question came from our site for professional and enthusiast programmers.

1 Answer 1

This may be due to the definition of \maketitle not containing date. So, you might want to check out where you have \def\@maketitle (it may be in your style file/document class). After finding the definition, you can insert date into it.

The proc document class doesn’t typeset the date in \maketitle:

\def\@maketitle{%
  \vbox to 2.25in{%
    \hsize\textwidth
    \linewidth\hsize
    \vfil
    \centering
    {\LARGE \@title \par}
    \vskip 2em
    {\large \begin{tabular}[t]{c}\@author \end{tabular}\par}
    \vfil}}

Contrast it with the article document class:

\def\@maketitle{%
  \newpage
  \null
  \vskip 2em%
  \begin{center}%
  \let \footnote \thanks
    {\LARGE \@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \@author
      \end{tabular}\par}%
    \vskip 1em%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
    {\large \@date}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \end{center}%
  \par
  \vskip 1.5em}
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.