diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/alegreya/Alegreya.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/alegreya/Alegreya.sty | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty b/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty index 64aa13ccd9c..59696921321 100644 --- a/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty +++ b/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty @@ -1,15 +1,15 @@ \ProvidesPackage{Alegreya}[% - 2014/01/16 (Bob Tennent) Supports Alegreya and AlegreyaSC fonts for all LaTeX engines. ] + 2014/05/18 (Bob Tennent) Supports Alegreya and AlegreyaSC fonts for all LaTeX engines. ] \RequirePackage{ifxetex,ifluatex,textcomp} -\newif\ifAlegreya@otf +\newif\ifAlegreya@ttf \ifxetex - \Alegreya@otftrue + \Alegreya@ttftrue \else\ifluatex - \Alegreya@otftrue + \Alegreya@ttftrue \else % [pdf]LaTeX - \Alegreya@otffalse + \Alegreya@ttffalse \fi\fi \newif\ifAlegreya@lining \Alegreya@liningtrue @@ -21,7 +21,7 @@ \DeclareOptionX{scaled}{\renewcommand*{\Alegreya@scale}{#1}} \DeclareOptionX{scale}{\renewcommand*{\Alegreya@scale}{#1}} -\DeclareOptionX{type1}{\Alegreya@otffalse} +\DeclareOptionX{type1}{\Alegreya@ttffalse} \DeclareOptionX{lining}[true]{% \@nameuse{if#1}% @@ -88,7 +88,7 @@ \ProcessOptionsX\relax -\ifAlegreya@otf +\ifAlegreya@ttf \ifAlegreya@lining \def\Alegreya@figurestyle{Lining} \else @@ -115,17 +115,17 @@ \fi -\ifAlegreya@otf +\ifAlegreya@ttf \RequirePackage{fontspec} \else \RequirePackage{fontenc,fontaxes,mweights} \fi -\ifAlegreya@otf +\ifAlegreya@ttf \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , - Extension = .otf , + Extension = .ttf , Scale = \Alegreya@scale , } \setmainfont @@ -141,7 +141,7 @@ \edef\Alegreya@figurestyle{OldStyle} \defaultfontfeatures{ Ligatures = TeX , - Extension = .otf , + Extension = .ttf , Scale = \Alegreya@scale , } \setmainfont @@ -247,7 +247,7 @@ \DeclareTextFontCommand{\textin}{\infigures} % turn off defaults in case other fonts are selected: -\ifAlegreya@otf +\ifAlegreya@ttf \defaultfontfeatures{} \fi |