X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/29ab945cc98e1bec1fed86eedd69c26479f52380..7f5ff5c99803e281dc90364cd6efb77b8d91fa26:/librarian/pdf/wl.cls diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 4a7648e..3e048da 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -73,6 +73,11 @@ \usepackage{xunicode} \usepackage{xltxtra} +\usepackage{longtable} +\usepackage{tabu} +\usepackage{unicode-math} +\setmathfont{Latin Modern Math} + \usepackage[overload]{textcase} \usepackage{scalefnt} \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref} @@ -126,6 +131,8 @@ Letters={SmallCaps,UppercaseSmallCaps} \pagestyle{plain} \usepackage{fancyhdr} +\usepackage{marginnote} + \makeatletter @@ -215,6 +222,11 @@ Letters={SmallCaps,UppercaseSmallCaps} \vspace{.5em} \fi + \ifdefined\thanknote + \thanknote + \vspace{.5em} + \fi + Utwór opracowany został w ramach projektu \href{http://www.wolnelektury.pl/}{Wolne Lektury} przez \href{http://nowoczesnapolska.org.pl}{fundację Nowoczesna Polska}. @@ -233,6 +245,13 @@ Letters={SmallCaps,UppercaseSmallCaps} \color{theme} \noindent \rule{\linewidth}{0.4pt} + \ifdefined\sponsors + \marginnote{% + \centering% + \sponsors% + } + \fi + \rightsinfo \vspace{.6em} @@ -246,6 +265,11 @@ Letters={SmallCaps,UppercaseSmallCaps} \editors + \ifdefined\funders + \vspace{.6em} + \funders + \fi + \ifdefined\coverby \vspace{.6em} \coverby @@ -409,7 +433,7 @@ Letters={Uppercase} \par{\textsc{#1}}\nopagebreak% } \newcommand{\naglowekpodrozdzial}[1]{% -\par{#1}\nopagebreak% +\vspace{5ex}\par{#1}\nopagebreak% } \newcommand{\miejsceczas}[1]{% @@ -514,3 +538,8 @@ Letters={Uppercase} \fi } +\newcommand{\ilustr}[2]{% +\vspace{1em}% +\par{\noindent\includegraphics[width=\linewidth]{#1}}% +\vspace{1em} +}