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.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