summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-24 00:12:10 +0000
committerKarl Berry <karl@freefriends.org>2012-12-24 00:12:10 +0000
commit375e97afcbbf8e590636347387a3f5060b442f22 (patch)
treed5faba8513eb31e7543445d014a6981b3ebabd0b /Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
parent4666bd35c616966683209deeedb3a183f7c63ba9 (diff)
ebgaramond (23dec12)
git-svn-id: svn://tug.org/texlive/trunk@28626 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty56
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