X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/bfdf1fb55d9a5ee7be5a16ef73e6237ad949ddcb..63cfa40372a9d33c84c0e4b61ed505173c780eae:/librarian/pdf/wl.cls diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls old mode 100755 new mode 100644 index fa89dc3..128a183 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -81,16 +81,16 @@ \ifenablewlfont \setmainfont [ %ExternalLocation, -UprightFont = JunicodeWL-Regular, -ItalicFont = JunicodeWL-Italic, -BoldFont = JunicodeWL-Regular, -BoldItalicFont = JunicodeWL-Italic, -SmallCapsFont = JunicodeWL-Regular, +UprightFont = Dosis-Regular, +ItalicFont = Dosis-SemiBold, +BoldFont = Dosis-Bold, +BoldItalicFont = Dosis-Bold, +SmallCapsFont = Dosis-Regular, SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, Numbers=OldStyle, Scale=1.04, LetterSpace=-1.0 -] {JunicodeWL} +] {Dosis} \newfontfamily\alien[ SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, @@ -150,7 +150,7 @@ Letters={SmallCaps,UppercaseSmallCaps} \fancyhf{} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} -\lfoot{{\footnotesize \textsc{\@author} \emph{\@title}}} +\lfoot{{\footnotesize \@author{} \emph{\@title}}} \cfoot{} \rfoot{{\footnotesize \thepage}} @@ -172,7 +172,7 @@ Letters={SmallCaps,UppercaseSmallCaps} \newcommand{\typosubsubsection}[1]{% -{\textsc{#1}} +{#1} } \newcommand{\typosubsection}[1]{% @@ -211,7 +211,7 @@ Letters={Uppercase} } \newcommand{\nazwautworu}[1]{% -\section*{\typosection{#1}}% +\section*{\raggedright{\typosection{#1}}}% } \newcommand{\podtytul}[1]{% @@ -295,7 +295,7 @@ Letters={Uppercase} \subsubsection*{\typosubsubsection{#1}}% } \newcommand{\naglowekrozdzial}[1]{% -\subsubsection*{\typosubsubsection{#1}}% +{\subsubsection*{\raggedright{\typosubsubsection{#1}}}}% } \newcommand{\naglowekosoba}[1]{% @@ -406,33 +406,3 @@ 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)} -}