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

s0artcl: adjust sizes according to specimen

parent 6d0d1b68
Branches
Tags v1.0
No related merge requests found
......@@ -26,25 +26,35 @@
% ---
\LoadClass{scrartcl}
% --- Helper packages
% ---
\RequirePackage{etoolbox}
% --- Page Layout
% ---
\RequirePackage[left=2.5cm,right=2.5cm,top=2cm,bottom=2.5cm]{geometry}
% --- Default Fonts
% ---
\RequirePackage{yanonekaffeesatzzerohack}
% Yanone Kaffeesatz ZeroHack for titles etc.
% TODO: adjust sizes
\setkomafont{title}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{b}{n}\Huge}
\setkomafont{section}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{b}{n}\LARGE}
\setkomafont{subsection}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{m}{n}\Large}
\RequirePackage{yanonekaffeesatzzerohack}
\setkomafont{title}{\usefont{LY1}{YanoneKaffeesatzZeroHack}{b}{n}}
% koma-script has an explicit \huge directly in \maketitle...
\makeatletter
\patchcmd{\@maketitle}{\huge}{\fontsize{24pt}{32pt}\selectfont}{}{}
\makeatother
\setkomafont{section}{%
\fontsize{16pt}{24pt}\selectfont%
\usefont{LY1}{YanoneKaffeesatzZeroHack}{b}{n}%
}
\setkomafont{subsection}{%
\fontsize{13pt}{16pt}\selectfont%
\usefont{LY1}{YanoneKaffeesatzZeroHack}{m}{n}% FIXME: use thin weight
}
% yanonekaffeesatzzerohack really needs a [nodefault] option...
\renewcommand*{\encodingdefault}{OT1}
% Droid for all the rest
\RequirePackage[default]{droidsans}
\RequirePackage[defaultmono]{droidmono}
\makeatletter
\makeatother
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment