diff options
author | Karl Berry <karl@freefriends.org> | 2013-10-23 00:51:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-10-23 00:51:38 +0000 |
commit | 25b4249006853890a962fd3b626d3741b0bc1423 (patch) | |
tree | 235671d73266eaf6cc11d5531ee2116cec60ad10 /Master/texmf-dist/tex/latex/sourcesanspro | |
parent | b41ae411cb21a31bee776608ff281bb6d78dc252 (diff) |
sourcesanspro (22oct13)
git-svn-id: svn://tug.org/texlive/trunk@31970 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcesanspro')
-rw-r--r-- | Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty index 150788ee76a..790c5cf09dc 100644 --- a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty +++ b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty @@ -8,7 +8,7 @@ % Licenced under the LPPL v1.3 or higher. % \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{sourcesanspro}[2013/04/26 v2.2 Adobe's Source Sans Pro typeface] +\ProvidesPackage{sourcesanspro}[2013/09/23 v2.3 Adobe's Source Sans Pro typeface] \RequirePackage{ifxetex,ifluatex,xkeyval} @@ -68,37 +68,37 @@ % Oldstyle/Lining \ifsourcesanspro@oldstyle - \edef\sourcesanspro@figurestyle{OldStyle} + \def\sourcesanspro@figurestyle{OldStyle} \else - \edef\sourcesanspro@figurestyle{} + \def\sourcesanspro@figurestyle{} \fi % Tabular/Proportional \ifsourcesanspro@tabular - \edef\sourcesanspro@figurealign{Monospaced} + \def\sourcesanspro@figurealign{Monospaced} \else - \edef\sourcesanspro@figurealign{Proportional} + \def\sourcesanspro@figurealign{Proportional} \fi % Black/Semibold/Bold \ifsourcesanspro@black - \edef\sourcesanspro@boldstyle{Black} + \def\sourcesanspro@boldstyle{Black} \else \ifsourcesanspro@semibold - \edef\sourcesanspro@boldstyle{Semibold} + \def\sourcesanspro@boldstyle{Semibold} \else - \edef\sourcesanspro@boldstyle{Bold} + \def\sourcesanspro@boldstyle{Bold} \fi \fi % Light/ExtraLight/Regular \ifsourcesanspro@light - \edef\sourcesanspro@regstyle{Light} + \def\sourcesanspro@regstyle{Light} \else \ifsourcesanspro@extralight - \edef\sourcesanspro@regstyle{ExtraLight} + \def\sourcesanspro@regstyle{ExtraLight} \else - \edef\sourcesanspro@regstyle{Regular} + \def\sourcesanspro@regstyle{Regular} \fi \fi @@ -159,40 +159,41 @@ % Load type1 font. \else \RequirePackage[OT1,LY1,T1]{fontenc} + \RequirePackage{mweights} % Oldstyle/Lining \ifsourcesanspro@oldstyle - \edef\sourcesanspro@figurestyle{OsF} + \def\sourcesanspro@figurestyle{OsF} \else - \edef\sourcesanspro@figurestyle{LF} + \def\sourcesanspro@figurestyle{LF} \fi % Tabular/Proportional \ifsourcesanspro@tabular - \edef\sourcesanspro@figurealign{T} + \def\sourcesanspro@figurealign{T} \else - \edef\sourcesanspro@figurealign{} + \def\sourcesanspro@figurealign{} \fi % Black/Semibold/Bold \ifsourcesanspro@black - \renewcommand*{\bfdefault}{k} + \def\bfseries@sf{k} \else \ifsourcesanspro@semibold - \renewcommand*{\bfdefault}{sb} + \def\bfseries@sf{sb} \else - \renewcommand*{\bfdefault}{b} + \def\bfseries@sf{b} \fi \fi % Light/ExtraLight/Regular \ifsourcesanspro@light - \renewcommand*{\mddefault}{l} + \def\mdseries@sf{l} \else \ifsourcesanspro@extralight - \renewcommand*{\mddefault}{el} + \def\mdseries@sf{el} \else - \renewcommand*{\mddefault}{m} + \def\mdseries@sf{m} \fi \fi |