% \enablelmtx
% \nopdfcompression

\startenvironment followingup-style

\enableexperiments[fonts.compact] % needed for font chapter

\usemodule[abbreviations-smallcaps]

\logo [LUAMETATEX] {LuaMeta\TeXsuffix}

\setupbodyfont[plex] % not that ok for titling

\setuplayout
  [width=middle,
   height=middle,
   header=0pt,
   footer=1cm,
   footerdistance=5mm,
   backspace=2cm,
   cutspace=15mm,
   topspace=2cm,
   bottomspace=1cm,
   style=bold,
   color=maincolor]

\setuppagenumbering
  [alternative=doublesided]

\setupwhitespace
  [big]

\setupfootertexts
  [][{\getmarking[chapter]\quad\pagenumber}]
  [{\pagenumber\quad\getmarking[chapter]}][]

\definecolor
  [maincolor]
  [darkblue]

\setuphead
  [chapter]
  [style=\bfc,
   color=maincolor]

\setuphead
  [section]
  [style=\bfa,
   color=maincolor]

\setuphead
  [subsection]
  [style=\bf,
   color=maincolor]

\setupalign
  [tolerant,stretch]

\setuptyping
  [color=maincolor]

\setuptype
  [color=maincolor]

\setupitemize
  [color=maincolor]

\stopenvironment
