diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty index 1e784650415..5a275d78be0 100644 --- a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty +++ b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty @@ -2,12 +2,12 @@ % % Silke Hofstra, silke@slxh.nl % -% Autoinst based file which loads the type1 version of Source Sans Pro +% OpenType version of Source Sans Pro for XeTeX and LuaTeX users. % % Licenced under the LPPL % \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{sourcesanspro-otf}[2012/10/31 v1.01 Adobe's Source Sans Pro typeface] +\ProvidesPackage{sourcesanspro-otf}[2012/11/04 v1.02 Adobe's Source Sans Pro typeface] % Check if engine is XeTeX or LuaTeX \RequirePackage{expl3}[2011/09/05] @@ -41,8 +41,8 @@ \let\ProcessOptionsX\ProcessOptions } -\DeclareOptionX{lining}{\edef\sourcesanspro@figurestyle{}}% No figure style is lining -\DeclareOptionX{nf}{\edef\sourcesanspro@figurestyle{}}% No figure style is lining +\DeclareOptionX{lining}{\edef\sourcesanspro@figurestyle{}}% An empty figure style is lining +\DeclareOptionX{nf}{\edef\sourcesanspro@figurestyle{}}% An empty figure style is lining \DeclareOptionX{oldstyle}{\edef\sourcesanspro@figurestyle{OldStyle}} \DeclareOptionX{osf}{\edef\sourcesanspro@figurestyle{OldStyle}} \DeclareOptionX{tabular}{\edef\sourcesanspro@figurealign{Monospaced}} @@ -93,5 +93,8 @@ BoldFont = *-Black , BoldItalicFont = *-BlackIt ] {SourceSansPro} - + +% Old Style numbers +\renewcommand*\oldstylenums[1]{\addfontfeature{Numbers=OldStyle}#1} + \endinput
\ No newline at end of file |