This answer uses the titling
package to set things up. The first part answers the original question which had the title split across the first two pages. The second part answers the secondary question raised in the comments responding to Harish Kumar's answer.
Part I
This uses \maketitle
twice with different settings, restoring the defaults in between using a new command, \restoredefaults
:
\documentclass{article}\usepackage{titling}\newcommand{\restoredefaults}{% \pretitle{\begin{center}\LARGE} \posttitle{\par\end{center}\vskip 0.5em} \preauthor{\begin{center} \large \lineskip 0.5em% \begin{tabular}[t]{c}} \postauthor{\end{tabular}\par\end{center}} \predate{\begin{center}\large} \postdate{\par\end{center}}}\begin{document} \pretitle{\large\centering} \posttitle{\par} \preauthor{\large\centering} \postauthor{\par} \predate{\large\centering} \postdate{\par} \title{for the purpose} \author{My Report} \maketitle \newpage \restoredefaults \title{Some title} \author{My Name} \date{}% for empty date with \maketitle \maketitle \thispagestyle{empty} \clearpage \tableofcontents \clearpage\end{document}
Part II
The following solution uses the \maketitlehooka
facility from \titling
and sets up two new commands \purpose{}
and \preliminarytitle{}
to hold the relevant information. Each takes one mandatory argument. Today's date is hard-coded although you could obviously change that if you wished.
\documentclass{article}\usepackage{titling}\newcommand{\purpose}[1]{% \renewcommand{\docpurpose}{#1}}\newcommand{\prelimtitle}[1]{% \renewcommand{\docprelimtitle}{#1}}\newcommand{\docpurpose}{}\newcommand{\docprelimtitle}{}\renewcommand{\maketitlehooka}{% \centering \large \docpurpose\par \docprelimtitle\par \today\par}\begin{document} \purpose{for the purpose} \prelimtitle{My Report} \title{Some title} \author{My Name} \date{}% for empty date with \maketitle \maketitle \thispagestyle{empty} \clearpage \tableofcontents \clearpage\end{document}
If you would prefer the additional information to be further above the remainder of the title, set the length \droptitle
to an appropriate value.