summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty')
-rw-r--r--Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty43
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