summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fira/FiraMono.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-24 21:29:44 +0000
committerKarl Berry <karl@freefriends.org>2018-05-24 21:29:44 +0000
commit02c7b1553e2e3ea2657ff01c3a87c5b27da2bb6a (patch)
tree527cbdcc295af819497d57365332697a8199234d /Master/texmf-dist/tex/latex/fira/FiraMono.sty
parent7895df6ab5d011bd09484b5aba16db682a2621e9 (diff)
fira (24may18)
git-svn-id: svn://tug.org/texlive/trunk@47824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fira/FiraMono.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fira/FiraMono.sty26
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{}