summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-02-20 23:59:42 +0000
committerKarl Berry <karl@freefriends.org>2013-02-20 23:59:42 +0000
commitcf06deda66c7bd6d96e3a9d5cc75694897c6774e (patch)
tree7003a9244736d4a2c5508aa8baec347bf3eeaa20 /Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
parentc7a38904c0161687ebcf98ad1be2615120f52e9d (diff)
ebgaramond (20feb13)
git-svn-id: svn://tug.org/texlive/trunk@29180 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.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}