Update komageneral styles

This commit is contained in:
Marcus Kammer 2024-01-17 14:53:30 +01:00
parent 81698ccf5c
commit 8190975b9a

View file

@ -4,7 +4,7 @@
\defaultfontfeatures{Ligatures=TeX, RawFeature={+zero, +liga}}
\setmainfont{Noto Serif Regular}[BoldFont={Noto Serif Bold},ItalicFont={Noto Serif Italic}]
\setsansfont{Noto Sans Regular}[BoldFont={Noto Sans Bold},ItalicFont={Noto Sans Italic}]
\setmonofont{Noto Sans Mono}[BoldFont={Noto Sans Mono Bold},Scale=0.8]
\setmonofont{Noto Sans Mono Condensed}[BoldFont={Noto Sans Mono Condensed Bold},Scale=0.8]
% Geometry settings
\usepackage{geometry}
\geometry{a4paper,left=2cm,right=2cm,top=1.6cm,bottom=1.6cm}
@ -19,6 +19,6 @@
\setkomafont{section}{\Large\bfseries\sffamily}
\setkomafont{subsection}{\large\bfseries\sffamily}
\setkomafont{subsubsection}{\normalsize\bfseries\sffamily}
\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.5\baselineskip]{section}
\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.25\baselineskip]{subsection}
\RedeclareSectionCommand[beforeskip=-1sp,afterskip=0.1\baselineskip]{subsubsection}
\RedeclareSectionCommand[beforeskip=-2\baselineskip,afterskip=0.5\baselineskip]{section}
\RedeclareSectionCommand[beforeskip=-1.5\baselineskip,afterskip=0.25\baselineskip]{subsection}
\RedeclareSectionCommand[beforeskip=-1\baselineskip,afterskip=0.1\baselineskip]{subsubsection}