diff options
author | Karl Berry <karl@freefriends.org> | 2012-11-02 23:39:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-11-02 23:39:02 +0000 |
commit | 81a659da59a157702e7d02cb36177f8bf9dae57c (patch) | |
tree | 98e1fd9ad82897fd777b43b2ced8aaed3fe301af /Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1-autoinst.sty | |
parent | 97a3576bc906866a218e39f989e687700efceed8 (diff) |
new font sourcecodepro (1nov12)
git-svn-id: svn://tug.org/texlive/trunk@28157 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1-autoinst.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1-autoinst.sty | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1-autoinst.sty b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1-autoinst.sty new file mode 100644 index 00000000000..3c9be240682 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1-autoinst.sty @@ -0,0 +1,55 @@ +%% Generated by autoinst on 2012/10/31 +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{SourceCodePro} + [2012/10/31 (autoinst) Style file for SourceCodePro.] + +\RequirePackage[T1,LY1]{fontenc} +\RequirePackage{textcomp} +\IfFileExists{fontaxes.sty}{ + \RequirePackage{fontaxes} + \providecommand{\tldefault}{tl} + \DeclareRobustCommand\tlshape{\not@math@alphabet\tlshape\relax + \fontsecondaryshape\tldefault\selectfont} + \DeclareTextFontCommand{\texttl}{\tlshape} + \let\texttitling\texttl + \fa@naming@exception{shape}{{n}{tl}}{tl} + \fa@naming@exception{shape}{{it}{tl}}{tlit} + + \fa@naming@exception{figures}{{superior}{proportional}}{Sup} + \fa@naming@exception{figures}{{superior}{tabular}}{Sup} + \def\sufigures{\@nomath\sufigures + \fontfigurestyle{superior}\selectfont} + \DeclareTextFontCommand{\textsu}{\sufigures} + \let\textsuperior\textsu + +}{} + +\IfFileExists{xkeyval.sty}{ + \newcommand*{\SourceCodePro@scale}{1} + \RequirePackage{xkeyval} + \DeclareOptionX{scaled}{\renewcommand*{\SourceCodePro@scale}{##1}} +}{ + \let\DeclareOptionX\DeclareOption + \let\ExecuteOptionsX\ExecuteOptions + \let\ProcessOptionsX\ProcessOptions +} + +\DeclareOptionX{lining}{\edef\SourceCodePro@figurestyle{LF}} +\DeclareOptionX{oldstyle}{\edef\SourceCodePro@figurestyle{OsF}} +\DeclareOptionX{tabular}{\edef\SourceCodePro@figurealign{T}} +\DeclareOptionX{proportional}{\edef\SourceCodePro@figurealign{}} +\DeclareOptionX{black}{\renewcommand*{\bfdefault}{k}} +\DeclareOptionX{semibold}{\renewcommand*{\bfdefault}{sb}} +\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}} +\DeclareOptionX{light}{\renewcommand*{\mddefault}{l}} +\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}} +\ExecuteOptionsX{oldstyle,proportional,bold,regular} +\ProcessOptionsX\relax + +\renewcommand* + {\sfdefault} + {SourceCodePro-\SourceCodePro@figurealign\SourceCodePro@figurestyle} +\renewcommand*{\familydefault}{\sfdefault} + +\endinput |