diff options
author | Karl Berry <karl@freefriends.org> | 2014-03-17 22:51:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-03-17 22:51:11 +0000 |
commit | d2fdcda341379e2259065e66cccdaa1332819bc2 (patch) | |
tree | 9fa81bd2c7857fad5ab42bbc59f5f4c365b0bce0 /Master/texmf-dist/tex/latex | |
parent | 3e80c1e9b536ecb91cb18e7b6e4fa5930803d4f6 (diff) |
clearsans (17mar14)
git-svn-id: svn://tug.org/texlive/trunk@33207 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
13 files changed, 490 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/clearsans/ClearSans.sty b/Master/texmf-dist/tex/latex/clearsans/ClearSans.sty new file mode 100644 index 00000000000..992b4f71bae --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/ClearSans.sty @@ -0,0 +1,98 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{clear} + [2014/03/16 (Bob Tennent) Supports Clear-Sans fonts for all LaTeX engines.] + +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} + +\newif\ifclear@ttf +\ifxetex + \clear@ttftrue +\else\ifluatex + \clear@ttftrue +\else % [pdf]LaTeX + \clear@ttffalse +\fi\fi + +\newif\ifclear@default \clear@defaultfalse +\newif\ifclear@medium \clear@mediumfalse + +\newcommand*{\ClearSans@scale}{1} +\DeclareOptionX{scaled}{\renewcommand*{\ClearSans@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\ClearSans@scale}{#1}} + +\DeclareOptionX{sfdefault}{\clear@defaulttrue} +\DeclareOptionX{type1}{\clear@ttffalse} +\DeclareOptionX{medium}{\clear@mediumtrue} +\DeclareOptionX{regular}{\clear@mediumfalse} + +\ProcessOptionsX\relax + +\ifclear@ttf + \def\clear@boldstyle{Bold} + \ifclear@medium\def\clear@boldstyle{Medium}\fi + +\else % type1 + + \def\bfseries@sf{b} + \def\mdseries@sf{m} + \ifclear@medium\def\bfseries@sf{mb}\fi +\fi + +\ifclear@ttf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes,mweights} +\fi + +\ifclear@ttf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Scale = \ClearSans@scale , + Extension = .ttf } + \setsansfont + [ UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-\clear@boldstyle , + BoldItalicFont = *-\clear@boldstyle Italic ] + {ClearSans} + % grab current family in case of subsequent change: + \let\clearfamily\sfdefault + \ifclear@default\renewcommand*\familydefault{\clearfamily}\fi + \newfontfamily\clear + [ UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-\clear@boldstyle , + BoldItalicFont = *-\clear@boldstyle Italic + ] + {ClearSans} + \newfontfamily\clearlight + [ UprightFont = *-Light , + BoldFont = *-\clear@boldstyle , + BoldItalicFont = *-\clear@boldstyle Italic , + ] + {ClearSans} + \newfontfamily\clearthin + [ UprightFont = *-Thin , + BoldFont = *-\clear@boldstyle , + BoldItalicFont = *-\clear@boldstyle Italic + ] + {ClearSans} +\else % type1 + \def\clearfamily{ClearSans-LF} + \newcommand*\clear{\fontfamily{\clearfamily}\selectfont} + \def\sfdefault{\clearfamily} + \ifclear@default\edef\familydefault{\sfdefault}\edef\seriesdefault{\mdseries@sf}\fi + \newcommand*\clearlight{\fontfamily{ClearSansLight-LF}\selectfont} + \newcommand*\clearthin{\fontfamily{ClearSansThin-LF}\selectfont} +\fi + +\DeclareTextFontCommand{\textsfl}{\clearlight} +\DeclareTextFontCommand{\textsft}{\clearthin} + +\ifclear@ttf +% turn off defaults in case other fonts are selected: + \defaultfontfeatures{} +\fi + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/LY1ClearSans-LF.fd b/Master/texmf-dist/tex/latex/clearsans/LY1ClearSans-LF.fd new file mode 100644 index 00000000000..c0908ee674c --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/LY1ClearSans-LF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{LY1ClearSans-LF.fd} + [2014/03/14 (autoinst) Font definitions for LY1/ClearSans-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{ClearSans-LF}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{b}{n}{ + <-> \ClearSans@@scale ClearSans-Bold-lf-ly1 +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{b}{it}{ + <-> \ClearSans@@scale ClearSans-BoldItalic-lf-ly1 +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{b}{sl}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-lf-ly1 +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{m}{it}{ + <-> \ClearSans@@scale ClearSans-Italic-lf-ly1 +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{m}{sl}{ + <-> ssub * ClearSans-LF/m/it +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{mb}{n}{ + <-> \ClearSans@@scale ClearSans-Medium-lf-ly1 +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{mb}{it}{ + <-> \ClearSans@@scale ClearSans-MediumItalic-lf-ly1 +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{mb}{sl}{ + <-> ssub * ClearSans-LF/mb/it +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{bx}{sl}{ + <-> ssub * ClearSans-LF/b/sl +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{bx}{n}{ + <-> ssub * ClearSans-LF/b/n +}{} + +\DeclareFontShape{LY1}{ClearSans-LF}{bx}{it}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/LY1ClearSansLight-LF.fd b/Master/texmf-dist/tex/latex/clearsans/LY1ClearSansLight-LF.fd new file mode 100644 index 00000000000..b6b28db5de7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/LY1ClearSansLight-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{LY1ClearSansLight-LF.fd} + [2014/03/14 (autoinst) Font definitions for LY1/ClearSansLight-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{ClearSansLight-LF}{} + +\DeclareFontShape{LY1}{ClearSansLight-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Light-lf-ly1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/LY1ClearSansThin-LF.fd b/Master/texmf-dist/tex/latex/clearsans/LY1ClearSansThin-LF.fd new file mode 100644 index 00000000000..7442ceb2cb3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/LY1ClearSansThin-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{LY1ClearSansThin-LF.fd} + [2014/03/14 (autoinst) Font definitions for LY1/ClearSansThin-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{ClearSansThin-LF}{} + +\DeclareFontShape{LY1}{ClearSansThin-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Thin-lf-ly1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/OT1ClearSans-LF.fd b/Master/texmf-dist/tex/latex/clearsans/OT1ClearSans-LF.fd new file mode 100644 index 00000000000..fca3a44cd12 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/OT1ClearSans-LF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{OT1ClearSans-LF.fd} + [2014/03/14 (autoinst) Font definitions for OT1/ClearSans-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{ClearSans-LF}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{b}{n}{ + <-> \ClearSans@@scale ClearSans-Bold-lf-ot1 +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{b}{it}{ + <-> \ClearSans@@scale ClearSans-BoldItalic-lf-ot1 +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{b}{sl}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-lf-ot1 +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{m}{it}{ + <-> \ClearSans@@scale ClearSans-Italic-lf-ot1 +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{m}{sl}{ + <-> ssub * ClearSans-LF/m/it +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{mb}{n}{ + <-> \ClearSans@@scale ClearSans-Medium-lf-ot1 +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{mb}{it}{ + <-> \ClearSans@@scale ClearSans-MediumItalic-lf-ot1 +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{mb}{sl}{ + <-> ssub * ClearSans-LF/mb/it +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{bx}{sl}{ + <-> ssub * ClearSans-LF/b/sl +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{bx}{n}{ + <-> ssub * ClearSans-LF/b/n +}{} + +\DeclareFontShape{OT1}{ClearSans-LF}{bx}{it}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/OT1ClearSansLight-LF.fd b/Master/texmf-dist/tex/latex/clearsans/OT1ClearSansLight-LF.fd new file mode 100644 index 00000000000..f1a34a5b024 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/OT1ClearSansLight-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{OT1ClearSansLight-LF.fd} + [2014/03/14 (autoinst) Font definitions for OT1/ClearSansLight-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{ClearSansLight-LF}{} + +\DeclareFontShape{OT1}{ClearSansLight-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Light-lf-ot1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/OT1ClearSansThin-LF.fd b/Master/texmf-dist/tex/latex/clearsans/OT1ClearSansThin-LF.fd new file mode 100644 index 00000000000..88a452bf7ba --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/OT1ClearSansThin-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{OT1ClearSansThin-LF.fd} + [2014/03/14 (autoinst) Font definitions for OT1/ClearSansThin-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{ClearSansThin-LF}{} + +\DeclareFontShape{OT1}{ClearSansThin-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Thin-lf-ot1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/T1ClearSans-LF.fd b/Master/texmf-dist/tex/latex/clearsans/T1ClearSans-LF.fd new file mode 100644 index 00000000000..cce83ef1807 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/T1ClearSans-LF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{T1ClearSans-LF.fd} + [2014/03/14 (autoinst) Font definitions for T1/ClearSans-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{ClearSans-LF}{} + +\DeclareFontShape{T1}{ClearSans-LF}{b}{n}{ + <-> \ClearSans@@scale ClearSans-Bold-lf-t1 +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{b}{it}{ + <-> \ClearSans@@scale ClearSans-BoldItalic-lf-t1 +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{b}{sl}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-lf-t1 +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{m}{it}{ + <-> \ClearSans@@scale ClearSans-Italic-lf-t1 +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{m}{sl}{ + <-> ssub * ClearSans-LF/m/it +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{mb}{n}{ + <-> \ClearSans@@scale ClearSans-Medium-lf-t1 +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{mb}{it}{ + <-> \ClearSans@@scale ClearSans-MediumItalic-lf-t1 +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{mb}{sl}{ + <-> ssub * ClearSans-LF/mb/it +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{bx}{sl}{ + <-> ssub * ClearSans-LF/b/sl +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{bx}{n}{ + <-> ssub * ClearSans-LF/b/n +}{} + +\DeclareFontShape{T1}{ClearSans-LF}{bx}{it}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/T1ClearSansLight-LF.fd b/Master/texmf-dist/tex/latex/clearsans/T1ClearSansLight-LF.fd new file mode 100644 index 00000000000..174fd7a0930 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/T1ClearSansLight-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{T1ClearSansLight-LF.fd} + [2014/03/14 (autoinst) Font definitions for T1/ClearSansLight-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{ClearSansLight-LF}{} + +\DeclareFontShape{T1}{ClearSansLight-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Light-lf-t1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/T1ClearSansThin-LF.fd b/Master/texmf-dist/tex/latex/clearsans/T1ClearSansThin-LF.fd new file mode 100644 index 00000000000..00815f44cef --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/T1ClearSansThin-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{T1ClearSansThin-LF.fd} + [2014/03/14 (autoinst) Font definitions for T1/ClearSansThin-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{ClearSansThin-LF}{} + +\DeclareFontShape{T1}{ClearSansThin-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Thin-lf-t1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/TS1ClearSans-LF.fd b/Master/texmf-dist/tex/latex/clearsans/TS1ClearSans-LF.fd new file mode 100644 index 00000000000..b9637d489a8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/TS1ClearSans-LF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{TS1ClearSans-LF.fd} + [2014/03/14 (autoinst) Font definitions for TS1/ClearSans-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{ClearSans-LF}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{b}{n}{ + <-> \ClearSans@@scale ClearSans-Bold-lf-ts1 +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{b}{it}{ + <-> \ClearSans@@scale ClearSans-BoldItalic-lf-ts1 +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{b}{sl}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-lf-ts1 +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{m}{it}{ + <-> \ClearSans@@scale ClearSans-Italic-lf-ts1 +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{m}{sl}{ + <-> ssub * ClearSans-LF/m/it +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{mb}{n}{ + <-> \ClearSans@@scale ClearSans-Medium-lf-ts1 +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{mb}{it}{ + <-> \ClearSans@@scale ClearSans-MediumItalic-lf-ts1 +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{mb}{sl}{ + <-> ssub * ClearSans-LF/mb/it +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{bx}{sl}{ + <-> ssub * ClearSans-LF/b/sl +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{bx}{n}{ + <-> ssub * ClearSans-LF/b/n +}{} + +\DeclareFontShape{TS1}{ClearSans-LF}{bx}{it}{ + <-> ssub * ClearSans-LF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/TS1ClearSansLight-LF.fd b/Master/texmf-dist/tex/latex/clearsans/TS1ClearSansLight-LF.fd new file mode 100644 index 00000000000..0511c6213d1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/TS1ClearSansLight-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{TS1ClearSansLight-LF.fd} + [2014/03/14 (autoinst) Font definitions for TS1/ClearSansLight-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{ClearSansLight-LF}{} + +\DeclareFontShape{TS1}{ClearSansLight-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Light-lf-ts1 +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/clearsans/TS1ClearSansThin-LF.fd b/Master/texmf-dist/tex/latex/clearsans/TS1ClearSansThin-LF.fd new file mode 100644 index 00000000000..535220a034f --- /dev/null +++ b/Master/texmf-dist/tex/latex/clearsans/TS1ClearSansThin-LF.fd @@ -0,0 +1,18 @@ +%% Generated by autoinst on 2014/03/14 +%% +\ProvidesFile{TS1ClearSansThin-LF.fd} + [2014/03/14 (autoinst) Font definitions for TS1/ClearSansThin-LF.] + +\expandafter\ifx\csname ClearSans@scale\endcsname\relax + \let\ClearSans@@scale\@empty +\else + \edef\ClearSans@@scale{s*[\csname ClearSans@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{ClearSansThin-LF}{} + +\DeclareFontShape{TS1}{ClearSansThin-LF}{m}{n}{ + <-> \ClearSans@@scale ClearSans-Thin-lf-ts1 +}{} + +\endinput |