Page break after every section
why
\section*{1.}
rather than
\section{}
In LaTeX it's almost always better to let LaTeX do the numbering.
However in either case
\let\oldsection\section
\renewcommand\section{\clearpage\oldsection}
will add the page break.
As shown here
If you place each section into its own file and place all the files into the same folder, you can easily determine whether you would like a page break or not between each by using \include{section file}
or \input{section file}
.
\include{section file}
places a page break after each while \input{section file}
does not.
\documentclass[notitlepage, 12pt]{article}
\begin{document}
\title{Weekly Homework X}
\author{Tony Stark\\
Foundations of Mathematics}
\maketitle
\input{file example 1}
\input{file example 2}
\input{file example 3}
\include{file example 4}
\end{document}
Here's another option using \sectionbreak
from the titlesec
package:
\documentclass[11pt]{article}
\usepackage{titlesec}
\titleclass{\section}{top}
\newcommand\sectionbreak{\clearpage}
\title{Title}
\author{Author}
\begin{document}
\maketitle
\section{Test section one}
\section{Test section two}
\section{Test section three}
\section{Test section four}
\end{document}