Skip to content
Snippets Groups Projects
Commit 39f8b580 authored by rohieb's avatar rohieb
Browse files

s0artcl: explicitely set subsubsection, paragraph and caption fonts

Paragraphs and subsubsections were previously rendered as Yanone
Kaffeesatz ZeroHack, but with OT1 font encoding, which resulted in an
unknown font definition, so they got replaced with cmr.

Caption fonts according to https://stratum0.org/wiki/Datei:CI-fonts-specimen.pdf



Signed-off-by: default avatarRoland Hieber <rohieb@rohieb.name>
parent 0e5aed40
Branches
Tags
No related merge requests found
......@@ -150,9 +150,6 @@
\RequirePackage{yanonekaffeesatzzerohack}
\setkomafont{title}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{b}{n}}
\setkomafont{subtitle}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{l}{n}\Large}
\setkomafont{subject}{\normalfont\large}
\setkomafont{author}{\normalfont\large}
\setkomafont{date}{\normalfont\large}
% \end{macrocode}
%
% Workaround because \textsf{KOMA-Script} has an explicit |\huge\@title| in |\maketitle|\ldots
......@@ -162,6 +159,7 @@
\xpatchcmd{\@maketitle}{\huge}{\Huge}{}{}
\setkomafont{section}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{b}{n}\huge}
\setkomafont{subsection}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{l}{n}\LARGE}
\setkomafont{subsubsection}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{l}{n}\Large}
% \end{macrocode}
%
% \textsf{yanonekaffeesatzzerohack} really needs a \oarg{nodefault} option...
......@@ -182,6 +180,12 @@
}{
\RequirePackage[defaultmono]{droidmono}
}
\setkomafont{subject}{\normalfont\large}
\setkomafont{author}{\normalfont\large}
\setkomafont{date}{\normalfont\large}
\setkomafont{paragraph}{\normalfont\bfseries}
\setkomafont{caption}{\normalfont\itshape}
\setkomafont{captionlabel}{\normalfont\itshape}
% \end{macrocode}
%
% \Finale
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment