X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=subfileprefix.tex;h=f628e08b56d579af241b78e75e7dd929dd6ee0fa;hb=b76c5702d080cd0c1329cea78fef296ada28c224;hp=536397b2d0dd24f72de4762f5a82aaf39c039b4c;hpb=3369704052f2381076b72efb24d57a943172e729;p=phd-thesis.git diff --git a/subfileprefix.tex b/subfileprefix.tex index 536397b..f628e08 100644 --- a/subfileprefix.tex +++ b/subfileprefix.tex @@ -1 +1,8 @@ -\ifSubfilesClassLoaded{\tableofcontents}{} +\ifSubfilesClassLoaded{% + \setcounter{tocdepth}{1} + \frontmatter + \frontmatterfancy% + \tableofcontents% + \mainmatter% +}{% +}