diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fira/FiraMono.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fira/FiraMono.sty | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/fira/FiraMono.sty b/Master/texmf-dist/tex/latex/fira/FiraMono.sty index 5e84450d008..0fa8688ac4c 100644 --- a/Master/texmf-dist/tex/latex/fira/FiraMono.sty +++ b/Master/texmf-dist/tex/latex/fira/FiraMono.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{FiraMono} - [2016/02/13 (Bob Tennent and autoinst) Style file for Fira Mono fonts.] + [2018/05/23 (Bob Tennent and autoinst) Style file for Fira Mono fonts.] % nomap option suggested by Harlan Lieberman-Berg (hlieberm@akamai.com) 2016-02-11 @@ -38,18 +38,18 @@ \iffiramono@otf \iffiramono@lining - \def\firamono@figurestyle{Lining} + \def\firamono@otffigurestyle{Tabular} \else - \def\firamono@figurestyle{OldStyle} - \fi -\else % type1 - \iffiramono@lining - \def\firamono@figurestyle{LF} - \else - \def\firamono@figurestyle{OsF} + \def\firamono@otffigurestyle{OldStyle} \fi \fi +\iffiramono@lining + \def\firamono@figurestyle{LF} +\else + \def\firamono@figurestyle{OsF} +\fi + \iffiramono@otf \def\firamono@boldstyle{Bold} \def\firamono@regstyle{Regular} @@ -82,7 +82,7 @@ Extension = .otf } \fi \setmonofont - [ Numbers = {Monospaced,\firamono@figurestyle}, + [ Numbers = {Monospaced,\firamono@otffigurestyle}, UprightFont = *-\firamono@regstyle , ItalicFont = *-\firamono@regstyle , BoldFont = *-\firamono@boldstyle , @@ -102,7 +102,7 @@ ] {FiraMono} \newfontfamily\firamonolining - [ Numbers = {Monospaced,Lining}, + [ Numbers = {Monospaced,Tabular}, UprightFont = *-\firamono@regstyle , ItalicFont = *-\firamono@regstyle , BoldFont = *-\firamono@boldstyle , @@ -110,7 +110,7 @@ ] {FiraMono} \newfontfamily\firamonomedium - [ Numbers = {Monospaced,\firamono@figurestyle}, + [ Numbers = {Monospaced,\firamono@otffigurestyle}, UprightFont = *-Medium , ItalicFont = *-Medium , BoldFont = *-\firamono@boldstyle , @@ -131,6 +131,8 @@ \def\firamonomedium{\fontfamily{\firamono@family}\fontseries{mb}\selectfont} \fi +% Use FiraSans-... as the family, even for otf +\def\firmonoalgr{\fontencoding{LGR}\fontfamily{FiraMono-T\fira@figurestyle}\selectfont} \iffiramono@otf \defaultfontfeatures{} |