diff options
author | Karl Berry <karl@freefriends.org> | 2012-11-02 23:40:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-11-02 23:40:30 +0000 |
commit | 245ddb2d09fafe8a9e776e08cbfcbf40a8d66a63 (patch) | |
tree | 6978f4b00bc9a5728c13cd745289aac40b720e23 /Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty | |
parent | 81a659da59a157702e7d02cb36177f8bf9dae57c (diff) |
sourcesanspro (1nov12)
git-svn-id: svn://tug.org/texlive/trunk@28158 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty new file mode 100644 index 00000000000..d20f5db81f8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty @@ -0,0 +1,30 @@ +% Source Sans Pro for LaTeX +% +% Silke Hofstra, silke@slxh.nl +% +% This file selects either the OTF or the TYPE1 package based on your engine. +% +% Licenced under the LPPL +% +\NeedsTeXFormat{LaTeX2e}[1994/12/01] +\ProvidesPackage{sourcesanspro}[2012/10/31 v1.01 Adobe's Source Sans Pro typeface] +% +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \edef\sourcesanspro@pack{otf} +\else + \ifluatex + \edef\sourcesanspro@pack{otf} + \else + \edef\sourcesanspro@pack{type1} + \RequirePackage[LY1,T1]{fontenc} + \fi +\fi +% +\DeclareOption*{ + \PassOptionsToPackage{\CurrentOption}{sourcesanspro-\sourcesanspro@pack}% +} +\ProcessOptions\relax +% +\RequirePackage{sourcesanspro-\sourcesanspro@pack} +\endinput
\ No newline at end of file |