diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1.sty | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1.sty b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1.sty index af8b0bbdc9b..a12c07cdc7f 100644 --- a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1.sty +++ b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1.sty @@ -7,10 +7,11 @@ % Licenced under the LPPL % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{sourcesanspro-type1}[2012/10/31 v1.01 Adobe's Source Sans Pro typeface] +\ProvidesPackage{sourcesanspro-type1}[2012/11/04 v1.02 Adobe's Source Sans Pro typeface] -\RequirePackage[T1,LY1]{fontenc} +\RequirePackage[LY1,T1]{fontenc} \RequirePackage{textcomp} + \IfFileExists{fontaxes.sty}{ \RequirePackage{fontaxes} \providecommand{\tldefault}{tl} @@ -56,6 +57,16 @@ \ExecuteOptionsX{lining,proportional,bold,regular} \ProcessOptionsX\relax +\renewcommand*\oldstylenums[1]{% + \begingroup + \ifmmode + \mathgroup\symletters #1% + \else + \fontfamily{SourceSansPro-\sourcesanspro@figurealign OsF}\selectfont #1% + \fi + \endgroup +} + \renewcommand* {\sfdefault} {SourceSansPro-\sourcesanspro@figurealign\sourcesanspro@figurestyle} |