\ifSubfilesClassLoaded{%
	\setcounter{tocdepth}{1}
	\frontmatter
	\frontmatterfancy%
	\tableofcontents%
	\mainmatter%
}{%
}
