X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3f64488684dbf14b7e0005209d2dca878e1852d9..ea9a4eea8ee61954c9ae52e8662139c8933ea95d:/librarian/formats/pdf/res/wl.cls?ds=sidebyside

diff --git a/librarian/formats/pdf/res/wl.cls b/librarian/formats/pdf/res/wl.cls
index f336749..ac423be 100755
--- a/librarian/formats/pdf/res/wl.cls
+++ b/librarian/formats/pdf/res/wl.cls
@@ -71,6 +71,7 @@
 \usepackage{fontspec}
 \usepackage{xunicode}
 \usepackage{xltxtra}
+\usepackage[Latin,Greek]{ucharclasses}
 
 \usepackage[overload]{textcase}
 \usepackage{scalefnt}
@@ -78,25 +79,27 @@
 \usepackage[hyphens]{url}
 \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=blue,xetex]{hyperref}
 
+\newfontfamily\substitutefont{GFS Neohellenic}
+\setTransitionsForGreek{\begingroup\substitutefont}{\endgroup}
+
 \ifenablewlfont
 \setmainfont [
-%ExternalLocation,
-%UprightFont = Dosis-Regular,
-UprightFont = JunicodeWL-Regular,
-%ItalicFont = Dosis-SemiBold,
-%BoldFont = Dosis-Bold,
-%BoldItalicFont = Dosis-Bold,
-%SmallCapsFont = Dosis-Regular,
-ItalicFont = JunicodeWL-Italic,
-BoldFont = Junicode-Bold,
-%BoldFont = Junicode-Italic,
-BoldItalicFont = Junicode-BoldItalic,
-SmallCapsFont = JunicodeWL-Regular,
+UprightFont = Dosis-Regular,
+ItalicFont = Dosis-SemiBold,
+BoldFont = Dosis-Bold,
+BoldItalicFont = Dosis-Bold,
+SmallCapsFont = Dosis-Regular,
+%UprightFont = JunicodeWL-Regular,
+%ItalicFont = JunicodeWL-Italic,
+%BoldFont = Junicode-Bold,
+%BoldItalicFont = Junicode-BoldItalic,
+%SmallCapsFont = JunicodeWL-Regular,
+AutoFakeSlant=0.2,
 SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
 Numbers=OldStyle,
 Scale=1.04,
 LetterSpace=-1.0
-] {Junicode}
+] {Dosis}
 
 %\newfontfamily\alien[
 %\setmainfont[
@@ -156,13 +159,15 @@ Letters={SmallCaps,UppercaseSmallCaps}
 \setlength{\headsep}{0pt}
 \setlength{\textheight}{24cm}
 \setlength{\textwidth}{16cm}
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1em plus0.4em minus0.3em}
 
 
 \pagestyle{fancy}
 \fancyhf{}
 \renewcommand{\headrulewidth}{0pt}
 \renewcommand{\footrulewidth}{0pt}
-\lfoot{{\footnotesize \@author{} \emph{\@title}}}
+\lfoot{{\footnotesize \@organization}} %\@author{} \emph{\@title}}}
 \cfoot{}
 \rfoot{{\footnotesize \thepage}}
 
@@ -424,3 +429,18 @@ Letters={Uppercase}
 #1%
 \pagebreak%
 }
+
+\newcommand{\titlefield}[1]{%
+\noindent%
+\begin{minipage}[t]{.7\textwidth}%
+\vspace{0pt}%
+#1%
+\end{minipage}%
+}
+
+\newcommand{\toplogo}[3]{%
+\begin{minipage}[t]{.3\textwidth}%
+\raggedleft%
+\vspace{0pt}{\includegraphics[width=#3]{#1}}%
+\end{minipage}%
+}
\ No newline at end of file
