From 81a659da59a157702e7d02cb36177f8bf9dae57c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 2 Nov 2012 23:39:02 +0000 Subject: new font sourcecodepro (1nov12) git-svn-id: svn://tug.org/texlive/trunk@28157 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/sourcecodepro/LY1SourceCodePro-OsF.fd | 38 +++++++++ .../latex/sourcecodepro/LY1SourceCodePro-Sup.fd | 38 +++++++++ .../latex/sourcecodepro/LY1SourceCodePro-TLF.fd | 62 ++++++++++++++ .../latex/sourcecodepro/LY1SourceCodePro-TOsF.fd | 38 +++++++++ .../latex/sourcecodepro/OT1SourceCodePro-OsF.fd | 38 +++++++++ .../latex/sourcecodepro/OT1SourceCodePro-Sup.fd | 38 +++++++++ .../latex/sourcecodepro/OT1SourceCodePro-TLF.fd | 62 ++++++++++++++ .../latex/sourcecodepro/OT1SourceCodePro-TOsF.fd | 38 +++++++++ .../tex/latex/sourcecodepro/T1SourceCodePro-OsF.fd | 38 +++++++++ .../tex/latex/sourcecodepro/T1SourceCodePro-Sup.fd | 38 +++++++++ .../tex/latex/sourcecodepro/T1SourceCodePro-TLF.fd | 62 ++++++++++++++ .../latex/sourcecodepro/T1SourceCodePro-TOsF.fd | 38 +++++++++ .../latex/sourcecodepro/TS1SourceCodePro-OsF.fd | 38 +++++++++ .../latex/sourcecodepro/TS1SourceCodePro-TLF.fd | 38 +++++++++ .../latex/sourcecodepro/TS1SourceCodePro-TOsF.fd | 38 +++++++++ .../tex/latex/sourcecodepro/sourcecodepro-otf.sty | 97 ++++++++++++++++++++++ .../sourcecodepro/sourcecodepro-type1-autoinst.sty | 55 ++++++++++++ .../latex/sourcecodepro/sourcecodepro-type1.sty | 65 +++++++++++++++ .../tex/latex/sourcecodepro/sourcecodepro.sty | 30 +++++++ 19 files changed, 889 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-Sup.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TOsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-Sup.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TOsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-Sup.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TOsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TOsF.fd create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-otf.sty create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1-autoinst.sty create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1.sty create mode 100644 Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro.sty (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-OsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-OsF.fd new file mode 100644 index 00000000000..520391786a4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-OsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{LY1SourceCodePro-OsF.fd} + [2012/10/31 (autoinst) Font definitions for LY1/SourceCodePro-OsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{SourceCodePro-OsF}{} + +\DeclareFontShape{LY1}{SourceCodePro-OsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-osf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-OsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-osf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-OsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-osf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-OsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-osf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-OsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-osf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-OsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-osf-ly1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-Sup.fd b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-Sup.fd new file mode 100644 index 00000000000..52b110fef53 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-Sup.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{LY1SourceCodePro-Sup.fd} + [2012/10/31 (autoinst) Font definitions for LY1/SourceCodePro-Sup.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{SourceCodePro-Sup}{} + +\DeclareFontShape{LY1}{SourceCodePro-Sup}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-sup-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-Sup}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-sup-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-Sup}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-sup-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-Sup}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-sup-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-Sup}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-sup-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-Sup}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-sup-ly1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TLF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TLF.fd new file mode 100644 index 00000000000..6ef3e943fee --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TLF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{LY1SourceCodePro-TLF.fd} + [2012/10/31 (autoinst) Font definitions for LY1/SourceCodePro-TLF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{SourceCodePro-TLF}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{l}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tlf-titling-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{k}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tlf-titling-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{b}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tlf-titling-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{sb}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tlf-titling-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{m}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tlf-titling-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{el}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tlf-titling-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TLF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tlf-ly1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TOsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TOsF.fd new file mode 100644 index 00000000000..99c56fa2d34 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/LY1SourceCodePro-TOsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{LY1SourceCodePro-TOsF.fd} + [2012/10/31 (autoinst) Font definitions for LY1/SourceCodePro-TOsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{SourceCodePro-TOsF}{} + +\DeclareFontShape{LY1}{SourceCodePro-TOsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tosf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TOsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tosf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TOsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tosf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TOsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tosf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TOsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tosf-ly1 +}{} + +\DeclareFontShape{LY1}{SourceCodePro-TOsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tosf-ly1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-OsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-OsF.fd new file mode 100644 index 00000000000..8a967b0d3b0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-OsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{OT1SourceCodePro-OsF.fd} + [2012/10/31 (autoinst) Font definitions for OT1/SourceCodePro-OsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{SourceCodePro-OsF}{} + +\DeclareFontShape{OT1}{SourceCodePro-OsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-osf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-OsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-osf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-OsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-osf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-OsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-osf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-OsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-osf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-OsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-osf-ot1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-Sup.fd b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-Sup.fd new file mode 100644 index 00000000000..542707d24af --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-Sup.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{OT1SourceCodePro-Sup.fd} + [2012/10/31 (autoinst) Font definitions for OT1/SourceCodePro-Sup.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{SourceCodePro-Sup}{} + +\DeclareFontShape{OT1}{SourceCodePro-Sup}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-sup-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-Sup}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-sup-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-Sup}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-sup-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-Sup}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-sup-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-Sup}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-sup-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-Sup}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-sup-ot1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TLF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TLF.fd new file mode 100644 index 00000000000..efcb084b4aa --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TLF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{OT1SourceCodePro-TLF.fd} + [2012/10/31 (autoinst) Font definitions for OT1/SourceCodePro-TLF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{SourceCodePro-TLF}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{l}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tlf-titling-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{k}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tlf-titling-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{b}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tlf-titling-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{sb}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tlf-titling-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{m}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tlf-titling-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{el}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tlf-titling-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TLF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tlf-ot1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TOsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TOsF.fd new file mode 100644 index 00000000000..6ffa35a3fdb --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/OT1SourceCodePro-TOsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{OT1SourceCodePro-TOsF.fd} + [2012/10/31 (autoinst) Font definitions for OT1/SourceCodePro-TOsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{SourceCodePro-TOsF}{} + +\DeclareFontShape{OT1}{SourceCodePro-TOsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tosf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TOsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tosf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TOsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tosf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TOsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tosf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TOsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tosf-ot1 +}{} + +\DeclareFontShape{OT1}{SourceCodePro-TOsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tosf-ot1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-OsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-OsF.fd new file mode 100644 index 00000000000..82b2b5babf6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-OsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{T1SourceCodePro-OsF.fd} + [2012/10/31 (autoinst) Font definitions for T1/SourceCodePro-OsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{SourceCodePro-OsF}{} + +\DeclareFontShape{T1}{SourceCodePro-OsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-osf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-OsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-osf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-OsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-osf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-OsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-osf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-OsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-osf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-OsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-osf-t1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-Sup.fd b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-Sup.fd new file mode 100644 index 00000000000..0df9bd0d043 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-Sup.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{T1SourceCodePro-Sup.fd} + [2012/10/31 (autoinst) Font definitions for T1/SourceCodePro-Sup.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{SourceCodePro-Sup}{} + +\DeclareFontShape{T1}{SourceCodePro-Sup}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-sup-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-Sup}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-sup-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-Sup}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-sup-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-Sup}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-sup-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-Sup}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-sup-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-Sup}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-sup-t1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TLF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TLF.fd new file mode 100644 index 00000000000..c078d8f7aac --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TLF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{T1SourceCodePro-TLF.fd} + [2012/10/31 (autoinst) Font definitions for T1/SourceCodePro-TLF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{SourceCodePro-TLF}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{l}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tlf-titling-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tlf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{k}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tlf-titling-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tlf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{b}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tlf-titling-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tlf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{sb}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tlf-titling-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tlf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{m}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tlf-titling-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tlf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{el}{tl}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tlf-titling-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TLF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tlf-t1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TOsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TOsF.fd new file mode 100644 index 00000000000..e831c693d85 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/T1SourceCodePro-TOsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{T1SourceCodePro-TOsF.fd} + [2012/10/31 (autoinst) Font definitions for T1/SourceCodePro-TOsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{SourceCodePro-TOsF}{} + +\DeclareFontShape{T1}{SourceCodePro-TOsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tosf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TOsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tosf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TOsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tosf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TOsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tosf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TOsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tosf-t1 +}{} + +\DeclareFontShape{T1}{SourceCodePro-TOsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tosf-t1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-OsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-OsF.fd new file mode 100644 index 00000000000..128d30edc01 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-OsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{TS1SourceCodePro-OsF.fd} + [2012/10/31 (autoinst) Font definitions for TS1/SourceCodePro-OsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{SourceCodePro-OsF}{} + +\DeclareFontShape{TS1}{SourceCodePro-OsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-osf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-OsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-osf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-OsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-osf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-OsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-osf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-OsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-osf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-OsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-osf-ts1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TLF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TLF.fd new file mode 100644 index 00000000000..41fa5cda07f --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TLF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{TS1SourceCodePro-TLF.fd} + [2012/10/31 (autoinst) Font definitions for TS1/SourceCodePro-TLF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{SourceCodePro-TLF}{} + +\DeclareFontShape{TS1}{SourceCodePro-TLF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TLF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TLF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TLF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TLF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TLF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tlf-ts1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TOsF.fd b/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TOsF.fd new file mode 100644 index 00000000000..0a7c71098d0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/TS1SourceCodePro-TOsF.fd @@ -0,0 +1,38 @@ +%% Generated by autoinst on 2012/10/31 +%% +\ProvidesFile{TS1SourceCodePro-TOsF.fd} + [2012/10/31 (autoinst) Font definitions for TS1/SourceCodePro-TOsF.] + +\expandafter\ifx\csname SourceCodePro@scale\endcsname\relax + \let\SourceCodePro@@scale\@empty +\else + \edef\SourceCodePro@@scale{s*[\csname SourceCodePro@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{SourceCodePro-TOsF}{} + +\DeclareFontShape{TS1}{SourceCodePro-TOsF}{l}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Light-tosf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TOsF}{k}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Black-tosf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TOsF}{b}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Bold-tosf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TOsF}{sb}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Semibold-tosf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TOsF}{m}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-Regular-tosf-ts1 +}{} + +\DeclareFontShape{TS1}{SourceCodePro-TOsF}{el}{n}{ + <-> \SourceCodePro@@scale SourceCodePro-ExtraLight-tosf-ts1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-otf.sty b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-otf.sty new file mode 100644 index 00000000000..e3674aefa4d --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-otf.sty @@ -0,0 +1,97 @@ +% Source Code Pro for LaTeX +% +% Silke Hofstra, silke@slxh.nl +% +% Autoinst based file which loads the type1 version of Source Code Pro +% +% Licenced under the LPPL +% +\NeedsTeXFormat{LaTeX2e}[1994/12/01] +\ProvidesPackage{sourcecodepro-otf}[2012/10/31 v1.01 Adobe's Source Code Pro typeface] + +% Check if engine is XeTeX or LuaTeX +\RequirePackage{expl3}[2011/09/05] +\ExplSyntaxOn +\msg_new:nnn {sourcecodepro-otf} {cannot-use-pdftex} +{ + The~ sourcecodepro-otf~ package~ requires~ either~ XeTeX~ or~ LuaTeX~ to~ function. + \\\\ + You~ must~ change~ your~ typesetting~ engine~ to,~ + e.g.,~ "xelatex"~ or~ "lualatex"\\ + instead~ of~ plain~ "latex"~ or~ "pdflatex". +} +\xetex_if_engine:F { + \luatex_if_engine:TF { + \RequirePackage{luaotfload} + \RequireLuaModule{fontspec} + }{ + \msg_fatal:nn {sourcecodepro-otf} {cannot-use-pdftex} + } +} + +\RequirePackage{fontspec} + +\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{Lining}} +\DeclareOptionX{nf}{\edef\sourcecodepro@figurestyle{Lining}} +\DeclareOptionX{oldstyle}{\edef\sourcecodepro@figurestyle{OldStyle}} +\DeclareOptionX{osf}{\edef\sourcecodepro@figurestyle{OldStyle}} +\DeclareOptionX{tabular}{\edef\sourcecodepro@figurealign{Monospaced}} +\DeclareOptionX{proportional}{\edef\sourcecodepro@figurealign{Proportional}} +\DeclareOptionX{black}{\edef\sourcecodepro@boldstyle{Black}} +\DeclareOptionX{semibold}{\edef\sourcecodepro@boldstyle{Semibold}} +\DeclareOptionX{bold}{\edef\sourcecodepro@boldstyle{Bold}} +\DeclareOptionX{light}{\edef\sourcecodepro@regstyle{Light}} +\DeclareOptionX{extralight}{\edef\sourcecodepro@regstyle{ExtraLight}} +\DeclareOptionX{regular}{\edef\sourcecodepro@regstyle{Regular}} +\DeclareOptionX{default}{\renewcommand*{\familydefault}{\ttdefault}} +\ExecuteOptionsX{lining,proportional,bold,regular} +\ProcessOptionsX\relax + +% Shared features +\defaultfontfeatures{ + Ligatures = TeX , + Numbers = {\sourcecodepro@figurealign , \sourcecodepro@figurestyle } , + Scale = \sourcecodepro@scale , + Extension = .otf } + +% Default font +\setmonofont + [ UprightFont = *-\sourcecodepro@regstyle , + ItalicFont = *-\sourcecodepro@regstyle , + BoldFont = *-\sourcecodepro@boldstyle , + BoldItalicFont = *-\sourcecodepro@boldstyle ] + {SourceCodePro} + +% Font commands +\newfontfamily\sourcecodepro + [ UprightFont = *-Regular , + ItalicFont = *-Regular , + BoldFont = *-Bold , + BoldItalicFont = *-Bold ] + {SourceCodePro} + +\newfontfamily\sourcecodeprolight + [ UprightFont = *-Light , + ItalicFont = *-Light , + BoldFont = *-Semibold , + BoldItalicFont = *-Semibold ] + {SourceCodePro} + +\newfontfamily\sourcecodeproextreme + [ UprightFont = *-ExtraLight , + ItalicFont = *-ExtraLight , + BoldFont = *-Black , + BoldItalicFont = *-Black ] + {SourceCodePro} + +\endinput \ No newline at end of file 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 diff --git a/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1.sty b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1.sty new file mode 100644 index 00000000000..ee77b9934ed --- /dev/null +++ b/Master/texmf-dist/tex/latex/sourcecodepro/sourcecodepro-type1.sty @@ -0,0 +1,65 @@ +% Source Code Pro for LaTeX +% +% Silke Hofstra, silke@slxh.nl +% +% Autoinst based file which loads the type1 version of Source Code Pro +% +% Licenced under the LPPL +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{sourcecodepro-type1} + [2012/10/31 v1.01 Adobe's Source Code Pro typeface] + +\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{nf}{\edef\sourcecodepro@figurestyle{LF}} +\DeclareOptionX{oldstyle}{\edef\sourcecodepro@figurestyle{OsF}} +\DeclareOptionX{osf}{\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{extralight}{\renewcommand*{\mddefault}{el}} +\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}} +\DeclareOptionX{default}{\renewcommand*{\familydefault}{\ttdefault}} +\ExecuteOptionsX{lining,tabular,bold,regular} +\ProcessOptionsX\relax + +\renewcommand* + {\ttdefault} + {SourceCodePro-\sourcecodepro@figurealign\sourcecodepro@figurestyle} + +\endinput 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 -- cgit v1.2.3