Rename \mainchapter => \chaptertoc
This commit is contained in:
5
main.tex
5
main.tex
@@ -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}%
|
||||
|
||||
Reference in New Issue
Block a user