X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3a0c83394d5783715fab2be29fa1a9cfc3574e28..b7ab4f2e27b8fd7fb89f550ed60e6af39d350712:/src/librarian/pdf/wl.cls

diff --git a/src/librarian/pdf/wl.cls b/src/librarian/pdf/wl.cls
index aa6abc2..ef12bff 100644
--- a/src/librarian/pdf/wl.cls
+++ b/src/librarian/pdf/wl.cls
@@ -173,6 +173,13 @@ Scale=0.85,
 LetterSpace=-1.0
 ] {DejaVu Serif}
 
+\newfontfamily\fallback[
+SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
+Numbers=OldStyle,
+Scale=0.85,
+LetterSpace=-1.0
+] {Open Sans}
+
 \ifenablewlfont
 \setmainfont [
 %ExternalLocation,
@@ -722,6 +729,7 @@ Letters={Uppercase}
 \par{\emph{#1}}%
 }
 
+\usepackage{framed}
 \usepackage{intcalc}
 \usepackage{color}
 \definecolor{gray}{RGB}{200,200,200}
@@ -750,6 +758,10 @@ Letters={Uppercase}
 \par{\N#1}%
 }
 
+\newcommand{\werset}[1]{%
+\par{\noindent{\ignorespaces#1\vspace{1em}}}%
+}
+
 \newcommand{\mottopodpis}[1]{%
 \begin{em}%
 \begin{flushright}%
@@ -783,17 +795,20 @@ Letters={Uppercase}
     \newcommand{\pe}[1]{\NoCaseChange{\endnote{#1 [przypis edytorski]}}}
     \newcommand{\pr}[1]{\NoCaseChange{\endnote{#1 [przypis redakcyjny]}}}
     \newcommand{\pt}[1]{\NoCaseChange{\endnote{#1 [przypis tÅumacza]}}}
+    \newcommand{\ptrad}[1]{\NoCaseChange{\endnote{#1 [przypis z tradycji]}}}
   \else
     \newcommand{\pa}[1]{\NoCaseChange{\footnote{#1 [przypis autorski]}}}
     \newcommand{\pe}[1]{\NoCaseChange{\footnote{#1 [przypis edytorski]}}}
     \newcommand{\pr}[1]{\NoCaseChange{\footnote{#1 [przypis redakcyjny]}}}
     \newcommand{\pt}[1]{\NoCaseChange{\footnote{#1 [przypis tÅumacza]}}}
+    \newcommand{\ptrad}[1]{\NoCaseChange{\footnote{#1 [przypis z tradycji]}}}
   \fi
 \else
   \newcommand{\pa}[1]{}
   \newcommand{\pe}[1]{}
   \newcommand{\pr}[1]{}
   \newcommand{\pt}[1]{}
+  \newcommand{\ptrad}[1]{}
 \fi
 
 \newcommand{\mat}[1]{$#1$}
@@ -823,6 +838,38 @@ Letters={Uppercase}
 {\scshape \MakeLowercase{#1}}%
 }
 
+
+\newcommand{\wllist}[1]{%
+\begin{quotation}%
+#1%
+\end{quotation}%
+}
+  
+\newcommand{\adresat}[1]{%
+\par{\N#1}%
+}
+\newcommand{\miejscedata}[1]{%
+\begin{flushright}%
+\par{\N#1}%
+\end{flushright}%
+}
+\newcommand{\nagloweklistu}[1]{%
+\begin{center}%
+\par{\N#1}%
+\end{center}%
+}
+\newcommand{\pozdrowienie}[1]{%
+\begin{flushright}%
+\par{\N#1}%
+\end{flushright}%
+}
+\newcommand{\podpis}[1]{%
+\begin{flushright}%
+\par{\N#1}%
+\end{flushright}%
+}
+
+
 \newcommand{\sekcjaswiatlo}{%
 \vspace{30pt}%
 }
