Rename \mainchapter => \chaptertoc

This commit is contained in:
2024-06-27 00:02:35 +02:00
parent 05bc6c77d6
commit 2d23eb9a16
14 changed files with 618 additions and 8 deletions

View File

@@ -77,10 +77,7 @@
\includefrom{#1}{#2}% and relative paths \input in the chapter
}
\newcommand{\mainchapter}[1]{%
\chapter{#1}%
%
% Print the table of contents for the chapter
\newcommand{\chaptertoc}{% Print the table of contents for the chapter
\vspace*{-1cm}%
\localtableofcontents%
\par\noindent\rule{\textwidth}{0.4pt}%