[Tex/LaTex] How to display date information in document class “amsproc”

amsprocdatetime

I tried to display the date information by the command \date{June, 2013} in document class "amsproc", but failed. How to fix this problem?

Here is my LaTeX code:

\documentclass{amsproc}

\begin{document}

\title{This is a title}

%    Remove any unused author tags.

%    author one information
\author{Shan Zhang}
\address{Department of Economics, University of Pennsylvania}
\curraddr{Philidelphia, PA}
\email{szhang@upenn.edu}
\thanks{This is thanks 1}

%    author two information
\author{Si Li}
\address{Department of Economics, UToronto}
\curraddr{Toronto}
\email{sili@utoronto.edu}
\thanks{This is thanks 2}

\date{June, 2013}

\dedicatory{To our families}

\begin{abstract}
This is abstract.
\end{abstract}

\maketitle

\section{Section 1}

Let's do section 1.

\end{document}

Best Answer

The amsart class prints the date in the footnote before the thanks. Maybe you could just switch to using the amsart class.

Or you can adopt its definition of the respective macro \@adminfootnotes for use with amsproc. The definitions in amsproc and amsart differ only in the line concerning the date:

\documentclass{amsproc}
\makeatletter
\def\@adminfootnotes{%
  \let\@makefnmark\relax  \let\@thefnmark\relax
  \ifx\@empty\@date\else \@footnotetext{\@setdate}\fi%%   <------ added
  \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
  \ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
  \ifx\@empty\thankses\else \@footnotetext{%
    \def\par{\let\par\@par}\@setthanks}%
  \fi
}
\makeatother

\begin{document}

\title{This is a title}

%    author one information
\author{Shan Zhang}
\address{Department of Economics, University of Pennsylvania}
\curraddr{Philidelphia, PA}
\email{szhang@upenn.edu}
\thanks{This is thanks 1}

%    author two information
\author{Si Li}
\address{Department of Economics, UToronto}
\curraddr{Toronto}
\email{sili@utoronto.edu}
\thanks{This is thanks 2}

\date{June, 2013}

\dedicatory{To our families}

\begin{abstract}
This is abstract.
\end{abstract}

\maketitle

\section{Section 1}

Let's do section 1.

\end{document}

enter image description here

Depending on your use case you must redefine \@maketitle to include your date somewhere, or use e.g. \patchcmd from the etoolbox package to change a part of the macro.