summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-21 22:04:32 +0000
committerKarl Berry <karl@freefriends.org>2014-05-21 22:04:32 +0000
commitde342a74d559603226d5634fb33cf65d4dc5c4f7 (patch)
treece09f07360793885e178f9118a0bc10705e34a88 /Master/texmf-dist/tex/latex/alegreya/Alegreya.sty
parenteff8de8f7791895ccf8c8ccd293d9e58a254f213 (diff)
alegreya (21may14)
git-svn-id: svn://tug.org/texlive/trunk@34174 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/alegreya/Alegreya.sty')
-rw-r--r--Master/texmf-dist/tex/latex/alegreya/Alegreya.sty24
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