summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty
blob: d20f5db81f86f7f8bd88d84d4c91cea1a7edbe2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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