diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro.sty | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro.sty b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro.sty new file mode 100644 index 00000000000..51e12d5f8a7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro.sty @@ -0,0 +1,30 @@ +% Source Code 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{sourcecodepro}[2012/10/31 v1.01 Adobe's Source Code Pro typeface] +% +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \edef\sourcecodepro@pack{otf} +\else + \ifluatex + \edef\sourcecodepro@pack{otf} + \else + \edef\sourcecodepro@pack{type1} + \RequirePackage[LY1,T1]{fontenc} + \fi +\fi +% +\DeclareOption*{ + \PassOptionsToPackage{\CurrentOption}{sourcecodepro-\sourcecodepro@pack}% +} +\ProcessOptions\relax +% +\RequirePackage{sourcecodepro-\sourcecodepro@pack} +\endinput
\ No newline at end of file |