summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-05 22:33:08 +0000
committerKarl Berry <karl@freefriends.org>2012-11-05 22:33:08 +0000
commitc7b15e7737961742038c76533dd702b822d87537 (patch)
tree0119d6c69cc420c34d80e5c5861c4b6465e967bf /Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty
parent8d39e06ebf6b272178c564daec3f1e8925c4ac78 (diff)
sourcesanspro (5nov12)
git-svn-id: svn://tug.org/texlive/trunk@28188 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty')
-rw-r--r--Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-otf.sty13
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