X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=subfileprefix.tex;h=f628e08b56d579af241b78e75e7dd929dd6ee0fa;hb=c590c9a29ba0f88f0a4b19b3be89ed6c52bfd0f9;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% +}{% +}