X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/76ccbdfc1a94c17bd487813d927c10ede3a4f509..7475946199e7c363fcf125c5b26be173cd4010f3:/librarian/pdf/wlpub.cls?ds=sidebyside diff --git a/librarian/pdf/wlpub.cls b/librarian/pdf/wlpub.cls index 05f2aba..d5154e1 100644 --- a/librarian/pdf/wlpub.cls +++ b/librarian/pdf/wlpub.cls @@ -94,6 +94,7 @@ \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} +\usepackage{trimspaces} \usepackage[overload]{textcase} \usepackage{scalefnt} @@ -190,6 +191,8 @@ Mapping=tex-text \parindent 1em\noindent \hb@xt@ 1.8em{\hss \@makefnmark \enskip}#1. } +\def\trimspace#1{\trim@spaces{#1}} + \makeatother @@ -635,6 +638,15 @@ Mapping=tex-text \vspace{10pt}% } +\newcommand{\ilustr}[2]{ + \vspace{1em}% + \begin{center}% + \par{\includegraphics[width=\textwidth]{\trimspace{#1}}\\#2}% + \end{center}% + \vspace{1em}% +} + + \newcommand{\motyw}[2][0]{% \ifshowthemes \mbox{}%