Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The skeleton of my document is:

\documentclass[11pt]{article}
\usepackage{amsmath,textcomp,amssymb,geometry,graphicx}

\begin{document}
\maketitle

\section*{1.}

\begin{itemize}
\item[(a)]
\item[(b)]
\end{itemize}

\section*{2.}

\begin{itemize}
\item[(a)]
\item[(b)]
\end{itemize}

\section*{3.}

\begin{itemize}
\item[(a)]
\item[(b)]
\end{itemize}

\end{document}

I want each section to be on a separate page. How do I do that?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

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.

share|improve this answer
    
I'm not sure why it's \section*{1.}. I just copied this code from someone... Do I add your code snippet to the preamble? –  Frank Epps Sep 1 '13 at 0:58
1  
@FrankEpps it's a bad style, it disables the latex cross referencing mechanism as latex doesn't "know" the number and of course it means if you edit in a new section you have to renumber the whole document by hand. –  David Carlisle Sep 1 '13 at 1:01
    
@FrankEpps yes adding that to the preamble should work –  David Carlisle Sep 1 '13 at 1:02
add comment

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}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.