Skip to content

Commit

Permalink
Force TOC pagebreaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayzels committed Nov 25, 2022
1 parent d0fe225 commit 764879f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions notes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
\tableofcontents
\noindent\rule{\textwidth}{0.4pt}
\addfile{\main/units/part01.tex}
\addtocontents{toc}{\protect\newpage}
\addfile{\main/units/part02.tex}
\addtocontents{toc}{\protect\newpage}
\addfile{\main/units/part03.tex}
\addfile{\main/units/part04.tex}
\addfile{\main/units/part05.tex}
Expand Down
1 change: 1 addition & 0 deletions units/part02.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
\documentclass[\main/notes.tex]{subfiles}

\begin{document}
\addtocontents{toc}{\protect\newpage}
\setcounter{part}{1}
\part{Information Technology Concepts}
\addfile[input]{part02/chapter03.tex}
Expand Down
2 changes: 2 additions & 0 deletions units/part03.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
\documentclass[\main/notes.tex]{subfiles}

\begin{document}
\addtocontents{toc}{\protect\newpage}
\setcounter{part}{2}
\part{Business Information Systems}
\addfile[input]{part03/chapter07.tex}
\addfile[input]{part03/chapter08.tex}
\addtocontents{toc}{\protect\newpage}
\addfile[input]{part03/chapter09.tex}
\addfile[input]{part03/chapter10.tex}
\end{document}
1 change: 1 addition & 0 deletions units/part04.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
\documentclass[\main/notes.tex]{subfiles}

\begin{document}
\addtocontents{toc}{\protect\newpage}
\setcounter{part}{3}
\part{Systems Development}
\addfile[input]{part04/chapter11.tex}
Expand Down

0 comments on commit 764879f

Please sign in to comment.