force newpage latex code example

Example 1: latex include without new page

\include always uses \clearpage, a not entirely sensible default. 
It is intended for entire chapters, not for subsections.

You can fix it either by using \input{filename} or loading the "newclude" package 
and writing \include*{filename} instead.

Example 2: latex chapter no new page

\documentclass{report}
\begin{document}

\chapter{foo}
% wrap with "{...}" are important here, else it wrokes the rest of the document
{\let\clearpage\relax \chapter{bar}}
\chapter{baz}
\end{document}

Tags:

Misc Example