[Tex/LaTex] How to reduce page margins and center text on it

horizontal alignmentmarginsvertical alignment

I need a custom title page, where the margins create a tighter area for the page contents and a title text is centered horizontally and vertically. How do I do that?

By tighter margins I mean margins that differ from my regular document margins (set in the \document command).

Best Answer

You can use the \newgeometry and \restoregeometry commands from the geometry package with a code like this one:

\newgeometry{centering,margin=1.5cm}
\thispagestyle{empty}
\mbox{}\vfill
\begin{center}
  \Huge\bfseries My Lovely Title
\end{center}
\vfill \mbox{}
\restoregeometry

These commands start a new page:

enter image description here

Related Question