diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty | 56 |
1 files changed, 25 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty b/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty index eae3f7ac9f2..e5b652629f3 100644 --- a/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty +++ b/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ebgaramond} - [2012/12/19 (Bob Tennent and autoinst) Style file for EB Garamond fonts.] + [2012/12/20 (Bob Tennent and autoinst) Style file for EB Garamond fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -75,15 +75,13 @@ [ Numbers = {\ebgaramond@figurealign,\ebgaramond@figurestyle}, UprightFont = *-Regular , ItalicFont = *-Italic , - BoldFont = *-Bold , - BoldItalicFont = *-BoldItalic ] + ] {EBGaramond12} \newfontfamily\ebgaramond [ Numbers = {\ebgaramond@figurealign,\ebgaramond@figurestyle}, UprightFont = *-Regular , ItalicFont = *-Italic , - BoldFont = *-Bold , - BoldItalicFont = *-BoldItalic ] + ] {EBGaramond12} \providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}} \newfontfamily\swshape @@ -91,23 +89,20 @@ Numbers = {\ebgaramond@figurealign,\ebgaramond@figurestyle}, UprightFont = *-Italic , ItalicFont = *-Italic , - BoldFont = *-BoldItalic , - BoldItalicFont = *-BoldItalic ] + ] {EBGaramond12} \newfontfamily\ebgaramondOsF - [ Numbers = {\ebgaramond@figurealign,OldStyle}, - UprightFont = *-Regular, - ItalicFont = *-Italic, - BoldFont = *-Bold, - BoldItalicFont = *-BoldItalic, - ] {EBGaramond12} + [ Numbers = {\ebgaramond@figurealign,OldStyle}, + UprightFont = *-Regular , + ItalicFont = *-Italic , + ] + {EBGaramond12} \newfontfamily\ebgaramondLF - [ Numbers = {\ebgaramond@figurealign,Lining}, - UprightFont = *-Regular, - ItalicFont = *-Italic, - BoldFont = *-Bold, - BoldItalicFont = *-BoldItalic, - ] {EBGaramond12} + [ Numbers = {\ebgaramond@figurealign,Lining}, + UprightFont = *-Regular , + ItalicFont = *-Italic , + ] + {EBGaramond12} \DeclareTextFontCommand{\oldstylenums}{\ebgaramondOsF} \DeclareTextFontCommand{\liningnums}{\ebgaramondLF} @@ -115,7 +110,7 @@ \def\ebgaramond@family{EBGaramond-\ebgaramond@figurealign\ebgaramond@figurestyle} \renewcommand*\rmdefault{\ebgaramond@family} - \renewcommand*\bfdefault{b} + \renewcommand*\bfdefault{m} \newcommand*\ebgaramond{\fontfamily{\ebgaramond@family}\selectfont} \DeclareRobustCommand\swshape{\not@math@alphabet\swshape\relax @@ -135,22 +130,19 @@ \DeclareTextFontCommand{\textsw}{\swshape} - \ifebgaramond@otf \newfontfamily\ebgaramondtabular [ Numbers = {Monospaced,\ebgaramond@figurestyle}, - UprightFont = *-Regular, - ItalicFont = *-Italic, - BoldFont = *-Bold, - BoldItalicFont = *-BoldItalic, - ] {EBGaramond12} + UprightFont = *-Regular , + ItalicFont = *-Italic , + ] + {EBGaramond12} \newfontfamily\ebgaramondproportional [ Numbers = {Proportional,\ebgaramond@figurestyle}, - UprightFont = *-Regular, - ItalicFont = *-Italic, - BoldFont = *-Bold, - BoldItalicFont = *-BoldItalic, - ] {EBGaramond12} + UprightFont = *-Regular , + ItalicFont = *-Italic , + ] + {EBGaramond12} \DeclareTextFontCommand{\tabularnums}{\ebgaramondtabular} \DeclareTextFontCommand{\proportionalnums}{\ebgaramondproportional} \else % type1 @@ -158,6 +150,8 @@ \DeclareTextFontCommand{\proportionalnums}{\fontfamily{EBGaramond-\ebgaramond@figurestyle}\selectfont} \fi +\renewcommand{\bfdefault}{m} + \ifebgaramond@otf \defaultfontfeatures{} \fi |