diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty b/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty index 8d1bd93c6b8..111339eccee 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} - [2014/07/02 (Bob Tennent) Style file for EB Garamond fonts.] + [2014/07/07 (Bob Tennent and autoinst) Style file for EB Garamond fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -17,9 +17,10 @@ \newif\ifebgaramond@tabular \ebgaramond@tabularfalse \newcommand*{\EBGaramond@scale}{1} +\newcommand*{\EBGaramondInitials@scale}{1} \RequirePackage{xkeyval} -\DeclareOptionX{scaled}{\renewcommand*{\EBGaramond@scale}{#1}} -\DeclareOptionX{scale}{\renewcommand*{\EBGaramond@scale}{#1}} +\DeclareOptionX{scaled}{\renewcommand*{\EBGaramond@scale}{#1}\renewcommand*{\EBGaramondInitials@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\EBGaramond@scale}{#1}\renewcommand*{\EBGaramondInitials@scale}{#1}} \DeclareOptionX{type1}{\ebgaramond@otffalse} \DeclareOptionX{lining}{\ebgaramond@liningtrue} \DeclareOptionX{nf}{\ebgaramond@liningtrue} @@ -125,6 +126,10 @@ \renewcommand*\rmdefault{\ebgaramond@family} \newcommand*\ebgaramond{\fontfamily{\ebgaramond@family}\selectfont} + \providecommand{\tldefault}{tl} + \DeclareRobustCommand\tlshape{\not@math@alphabet\tlshape\relax + \fontsecondaryshape\tldefault\selectfont} + \DeclareRobustCommand\swshape{\not@math@alphabet\swshape\relax \fontprimaryshape\itdefault\fontsecondaryshape\swdefault\selectfont} \fa@naming@exception{shape}{{n}{sw}}{nw} @@ -179,6 +184,7 @@ \DeclareMicrotypeAlias{EBGaramond-LF}{EBGaramond} \DeclareMicrotypeAlias{EBGaramond-OsF}{EBGaramond} \DeclareMicrotypeAlias{EBGaramond-Sup}{EBGaramond} + \DeclareMicrotypeAlias{EBGaramond-Inf}{EBGaramond} \DeclareMicrotypeAlias{EBGaramond-TLF}{EBGaramond} \DeclareMicrotypeAlias{EBGaramond-TOsF}{EBGaramond} \DeclareMicrotypeAlias{EBGaramondInitials-TLF}{EBGaramondInitials} |