[Tex/LaTex] \maketitle text before title

page-breakingtitles

I want my page to look something like this (using \documentclass{article}):

text

title

text

but I can't get it right, it puts my title on the next page leaving my first text paragraph on separate page. What should I do?

Best Answer

\maketitle inserts a \newpage since the title is usually meant to be displayed at the top of the page. To avoid this, you can make \newpage a "no-op":

{\let\newpage\relax\maketitle}

Placing it inside a group {} makes the change local. Here's a quick view on what the outcome of this modification is using a minimal working example (MWE):

enter image description here

\documentclass{article}
\title{Title}\author{Author}
\begin{document}
Some text

{\let\newpage\relax\maketitle}

Some text
\end{document}