summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.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/AlegreyaSans.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/AlegreyaSans.sty')
-rw-r--r--Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty b/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty
index 8c9c4472c21..a41396d4ba7 100644
--- a/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty
+++ b/Master/texmf-dist/tex/latex/alegreya/AlegreyaSans.sty
@@ -3,13 +3,13 @@
\RequirePackage{ifxetex,ifluatex,textcomp}
-\newif\ifAlegreyaSans@otf
+\newif\ifAlegreyaSans@ttf
\ifxetex
- \AlegreyaSans@otftrue
+ \AlegreyaSans@ttftrue
\else\ifluatex
- \AlegreyaSans@otftrue
+ \AlegreyaSans@ttftrue
\else % [pdf]LaTeX
- \AlegreyaSans@otffalse
+ \AlegreyaSans@ttffalse
\fi\fi
@@ -18,7 +18,7 @@
\DeclareOptionX{scaled}{\renewcommand*{\AlegreyaSans@scale}{#1}}
\DeclareOptionX{scale}{\renewcommand*{\AlegreyaSans@scale}{#1}}
-\DeclareOptionX{type1}{\AlegreyaSans@otffalse}
+\DeclareOptionX{type1}{\AlegreyaSans@ttffalse}
\newif\ifAlegreyaSans@default \AlegreyaSans@defaultfalse
\DeclareOptionX{sfdefault}{\AlegreyaSans@defaulttrue}
@@ -97,7 +97,7 @@
\ProcessOptionsX\relax
-\ifAlegreyaSans@otf
+\ifAlegreyaSans@ttf
\ifAlegreyaSans@lining
\def\AlegreyaSans@figurestyle{Lining}
\else
@@ -124,17 +124,17 @@
\fi
-\ifAlegreyaSans@otf
+\ifAlegreyaSans@ttf
\RequirePackage{fontspec}
\else
\RequirePackage{fontenc,fontaxes,mweights}
\fi
-\ifAlegreyaSans@otf
+\ifAlegreyaSans@ttf
\ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures{
Ligatures = TeX ,
- Extension = .otf ,
+ Extension = .ttf ,
Scale = \AlegreyaSans@scale ,
}
\setsansfont
@@ -274,7 +274,7 @@
\DeclareTextFontCommand{\textin}{\infigures}
% turn off defaults in case other fonts are selected:
-\ifAlegreyaSans@otf
+\ifAlegreyaSans@ttf
\defaultfontfeatures{}
\fi