summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-01 22:21:09 +0000
committerKarl Berry <karl@freefriends.org>2013-01-01 22:21:09 +0000
commit4f73764475a4145b88ca43c0b2bd8fbdbee6b9a2 (patch)
tree4bfde9ff650b199ff00c937600d396adcd272d16 /Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
parent50501ecb6d89f07bba57700bb34031abc5379fc8 (diff)
ebgaramond (1jan13)
git-svn-id: svn://tug.org/texlive/trunk@28685 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.sty8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty b/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
index e5b652629f3..740a146349e 100644
--- a/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
+++ b/Master/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
@@ -103,8 +103,10 @@
ItalicFont = *-Italic ,
]
{EBGaramond12}
+ \newfontface\ebgaramond@initials{EBGaramond-Initials}
\DeclareTextFontCommand{\oldstylenums}{\ebgaramondOsF}
\DeclareTextFontCommand{\liningnums}{\ebgaramondLF}
+ \DeclareTextFontCommand{\textin}{\ebgaramond@initials}
\else % type1
@@ -122,14 +124,17 @@
\fa@naming@exception{figures}{{superior}{tabular}}{Sup}
\def\sufigures{\@nomath\sufigures\fontfigurestyle{superior}\selectfont}
+ \def\initials{\fontfamily{EBGaramondInitials-TLF}\selectfont}
+
\DeclareTextFontCommand{\oldstylenums}{\fontfamily{EBGaramond-\ebgaramond@figurealign OsF}\selectfont}
\DeclareTextFontCommand{\liningnums}{\fontfamily{EBGaramond-\ebgaramond@figurealign LF}\selectfont}
+ \DeclareTextFontCommand{\textin}{\fontfamily{EBGaramondInitials-TLF}\selectfont}
\fi
+
\DeclareTextFontCommand{\textsu}{\sufigures}
\DeclareTextFontCommand{\textsw}{\swshape}
-
\ifebgaramond@otf
\newfontfamily\ebgaramondtabular
[ Numbers = {Monospaced,\ebgaramond@figurestyle},
@@ -152,6 +157,7 @@
\renewcommand{\bfdefault}{m}
+
\ifebgaramond@otf
\defaultfontfeatures{}
\fi