0

When I apply the following code, I have a page break between the \section{*} and the \include{chapters/*.tex} (the chapters are composed of subsection). I would like to have no page break between the section title and the subsection title.

\documentclass{article}

\usepackage{hcmut-report} \usepackage{codespace} \usepackage{xcolor,amsmath,amssymb,gensymb,textcomp} \usepackage{array,multicol,multirow,siunitx,tabularx} \usepackage{enumitem} \usepackage{caption,float} \usepackage[export]{adjustbox} \usepackage{mwe}

% Custom commands % Remove if unneeded \newcommand*\mean[1]{\bar{#1}}

\ocoursename{} \oreporttype{} \title{} \oauteurs{} \reportlayout%

\begin{document}

\coverpage%

\tableofcontents \listoffigures \listoftables \newpage \section{Site d'étude} \include{chapters/Site.tex} \section{Hydrologie} \include{chapters/Hydrologie.tex}

\bibliographystyle{plain} \bibliography{refs} \nocite{*}

\end{document}

I have also a cover page, but I guess it is not necessary to add the code here.

David Carlisle
  • 757,742
C. Guff
  • 135

0 Answers0