Following some earlier code I've been given, I'm creating macros for meta-data about my papers (such as title, author, etc.). Now I'd like to create my own \thanks macro that should follow the title. Yet in this case the result is simply that the content of \mythanks is printed after the title, instead of creating a footnote. How can I make it produce a footnote instead?
\documentclass{article}
\makeatletter
\newcommand\@mytitle{} % create macro for title
\newcommand\mytitle[1]{\renewcommand\@mytitle{#1}}
\newcommand\@mythanks{\footnote} % create macro for thanks note
\newcommand\mythanks[1]{\renewcommand\@mythanks{#1}}
\newcommand\@myauthor{} % create macro for author
\newcommand\myauthor[1]{\renewcommand\@myauthor{#1}}
\newcommand{\articletitle}{%
\begingroup%
\centering%
\fontsize{18bp}{18bp}\selectfont%
\@mytitle\@mythanks\par%
\vspace{\baselineskip}%
\fontsize{14bp}{14bp}\selectfont%
\@myauthor\par%
\fontsize{12bp}{12bp}\selectfont%
\vspace{2\baselineskip}%
\endgroup}
\makeatother
\mytitle{This is my title}
\mythanks{These are my acknowledgements}
\myauthor{This is the author}
\AtBeginDocument{\articletitle}
\begin{document}
I start writing here
\end{document}



\textsuperscript{}is what you want? – Sigur Aug 30 '15 at 15:19\footnote{\@mythanks}? – Sigur Aug 30 '15 at 15:21\mythanksas this alternative\Footnote. – Sverre Aug 30 '15 at 15:36amsartcontains code for "thanks" footnotes associated with the author. they are unnumbered, but changing that to include a star shouldn't be too problematic. – barbara beeton Aug 30 '15 at 15:51\mythanksbehave as the standard\thanks? I mean, besides giving you a footnote, should it be used inside the\mytitlecommand? – Gonzalo Medina Aug 30 '15 at 16:48\thankscommand inside\title. So I'd prefer to do\mytitle{} \mythanks{} \myauthor{}as above. – Sverre Aug 30 '15 at 16:50