X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5bc29f19f308610c944d63597962fb3b0f468c54..bfdf1fb55d9a5ee7be5a16ef73e6237ad949ddcb:/librarian/pdf/wl.cls diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 53da8d5..fa89dc3 100755 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -14,6 +14,7 @@ \RequirePackage{setspace} \RequirePackage{type1cm} +\RequirePackage{wasysym} \DeclareOption{13pt}{% \AtEndOfClass{% % font size definitions, similar to ones in /usr/share/texmf-texlive/tex/latex/base/ @@ -74,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 [ @@ -405,3 +407,32 @@ Letters={Uppercase} \fi } +%% EDUMED SPECIFIC + +\newcommand{\activitycounter}[1]{\vspace{1em}\par{\huge{#1}}} + +\newcommand{\activityinfo}[1]{\begin{flushright}\parbox[t]{2in}{#1}\end{flushright}} +\newcommand{\activitytime}[1]{Czas: #1 min \\} +\newcommand{\activityform}[1]{Forma: #1 \\} +\newcommand{\activitytools}[1]{#1 \\} + +\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)} +}