# Adding a new page

I have the following title page in LaTeX:

\documentclass{article}

\title{Appendix A: User Manual}

\author{
John Smith\\University XyZ\\Albert Square\\Walford\\NC1 8AE
}

\begin{document}
\maketitle
\end{document}


What is the proper way to add a new page (say for the contents page) and start editing hat new page?

-

## migrated from stackoverflow.comAug 17 '11 at 1:55

This question came from our site for professional and enthusiast programmers.

The easiest way to finish a page (and create a new one) is the \newpage command. This will add enough vertical space to fill the current page, and then add a page break.

\documentclass{article}

\title{Appendix A: User Manual}

\author{
John Smith\\University XyZ\\Albert Square\\Walford\\NC1 8AE
}

\begin{document}
\maketitle
\newpage
\tableofcontents
\newpage
\section{Introduction}
Lorem Ipsum.
\end{document}


But in your case you will have an almost empty first page - in an article you normally don't want a separate title page. Simply put the table of contents (\tableofcontents) on the same page, and then start with the first section:

\documentclass{article}

\title{Appendix A: User Manual}

\author{
John Smith\\University XyZ\\Albert Square\\Walford\\NC1 8AE
}

\begin{document}
\maketitle

\tableofcontents

\section{Introduction}
Lorem Ipsum.

\end{document}


(You will need at least two LaTeX runs to see the full table of contents.)

-
I tried the new page command and it didn't work... –  user559142 Aug 17 '11 at 1:57
What means "didn't work"? Did you get an error message? Was it simply ignored? –  Paŭlo Ebermann Aug 17 '11 at 2:01
@user: Did you also add some text afterwards. TeX will only create a new page when there is something on it. –  Caramdir Aug 17 '11 at 2:01
can you give me some example code I am a complete noob..yes it was ignored –  user559142 Aug 17 '11 at 2:03
@user: with \subsection. Please have a look the Not so short introduction to LaTeX2e or some of the resources listed at tex.stackexchange.com/questions/11/…. –  Caramdir Aug 17 '11 at 2:42