Browse Source

Working on article TOC and titles

JoostSijm 6 years ago
parent
commit
24fd5d5a93
1 changed files with 11 additions and 5 deletions
  1. 11 5
      preamble_article.tex

+ 11 - 5
preamble_article.tex

@@ -16,6 +16,12 @@
     left = 0pt
 ]{geometry}
 
+% Headers
+
+\titlespacing*{\section}{0pt}{3.5ex}{1.3ex}
+\titlespacing*{\subsection}{0pt}{1ex}{1.3ex}
+\titlespacing*{\subsubsection}{0pt}{1ex}{1.3ex}
+
 % Table of content
 \usepackage[titles]{tocloft}
 \renewcommand{\cfttoctitlefont}{\rmfamily\Large\MakeUppercase}
@@ -27,21 +33,21 @@
 \usepackage{titletoc}
 \titlecontents{section}
     [15pt]
-    {\large\rmfamily}
-    {\contentslabel{15pt}}
-    {\hspace*{-9mm}}
+    {\vspace{1ex}\Large\rmfamily}
+    {\vspace{-1.2ex}\contentslabel{15pt}}
+    {}
     {\contentspage}[\medskip]
 
 \titlecontents{subsection}
     [25pt]
     {\rmfamily}
     {\contentslabel{25pt}}
-    {\hspace*{-12mm}}
+    {}
     {\contentspage}
 
 \titlecontents{subsubsection}
     [35pt]
     {\rmfamily}
     {\contentslabel{35pt}}
-    {\hspace*{-12mm}}
+    {}
     {\contentspage}