# amsart maketitle problem

I am editing a paper using amsart documentclass. However, the

\maketitle


command does not give me the author and abstract. My codes are here:

\documentclass[12pt]{amsart}
\usepackage{amsmath,amsfonts,amssymb,amsthm,latexsym}
\usepackage{enumerate}
\usepackage{cancel}
\usepackage{color}
\usepackage{todonotes}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{titling}
\usepackage{verbatim}

\begin{document}
\title{MyTitle}
\author{MyAuthor}
\begin{abstract}
MyAbstract
\end{abstract}

\maketitle
Text
\end{document}


And the resulting file only have "MyTitle" as title and "Text" as text. Author and abstract information are missing.

-
Remove the titling package. I don't know why this is an issue (yet), but that's the problem. (Also, as a matter of style, I would put the metadata (title/author) before \begin{document}, and I would put \maketitle before your abstract. Edit: it appears to be a package conflict and not a problem with titling itself. –  Sean Allred Aug 26 '13 at 0:08
@SeanAllred the amsart.tex template recommends abstract before \maketitle. –  Gonzalo Medina Aug 26 '13 at 0:17
@GonzaloMedina I stand corrected -- good to know! –  Sean Allred Aug 26 '13 at 0:18
@SeanAllred you should turn your comment into an answer. –  Gonzalo Medina Aug 26 '13 at 0:40
@SeanAllred Your suggestion works! The problem is solved after I removed the titling package. Thanks. –  Misaka_Mikoto Aug 26 '13 at 1:03

While I still can't pinpoint the source of the problem, removing the titling package resolves the issue. It appears to be a package clash, but with what—I do not know yet.
The titling package redefines \maketitle, so all amsart would do with it is forgotten. In particular the abstract vanishes (titling doesn't know about printing it) and also the authors, because amsart doesn't use \@author as the internal container. –  egreg Aug 26 '13 at 9:05