X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/57dc61cf3e34d3acd054383842be40b974e2e2cf..a3c860f00c7d12ae5852ddab056c98f52ee43072:/librarian/pdf/wl.cls?ds=inline diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 415e14a..37d1d24 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -11,8 +11,7 @@ % a4paper,... - paper size as required by LaTeX % nowlfont - don't use customized WL font -%\usepackage{setspace} - +\RequirePackage{setspace} \RequirePackage{type1cm} \DeclareOption{13pt}{% \AtEndOfClass{% @@ -43,6 +42,12 @@ \DeclareOption{doubleleading}{\AtBeginDocument{\doublespacing}}%\setlength{\leading}{1em plus 0.5ex minus 0.2ex}} \DeclareOption{onehalfleading}{\AtBeginDocument{\onehalfspacing}}%\setlength{\leading}{1em plus 0.5ex minus 0.2ex}} +%% This does not really work, since dvipdfm(x) will use it's configuration in /etc/texmf/dvipdfm(x) and force a global paper size setting. +\DeclareOption{a5paper}{% + \setlength{\paperheight}{210mm}% + \setlength{\paperwidth}{148mm}} + + \newif\ifshowfootnotes \showfootnotestrue \DeclareOption{nofootnotes}{\showfootnotesfalse}