GeneralNew page using \section

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pooley343
Posts: 17
Joined: Mon Oct 20, 2008 2:53 pm

New page using \section

Post by pooley343 »

Does anyone know how you can effectively write

\newpage
\section{new section}

by just saying
\section{new section}

i.e. Assigning a command that automatically creates a page break whenever you create a new section.

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

New page using \section

Post by localghost »

You can put every section into a separate file and include these files with the \include command into the main document.


Best regards
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

New page using \section

Post by Stefan Kottwitz »

Hi,

you could redefine \section like this:

Code: Select all

\let\stdsection\section
\renewcommand\section{\newpage\stdsection}
Stefan
LaTeX.org admin
tbrodbeck
Posts: 1
Joined: Mon Aug 09, 2021 7:24 pm

New page using \section

Post by tbrodbeck »

Stefan Kottwitz wrote:Hi,

you could redefine \section like this:

Code: Select all

\let\stdsection\section
\renewcommand\section{\newpage\stdsection}
Stefan
12 Years later or so - I thank you
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

New page using \section

Post by Stefan Kottwitz »

And we are still supporting LaTeX and the newest developments. :-)

Stefan
LaTeX.org admin
Post Reply