X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/034fc8488c66a6364ef617e70a5b661591226102..43f9887701dbe454dcaee6f4f68afe7e3d14ebe6:/librarian/pdf/wl.cls?ds=inline diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 153f1a6..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}}} @@ -351,16 +374,23 @@ Letters={Uppercase} } \newcommand{\nazwapodutworu}[2]{% -\vspace{10ex}% +\vspace{5ex}% \section*{\typosection{#1}}% \addcontentsline{toc}{section}{#2}% } +\newcommand{\nazwanadpodutworu}[2]{% +\authortoc{}% +\nazwapodutworu{#1}{#2}% +\authortoc{}% +} + \newcommand{\autorutworu}[1]{% \subsection*{\typosubsection{#1}}% } \newcommand{\autorpodutworu}[1]{% +\vspace{5ex}% \subsection*{\typosubsection{#1}}% \authortoc{#1}% } @@ -370,7 +400,7 @@ Letters={Uppercase} } \newcommand{\nazwautworu}[1]{% -\vspace{10ex}% +\vspace{5ex}% \section*{\typosection{#1}}% } @@ -393,7 +423,7 @@ Letters={Uppercase} \newcommand{\nota}[1]{% \par{\raggedleft \emph{#1}}% -\vspace{10ex}% +\vspace{5ex}% } \newcommand{\dedykacja}[1]{% @@ -512,13 +542,13 @@ Letters={Uppercase} \pagebreak \subsection*{\typosubsection{\huge #1}}% \addcontentsline{toc}{subsection}{#2}% -\vspace{10ex}% +\vspace{5ex}% } \newcommand{\naglowekczesc}[2]{% \pagebreak \subsection*{\typosubsection{\huge #1}}% \addcontentsline{toc}{subsection}{#2}% -\vspace{10ex}% +\vspace{5ex}% } \newcommand{\srodtytul}[1]{% \subsection*{\typosubsection{#1}}%