Update komageneral
This commit is contained in:
parent
e2d6e9365b
commit
ab711f07e3
1 changed files with 11 additions and 26 deletions
|
@ -38,7 +38,7 @@
|
||||||
\setmainfont{Noto Serif Regular}[BoldFont={Noto Serif Bold}, ItalicFont={Noto Serif Italic}]
|
\setmainfont{Noto Serif Regular}[BoldFont={Noto Serif Bold}, ItalicFont={Noto Serif Italic}]
|
||||||
\setsansfont{Noto Sans Regular}[BoldFont={Noto Sans Bold}, ItalicFont={Noto Sans 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}[BoldFont={Noto Sans Mono Bold}, Scale=0.8]
|
||||||
\linespread{1.25}
|
\linespread{1.1}
|
||||||
|
|
||||||
% Geometry settings
|
% Geometry settings
|
||||||
\geometry{a4paper, left=2cm, right=2cm, top=2cm, bottom=2cm}
|
\geometry{a4paper, left=2cm, right=2cm, top=2cm, bottom=2cm}
|
||||||
|
@ -57,33 +57,15 @@
|
||||||
\setkomafont{subsection}{\large\bfseries\sffamily}
|
\setkomafont{subsection}{\large\bfseries\sffamily}
|
||||||
\setkomafont{subsubsection}{\normalsize\bfseries\sffamily}
|
\setkomafont{subsubsection}{\normalsize\bfseries\sffamily}
|
||||||
|
|
||||||
\RedeclareSectionCommand[
|
% Define the spacing between title and content
|
||||||
beforeskip=\baselineskip,
|
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.5\baselineskip]{section}
|
||||||
afterskip=0.5\baselineskip
|
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.5\baselineskip]{subsection}
|
||||||
]{section}
|
\RedeclareSectionCommand[beforeskip=\baselineskip, afterskip=0.5\baselineskip]{subsubsection}
|
||||||
|
|
||||||
\RedeclareSectionCommand[
|
|
||||||
beforeskip=\baselineskip,
|
|
||||||
afterskip=0.5\baselineskip
|
|
||||||
]{subsection}
|
|
||||||
|
|
||||||
\RedeclareSectionCommand[
|
|
||||||
beforeskip=\baselineskip,
|
|
||||||
afterskip=0.5\baselineskip
|
|
||||||
]{subsubsection}
|
|
||||||
|
|
||||||
% Define the spacing between section number and title
|
% Define the spacing between section number and title
|
||||||
\renewcommand{\sectionformat}{%
|
\renewcommand{\sectionformat}{\thesection\hspace{0.5em}}
|
||||||
\thesection\hspace{1em}%
|
\renewcommand{\subsectionformat}{\thesubsection\hspace{0.5em}}
|
||||||
}
|
\renewcommand{\subsubsectionformat}{\thesubsubsection\hspace{0.5em}}
|
||||||
|
|
||||||
\renewcommand{\subsectionformat}{%
|
|
||||||
\thesubsection\hspace{1em}%
|
|
||||||
}
|
|
||||||
|
|
||||||
\renewcommand{\subsubsectionformat}{%
|
|
||||||
\thesubsubsection\hspace{1em}%
|
|
||||||
}
|
|
||||||
|
|
||||||
% Set global table font to Noto Sans Condensed Light
|
% Set global table font to Noto Sans Condensed Light
|
||||||
\AtBeginEnvironment{tabular}{\fontspec{Noto Sans Condensed}}
|
\AtBeginEnvironment{tabular}{\fontspec{Noto Sans Condensed}}
|
||||||
|
@ -134,3 +116,6 @@
|
||||||
tabsize=2,
|
tabsize=2,
|
||||||
columns=fullflexible
|
columns=fullflexible
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% set description items to italic
|
||||||
|
\setlist[description]{font=\normalfont\itshape}
|
||||||
|
|
Loading…
Add table
Reference in a new issue