X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=preamble%2Flayout.tex;h=30210bc9fab661a06cd87b03ee94e1fe10ba4837;hb=HEAD;hp=aee1254a9f55fded7aed1b82f4c23445c47a7528;hpb=5bd4efa4ebb3e70f19c6fa09366a8feb68aa2de7;p=phd-thesis.git diff --git a/preamble/layout.tex b/preamble/layout.tex index aee1254..30210bc 100644 --- a/preamble/layout.tex +++ b/preamble/layout.tex @@ -1,3 +1,6 @@ +% chktex-file 15 +% chktex-file 9 +% chktex-file 17 \usepackage{geometry} \geometry{ inner=25mm, @@ -75,7 +78,7 @@ \let\titlesec@part\part% \renewcommand{\part}{\@ifstar\part@star\part@nostar} \def\part@star#1{\NR@gettitle{#1}\titlesec@part*{#1}} -\def\part@nostar{\@ifnextchar[\part@nostar@opt\part@nostar@nopt} % chktex 9 +\def\part@nostar{\@ifnextchar[\part@nostar@opt\part@nostar@nopt} \def\part@nostar@nopt#1{\NR@gettitle{#1}\titlesec@part{#1}} \def\part@nostar@opt[#1]#2{\NR@gettitle{#1}\titlesec@part[#1]{#2}} \makeatother @@ -87,7 +90,6 @@ \newenvironment{chapterabstract}{\begin{shaded}\begin{quotation}}{\end{quotation}\end{shaded}} %chktex 6 % Increase the depth for the table of contents -\setcounter{secnumdepth}{3} \renewcommand{\contentsname}{Table of Contents} % change the name of the TOC \AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{empty}}} % to remove page numbering from the TOC