Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Updated empty chapter cmd.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippVerpoort committed Oct 19, 2015
1 parent 36975ad commit 824191e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions include/thesisclass.cls
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,11 @@
\thispagestyle{plain}
}

\newcommand{\emptychapter}[2]
\newcommand{\emptychapter}[2][]
{
\clearpage\addtocounter{chapter}{1}\addtocontents{toc}{\protect\contentsline
{chapter}{\protect\numberline {\thechapter}#1}{#2}{}}
\addtocounter{chapter}{1}
\addtocontents{toc}{\protect\contentsline
{chapter}{\protect\numberline {\thechapter}#2}{#1}{}}
}

%% **** END OF CLASS ****
Expand Down
Binary file modified main.pdf
Binary file not shown.
6 changes: 4 additions & 2 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@
\chapter{Experimental Investigations}
\input{./chap/chapter3.tex}

\emptychapter{ROOT Routines}{3} % usage: \emptychapter{name of the
% chapter}{page displayed in toc}
\emptychapter[3]{ROOT Routines} % usage: \emptychapter[page displayed
% in toc]{name of the chapter}



\chapter{Conclusions}
\input{./chap/chapter4.tex}
Expand Down

0 comments on commit 824191e

Please sign in to comment.