From 1139da627d4a584de8d25701c28c8bfab749263c Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Fri, 17 Jan 2025 15:36:26 +0100 Subject: [PATCH] Update komageneral --- .../tex/latex/mycustomstyles/komageneral.sty | 41 +++++++++++-------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/texmf/tex/latex/mycustomstyles/komageneral.sty b/texmf/tex/latex/mycustomstyles/komageneral.sty index 68c649d7..c982678d 100644 --- a/texmf/tex/latex/mycustomstyles/komageneral.sty +++ b/texmf/tex/latex/mycustomstyles/komageneral.sty @@ -10,8 +10,8 @@ \usepackage{biblatex} \usepackage{float} \usepackage[table]{xcolor} -\usepackage{longtable} \usepackage{xltabular} +\usepackage{longtable} \usepackage{booktabs} \usepackage{grffile} \usepackage{unicode-math} @@ -31,23 +31,22 @@ \usepackage{csvsimple} \KOMAoptions{ - DIV=12, - BCOR=10mm, + DIV=16, twoside=true, toc=listof, + titlepage=true, + headings=normal, headsepline=true, footsepline=false, headinclude=false, footinclude=false, - mpinclude=false, - titlepage=true, captions=tableheading + mpinclude=false } \definecolor{darkgray}{RGB}{64,64,64} \definecolor{lightgray}{RGB}{200,200,200} -% necessary to set max height and width for images \adjustboxset{max size={\textwidth}{0.6\textheight}} % Font settings @@ -80,18 +79,17 @@ Scale = 1.0 ] -% better readability on screen \linespread{1.15} % Geometry settings -% \geometry{ -% a4paper, -% left=2.5cm, -% right=2.5cm, -% top=2.5cm, -% bottom=2.5cm, -% marginparwidth=1.5cm -% } +%% \geometry{ +%% a4paper, +%% left=2.5cm, +%% right=2.5cm, +%% top=2.5cm, +%% bottom=2.5cm, +%% marginparwidth=1.5cm +%% } % % Header and footer settings with scrlayer-scrpage \pagestyle{scrheadings} @@ -128,13 +126,20 @@ \renewcommand{\subsubsectionformat}{\thesubsubsection\hspace{0.5em}} % Set global table font to Noto Sans Condensed Light -\AtBeginEnvironment{tabular}{\fontspec{Noto Sans Condensed Light}} -\AtBeginEnvironment{longtable}{\fontspec{Noto Sans Condensed Ligth}} -% \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} +\AtBeginEnvironment{tabular}{\fontspec{Noto Sans Condensed}} +\AtBeginEnvironment{longtable}{\fontspec{Noto Sans Condensed}} +\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} + +% Caption settings +% \captionsetup{font=small, labelfont=bf} % Custom quote environment \AtBeginEnvironment{quote}{\itshape} +% Custom formatting commands +%% \newcommand{\important}[1]{\textbf{#1}} +%% \newcommand{\code}[1]{\texttt{#1}} + % Title page settings \newcommand{\TitlePage}[1]{ \begin{titlepage}