X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/57dc61cf3e34d3acd054383842be40b974e2e2cf..bd2ad2356d916f72762de867890b5d176830f73b:/librarian/pdf/wl.cls diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 415e14a..c387b03 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -6,13 +6,13 @@ % % nofootnotes - disable generation of footnotes % nothemes - disable generation of themes +% defaultleading - default leading % onehalfleading - leading of 1.5 (interlinia) % doubleleading - double leading (interlinia) % a4paper,... - paper size as required by LaTeX % nowlfont - don't use customized WL font -%\usepackage{setspace} - +\RequirePackage{setspace} \RequirePackage{type1cm} \DeclareOption{13pt}{% \AtEndOfClass{% @@ -40,9 +40,16 @@ %% \DeclareOption{14pt}{\renewcommand{\normalsize}{\AtEndOfClass{\fontsize{14}{17}\selectfont}}} +\DeclareOption{defaultleading}{} \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} @@ -239,6 +246,9 @@ Letters={SmallCaps,UppercaseSmallCaps} \editors + \vspace{.6em} + \coverby + \color{black} } \end{figure}