right-aligned poem line in WL XML
[librarian.git] / librarian / pdf / wl.cls
index 55d4897..824ac19 100644 (file)
@@ -259,6 +259,8 @@ Letters={SmallCaps,UppercaseSmallCaps}
     \vspace{.6em}
     \sourceinfo
 
+    \publisherinfo
+
     \description
     \vspace{.6em}
 
@@ -274,6 +276,11 @@ Letters={SmallCaps,UppercaseSmallCaps}
         \coverby
     \fi
 
+    \ifdefined\isbn
+        \vspace{.6em}
+        \isbn
+    \fi
+
     \vspace{.6em}
     \emph{Wesprzyj Wolne Lektury!}
 
@@ -445,7 +452,7 @@ Letters={Uppercase}
 \usepackage{intcalc}
 \usepackage{color}
 \definecolor{gray}{RGB}{200,200,200}
-\newcounter{parnum}
+%\newcounter{parnum}
 \newlength{\parnumwidth}
 \setlength{\parnumwidth}{3em}
 \newcommand{\N}{%
@@ -457,6 +464,8 @@ Letters={Uppercase}
   \ifnum\intcalcMod{\value{parnum}}{5}=0%
   \marginnote{\textcolor{gray}{\small{\theparnum}}}%
   \fi\reversemarginpar}
+\renewcommand{\N}{}
+\renewcommand{\Nw}{}
 
 \newcommand{\akap}[1]{%
 \par{\N#1}%
@@ -491,6 +500,9 @@ Letters={Uppercase}
 \newcommand{\werswciety}[2][1em]{%
 \Nw\hspace*{#1}#2%
 }
+\newcommand{\wersdoprawej}[1]{%
+\Nw\hspace*{\fill}#1%
+}
 
 \ifshowfootnotes
   \newcommand{\pa}[1]{\NoCaseChange{\footnote{#1 [przypis autorski]}}}
@@ -518,6 +530,9 @@ Letters={Uppercase}
 \newcommand{\wyroznienie}[1]{%
 \emph{#1}%
 }
+\newcommand{\indeksdolny}[1]{%
+\textsubscript{#1}%
+}
 
 \newcommand{\osoba}[1]{%
 #1%