for a summary of a lecture that I am preparing for myself, I'd like to copy the lecture's script's formatting, meaning cloning its page layout and its table of contents.
What I would like to get is that the extra page for the part title is not printed, which means it was dropped (or "surpressed"?). But then, I would also want the text from this extra page be written simply over the chapter heading.
I hope it is clear what I want?

edit:
A solution I found here does not work:
Code: Select all
\makeatletter
\newcommand*{\restoreclearpage}{\global\let\clearpage\orig@clearpage
\global\let\cleardoublepage\orig@cleardoublepage}
\newcommand*{\orig@clearpage}{}
\let\orig@clearpage\clearpage
\newcommand*{\orig@cleardoublepage}{}
\let\orig@cleardoublepage\cleardoublepage
\renewcommand*{\partheadendvskip}{%
\global\let\clearpage\restoreclearpage
\global\let\cleardoublepage\restoredoublepage
}
\makeatother
Code: Select all
! Undefined control sequence.
\chapter ->\if@openright \cleardoublepage
\else \clearpage \fi \thispagestyl...
l.61 \chapter
{Differences between the course and the world}