[Tex/LaTex] Order of `\thanks`, `\footnote` and AAAI copyright notice

footnotes

The order of \thanks, \footnote and AAAI copyright notice is pretty strange: AAAI copyright notice is in the middle of \thanks and \footnote. How can I solve it by pushing AAAI copyright notice down to the bottom, or up to the footnote line?

An example:

\def\year{2017}\relax
\documentclass[letterpaper]{article}
\usepackage{aaai17}  %Required
\usepackage{times}  %Required
\usepackage{helvet}  %Required
\usepackage{courier}  %Required
\usepackage{url}  %Required
\usepackage{graphicx}  %Required
\frenchspacing  %Required
\setlength{\pdfpagewidth}{8.5in}  %Required
\setlength{\pdfpageheight}{11in}  %Required

\setcounter{secnumdepth}{0}

\title{My title\thanks{Thanks}}
\author{}


\begin{document}

\maketitle

Some texts with footnotes\footnote{Footnote}.

\end{document}

example

Best Answer

The aaai17.sty referenced in this answer was taken from Github. If there are any issues with copyright etc., let me know and I will take the answer down. Quoted verbatim from the .sty file (all credits to authors of the sty file):

% WARNING: IF YOU ARE USING THIS STYLE SHEET FOR AN AAAI PUBLICATION, YOU
% MAY NOT MODIFY IT FOR ANY REASON. MODIFICATIONS (IN YOUR SOURCE 
% OR IN THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER).
%
% NOTICE: DO NOT MODIFY THIS FILE WITHOUT CHANGING ITS NAME. 
% This style file is called aaai17.sty. Modifications to this file are permitted,
% provided that your modified version does not include the acronym "aaai"
% in its name, that credit to the authors and supporting agencies is
% retained, and that further modification or reuse is not restricted.

The issue here is that the copyright line is printed during \maketitle, which is why it appears after your \thanks and before \footnote. My approach here is to use \renewcommand to turn off printing of the copyright line during \maketitle and to add it in at the end of the document.

\documentclass[letterpaper]{article}
\usepackage{aaai17}  %Required
\usepackage{times}  %Required
\usepackage{helvet}  %Required
\usepackage{courier}  %Required
\usepackage{url}  %Required
\usepackage{graphicx}  %Required
\frenchspacing  %Required
\setlength{\pdfpagewidth}{8.5in}  %Required
\setlength{\pdfpageheight}{11in}  %Required

\setcounter{secnumdepth}{0}

\title{My title\thanks{Thanks}}
\makeatletter% <-------------------
    \renewcommand{\copyright@on}{F}
    \AtEndDocument{%
        \insert\footins{\noindent\footnotesize\copyright@text}%
    }
\makeatother

\begin{document}
    \maketitle
    Some texts with footnotes\footnote{Footnote}.
\end{document}

pic

I note here that you should probably check with AAAI if you intend to use this for publication, as the instructions in the style file clearly states no modifications to the source file is allowed.