X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/4b958ca8fc156576373e1d805fff96fb34a35804..194e9ab5d8bd330f514b4116ebc8ae01d7af077c:/librarian/formats/pdf/res/wl.cls diff --git a/librarian/formats/pdf/res/wl.cls b/librarian/formats/pdf/res/wl.cls index f336749..fb2796a 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, +ExternalLocation, +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, SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, Numbers=OldStyle, Scale=1.04, LetterSpace=-1.0 -] {Junicode} +] {Dosis} %\newfontfamily\alien[ %\setmainfont[ @@ -156,6 +159,8 @@ Letters={SmallCaps,UppercaseSmallCaps} \setlength{\headsep}{0pt} \setlength{\textheight}{24cm} \setlength{\textwidth}{16cm} +\setlength{\parindent}{0pt} +\setlength{\parskip}{1em plus0.4em minus0.3em} \pagestyle{fancy}