From: Jan Szejko Date: Thu, 9 Aug 2018 13:57:32 +0000 (+0200) Subject: larger font (stub) X-Git-Tag: 1.7~9 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/d768dc8b7e3188d575e78cd2dac205b3600f65c7?ds=sidebyside larger font (stub) --- diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index ff6e2b0..903b812 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -38,6 +38,29 @@ }% }% } +\DeclareOption{16pt}{% +\AtEndOfClass{% +% font size definitions, similar to ones in /usr/share/texmf-texlive/tex/latex/base/ +\renewcommand\normalsize{% + \@setfontsize\normalsize{16pt}{18pt}% + \abovedisplayskip 15\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3.5\p@ + \belowdisplayshortskip 8\p@ \@plus4\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI}\normalsize% +\renewcommand\footnotesize{% + \@setfontsize\footnotesize\@xpt\@xiipt + \abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3.5\p@ + \belowdisplayshortskip 7\p@ \@plus3.5\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 7\p@ \@plus2.5\p@ \@minus2.5\p@ + \parsep 3.5\p@ \@plus2.5\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip +}% +}% +} %% \DeclareOption{14pt}{\renewcommand{\normalsize}{\AtEndOfClass{\fontsize{14}{17}\selectfont}}}