I have a document like this:
\documentclass{article}
\begin{document}
\include{sect1}
\include{sect2}
\end{document}
Both files sect1.tex and sect2.tex begin with \section{...}. The output pdf file displays section 1 and section 2 on two different pages even though section 1 only occupies about 10 lines in the first page. Is there any way I can force section 2 to start right after section 1 one the same page?
includeinstead of put them inside the body of the document? I use\includewith big documents such as books and the most of times with chapters not sections. – Aradnix Aug 18 '14 at 01:42\inputinstead of\include.\includeinserts a\clearpage, which creates a pagebreak. – dawu Aug 18 '14 at 01:43