2
0

preamble_article.tex 944 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. % Color
  2. \usepackage{xcolor}
  3. %\color{white}
  4. \definecolor{rr-background}{HTML}{393939}
  5. % set page
  6. \usepackage[
  7. paperwidth = 17.5cm,
  8. paperheight = 150cm,
  9. top = 0pt,
  10. right = 0pt,
  11. bottom = 0pt,
  12. left = 0pt
  13. ]{geometry}
  14. % Headers
  15. \titlespacing*{\section}{0pt}{3.5ex}{1.3ex}
  16. \titlespacing*{\subsection}{0pt}{1ex}{1.3ex}
  17. \titlespacing*{\subsubsection}{0pt}{1ex}{1.3ex}
  18. % Table of content
  19. \usepackage[titles]{tocloft}
  20. \renewcommand{\cfttoctitlefont}{\rmfamily\Large\MakeUppercase}
  21. % Page numbering
  22. \pagenumbering{gobble}
  23. % TOC title
  24. \usepackage{titletoc}
  25. \titlecontents{section}
  26. [15pt]
  27. {\vspace{1ex}\Large\rmfamily}
  28. {\vspace{-1.2ex}\contentslabel{15pt}}
  29. {}
  30. {\contentspage}[\medskip]
  31. \titlecontents{subsection}
  32. [25pt]
  33. {\rmfamily}
  34. {\contentslabel{25pt}}
  35. {}
  36. {\contentspage}
  37. \titlecontents{subsubsection}
  38. [35pt]
  39. {\rmfamily}
  40. {\contentslabel{35pt}}
  41. {}
  42. {\contentspage}