From 1d327a27116c168598d1f7a40d299139a38ca792 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 22 Jan 2014 23:08:10 +0000 Subject: alegreya (22jan14) git-svn-id: svn://tug.org/texlive/trunk@32759 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/alegreya/Alegreya.sty | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/alegreya') diff --git a/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty b/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty index 79f36d6a2f7..64aa13ccd9c 100644 --- a/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty +++ b/Master/texmf-dist/tex/latex/alegreya/Alegreya.sty @@ -1,5 +1,5 @@ \ProvidesPackage{Alegreya}[% - 2014/01/14 (Bob Tennent) Supports Alegreya and AlegreyaSC fonts for all LaTeX engines. ] + 2014/01/16 (Bob Tennent) Supports Alegreya and AlegreyaSC fonts for all LaTeX engines. ] \RequirePackage{ifxetex,ifluatex,textcomp} @@ -151,6 +151,8 @@ BoldFont = *-\Alegreya@boldstyle , BoldItalicFont = *-\Alegreya@boldstyle Italic ] {Alegreya} + \def\rmfamily{\Alegreya@OsF\def\scshape{\AlegreyaSC}} + \rmfamily \defaultfontfeatures{} } \newfontfamily\Alegreya @@ -181,6 +183,13 @@ BoldFont = *-\Alegreya@boldstyle , BoldItalicFont = *-\Alegreya@boldstyle Italic ] {Alegreya} + \newfontfamily\Alegreya@OsF % for \useosf + [ Numbers = {\Alegreya@figurealign, OldStyle}, + UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-\Alegreya@boldstyle , + BoldItalicFont = *-\Alegreya@boldstyle Italic ] + {Alegreya} \newfontfamily\AlegreyaTLF [ Numbers = {Monospaced,Lining}, UprightFont = *-Regular , @@ -217,7 +226,7 @@ \def\AlegreyaTLF{\fontfamily{Alegreya-TLF}\selectfont} \def\AlegreyaTOsF{\fontfamily{Alegreya-TOsF}\selectfont} \def\AlegreyaBlack{\fontfamily{\Alegreyafamily}\fontseries{k}\selectfont} - \def\AlegreyaSC{\fontfamily{AlegreyaSC-OsF}\selectfont} + \def\AlegreyaSC{\fontfamily{AlegreyaSC-TLF}\selectfont} \fa@naming@exception{figures}{{superior}{proportional}}{Sup} \fa@naming@exception{figures}{{superior}{tabular}}{Sup} -- cgit v1.2.3