X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/773612b400fb85103153032b193b1434d136a7ef..bfdf1fb55d9a5ee7be5a16ef73e6237ad949ddcb:/librarian/pdf/wl.cls?ds=sidebyside diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 9e5e6be..fa89dc3 100755 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -75,7 +75,8 @@ \usepackage[overload]{textcase} \usepackage{scalefnt} % TODO: link color is a style thing -\usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref} +\usepackage[hyphens]{url} +\usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=blue,xetex]{hyperref} \ifenablewlfont \setmainfont [ @@ -418,3 +419,20 @@ Letters={Uppercase} \newcommand*\checkbox{\item[\Square]} \newcommand*\radio{\item[\Circle]} + +\renewcommand{\naglowekrozdzial}[1]{% +\subsection*{\typosubsection{#1}}% +} + +\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)} +}