X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/fcaf06749607b02e11e4edc3b8ae8313e1a1ef91..bfdf1fb55d9a5ee7be5a16ef73e6237ad949ddcb:/librarian/pdf/wl.cls

diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls
index 4023934..fa89dc3 100755
--- a/librarian/pdf/wl.cls
+++ b/librarian/pdf/wl.cls
@@ -75,6 +75,7 @@
 \usepackage[overload]{textcase}
 \usepackage{scalefnt}
 % TODO: link color is a style thing
+\usepackage[hyphens]{url}
 \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=blue,xetex]{hyperref}
 
 \ifenablewlfont
@@ -426,3 +427,12 @@ Letters={Uppercase}
 \renewcommand{\naglowekpodrozdzial}[1]{%
 \subsubsection*{\typosubsubsection{#1}}%
 }
+
+\newcommand{\obraz}[1]{
+\includegraphics[width=8cm]{#1}
+}
+
+\newcommand{\video}[2]{
+\includegraphics[width=8cm]{#1}\\
+\href{#2}{(OtwÃ³rz wideo w serwisie YouTube)}
+}
