summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty16
1 files changed, 15 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty b/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
index 740a146349e..f8c2c8edb27 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/20 (Bob Tennent and autoinst) Style file for EB Garamond fonts.]
+ [2013/02/19 (Bob Tennent and autoinst) Style file for EB Garamond fonts.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -155,6 +155,20 @@
\DeclareTextFontCommand{\proportionalnums}{\fontfamily{EBGaramond-\ebgaramond@figurestyle}\selectfont}
\fi
+\def\EBGaramond@MT@Hook{%
+ \DeclareMicrotypeAlias{EBGaramond-LF}{EBGaramond}
+ \DeclareMicrotypeAlias{EBGaramond-OsF}{EBGaramond}
+ \DeclareMicrotypeAlias{EBGaramond-Sup}{EBGaramond}
+ \DeclareMicrotypeAlias{EBGaramond-TLF}{EBGaramond}
+ \DeclareMicrotypeAlias{EBGaramond-TOsF}{EBGaramond}
+ \DeclareMicrotypeAlias{EBGaramondInitials-TLF}{EBGaramondInitials}
+}
+\@ifpackageloaded{microtype}
+{\EBGaramond@MT@Hook}
+{\@ifundefined{Microtype@Hook}
+ {\let\Microtype@Hook\EBGaramond@MT@Hook}
+ {\g@addto@macro\Microtype@Hook{\EBGaramond@MT@Hook}}}
+
\renewcommand{\bfdefault}{m}