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?
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?
\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):

\documentclass{article}
\title{Title}\author{Author}
\begin{document}
Some text
{\let\newpage\relax\maketitle}
Some text
\end{document}
\maketitle macro (in the form used above) inserts a 2em vertical skip before setting the title in a center environment. To see this, issue \maketletter\show\@maketitle\makeatother somewhere before calling \maketitle. You can either patch \@maketitle and remove this (with the help of etoolbox), or just issue \vspace{-2em} before the call to \maketitle. See this paste.
– Werner
Oct 24 '15 at 17:52
\title{Naslov Prvog Zadatka} \author{} \date{} \maketitle
and some text after this
but when I compile it, title begins on a new page leaving text on first page..
– Emir Dec 09 '12 at 15:28