diff options
author | Karl Berry <karl@freefriends.org> | 2013-07-17 22:11:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-07-17 22:11:41 +0000 |
commit | 989e69000a109aa206742cc979fb247b9294ef7a (patch) | |
tree | 02508eb5b078b0426973b1930038f2558f916751 /Master/texmf-dist/tex/latex/cabin/cabin.sty | |
parent | f4ee7dde5f0c6c40a915cab1611912f70c73df3f (diff) |
cabin (17jul13)
git-svn-id: svn://tug.org/texlive/trunk@31219 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cabin/cabin.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/cabin/cabin.sty | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/cabin/cabin.sty b/Master/texmf-dist/tex/latex/cabin/cabin.sty index a4df565ff83..20b6b23767d 100644 --- a/Master/texmf-dist/tex/latex/cabin/cabin.sty +++ b/Master/texmf-dist/tex/latex/cabin/cabin.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{cabin} - [2013/06/22 (Bob Tennent) Supports Cabin fonts for all LaTeX engines.] + [2013/07/16 (Bob Tennent) Supports Cabin fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -50,8 +50,16 @@ \else % type1 -% now using \ifcabin@semibold and \ifcabin@medium in .fd files - + \ifcabin@semibold + \edef\cabin@boldstyle{sb} + \else + \edef\cabin@boldstyle{b} + \fi + \ifcabin@medium + \edef\cabin@regstyle{mb} + \else + \edef\cabin@regstyle{m} + \fi \fi \ifcabin@otf @@ -104,6 +112,10 @@ \ifcabin@default\renewcommand*\familydefault{\cabincondensedfamily}\fi \else \renewcommand*\sfdefault{\cabinfamily} + \let\mdseries@cabin\mdseries + \renewcommand*\mdseries{\ifx\f@family\cabinfamily\fontseries\cabin@regstyle\selectfont\else\mdseries@cabin\fi} + \let\bfseries@cabin\bfseries + \renewcommand*\bfseries{\ifx\f@family\cabinfamily\fontseries\cabin@boldstyle\selectfont\else\bfseries@cabin\fi} \ifcabin@default\renewcommand*\familydefault{\cabinfamily}\fi \fi \newcommand*\cabin{\fontfamily{\cabinfamily}\selectfont} |