fix video
[librarian.git] / librarian / formats / pdf / res / wl.cls
index f336749..ac423be 100755 (executable)
@@ -71,6 +71,7 @@
 \usepackage{fontspec}
 \usepackage{xunicode}
 \usepackage{xltxtra}
+\usepackage[Latin,Greek]{ucharclasses}
 
 \usepackage[overload]{textcase}
 \usepackage{scalefnt}
 \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