How can I vertically center the text on a title page ?
My MWE :
\documentclass[]{article}
\title{Project Title}
\date{2016-31-01}
\author{Author Name}
\begin{document}
\pagenumbering{gobble}
\maketitle
\end{document}
How can I vertically center the text on a title page ?
My MWE :
\documentclass[]{article}
\title{Project Title}
\date{2016-31-01}
\author{Author Name}
\begin{document}
\pagenumbering{gobble}
\maketitle
\end{document}
You can do that with the titling package:
\documentclass[]{article}
\title{Project Title}
\date{2016-31-01}
\author{Author Name}
\usepackage[showframe]{geometry}
\usepackage{titling}
\renewcommand\maketitlehooka{\null\mbox{}\vfill}
\renewcommand\maketitlehookd{\vfill\null}
\begin{document}
\begin{titlingpage}
\maketitle
\end{titlingpage}
\end{document}
graphicx package used ?
– stark
Jan 31 '16 at 22:59
amsymb. It's removed from the code now.
– Bernard
Jan 31 '16 at 23:02
\includegraphics[width=4cm]{sendak.jpg} \vfill PUBLISHING HOUSE}
– stark
Jan 31 '16 at 23:04
I know some time has passed, but there is a simpler solution. You just need to use "titlepage" in the documentclass:
\documentclass[titlepage]{article}
\begin{document}
\begin{titlepage}
\title{test}
\author{testauthor}
\maketitle
\end{titlepage}
\end{document}