summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-03 22:12:10 +0000
committerKarl Berry <karl@freefriends.org>2019-03-03 22:12:10 +0000
commit7e07cef908dd1d8eb18eb33e911a80b107170428 (patch)
tree1744357efc977275906d089fde9be169f52211ca /Master/texmf-dist/tex
parent8798e725a1902eb5d5ea42e3259f96ea386531aa (diff)
roboto (3mar19)
git-svn-id: svn://tug.org/texlive/trunk@50212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/roboto/roboto-mono.sty54
-rw-r--r--Master/texmf-dist/tex/latex/roboto/roboto.sty191
2 files changed, 215 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/roboto/roboto-mono.sty b/Master/texmf-dist/tex/latex/roboto/roboto-mono.sty
index 41a30ada84d..5e90a8f021c 100644
--- a/Master/texmf-dist/tex/latex/roboto/roboto-mono.sty
+++ b/Master/texmf-dist/tex/latex/roboto/roboto-mono.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{roboto-mono}
- [2018/04/10 (Bob Tennent) Supports RobotoMono fonts for all LaTeX engines.]
+ [2019/02/28 (Bob Tennent) Supports RobotoMono fonts for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -69,18 +69,58 @@
\setmonofont
[
UprightFont = *-\robotomono@regstyle ,
- ItalicFont = *-\ifx\robotomono@regstyle\robotomono@regular Italic\else\robotomono@regstyle Italic\fi ,
- BoldFont = *-\robotomono@boldstyle ,
- BoldItalicFont = *-\robotomono@boldstyle Italic ]
+ ItalicFont = *-\ifx\robotomono@regstyle\robotomono@regular Italic\else\robotomono@regstyle Italic\fi ,
+ BoldFont = *-\robotomono@boldstyle ,
+ BoldItalicFont = *-\robotomono@boldstyle Italic ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {t}{it}{*-ThinItalic},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {mb}{n}{*-Medium},
+ FontFace = {mb}{sc}{*-Medium},
+ FontFace = {mb}{sl}{*-Medium},
+ FontFace = {mb}{it}{*-MediumItalic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic} ]
{RobotoMono}
% grab current family in case of subsequent change:
\let\robotomonofamily\ttdefault
\newfontfamily\robotomono
[
UprightFont = *-\robotomono@regstyle ,
- ItalicFont = *-\ifx\robotomono@regstyle\robotomono@regular Italic\else\robotomono@regstyle Italic\fi ,
- BoldFont = *-\robotomono@boldstyle ,
- BoldItalicFont = *-\robotomono@boldstyle Italic ]
+ ItalicFont = *-\ifx\robotomono@regstyle\robotomono@regular Italic\else\robotomono@regstyle Italic\fi ,
+ BoldFont = *-\robotomono@boldstyle ,
+ BoldItalicFont = *-\robotomono@boldstyle Italic ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {t}{it}{*-ThinItalic},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {mb}{n}{*-Medium},
+ FontFace = {mb}{sc}{*-Medium},
+ FontFace = {mb}{sl}{*-Medium},
+ FontFace = {mb}{it}{*-MediumItalic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic} ]
{RobotoMono}
\else % type1
\def\robotomonofamily{RobotoMono-TLF}
diff --git a/Master/texmf-dist/tex/latex/roboto/roboto.sty b/Master/texmf-dist/tex/latex/roboto/roboto.sty
index 388ee5be2ba..7cf03f8a798 100644
--- a/Master/texmf-dist/tex/latex/roboto/roboto.sty
+++ b/Master/texmf-dist/tex/latex/roboto/roboto.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{roboto}
- [2017/04/10 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.]
+ [2019/03/01 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -72,6 +72,7 @@
\ifroboto@slab\def\mdseries@rm{t}\fi\fi
\ifroboto@light\def\mdseries@sf{l}
\ifroboto@slab\def\mdseries@rm{l}\fi\fi
+ \def\seriesdefault{\mdseries@rm}
\fi
@@ -118,16 +119,52 @@
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
- BoldFont = *-Bold ,
- BoldItalicFont = *-BoldItalic ]
+ BoldFont = *-Bold ,
+ BoldItalicFont = *-BoldItalic ,
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic} ]
{RobotoCondensed}
\else
\setsansfont
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
- BoldFont = *-\roboto@boldstyle ,
- BoldItalicFont = *-\roboto@boldstyle Italic ]
+ BoldFont = *-\roboto@boldstyle ,
+ BoldItalicFont = *-\roboto@boldstyle Italic ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {t}{it}{*-ThinItalic},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {mb}{n}{*-Medium},
+ FontFace = {mb}{sc}{*-Medium},
+ FontFace = {mb}{sl}{*-Medium},
+ FontFace = {mb}{it}{*-MediumItalic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic},
+ FontFace = {k}{n}{*-Black},
+ FontFace = {k}{sc}{*-Black},
+ FontFace = {k}{sl}{*-Black},
+ FontFace = {k}{it}{*-BlackItalic} ]
{Roboto}
\fi
% grab current family in case of subsequent change:
@@ -135,7 +172,19 @@
\ifroboto@slab
\setmainfont
[ UprightFont = *-\roboto@regstyle ,
- BoldFont = *-Bold ]
+ BoldFont = *-Bold ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold} ]
{RobotoSlab}
\fi
\ifroboto@default\renewcommand*\familydefault{\robotofamily}\fi
@@ -143,34 +192,130 @@
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
- BoldFont = *-\roboto@boldstyle ,
- BoldItalicFont = *-\roboto@boldstyle Italic ]
+ BoldFont = *-\roboto@boldstyle ,
+ BoldItalicFont = *-\roboto@boldstyle Italic ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {t}{it}{*-ThinItalic},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {mb}{n}{*-Medium},
+ FontFace = {mb}{sc}{*-Medium},
+ FontFace = {mb}{sl}{*-Medium},
+ FontFace = {mb}{it}{*-MediumItalic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic},
+ FontFace = {k}{n}{*-Black},
+ FontFace = {k}{sc}{*-Black},
+ FontFace = {k}{sl}{*-Black},
+ FontFace = {k}{it}{*-BlackItalic} ]
{Roboto}
\newfontfamily\robotocondensed
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
- BoldFont = *-Bold ,
- BoldItalicFont = *-BoldItalic ]
+ BoldFont = *-Bold ,
+ BoldItalicFont = *-BoldItalic ,
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic} ]
{RobotoCondensed}
\newfontfamily\robotoslab
[ UprightFont = *-\roboto@regstyle ,
- BoldFont = *-Bold ]
+ BoldFont = *-Bold ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold} ]
{RobotoSlab}
\newfontfamily\robotoOsF
- [ Numbers = {\roboto@figurealign,OldStyle},
- UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
- BoldFont = *-\roboto@boldstyle ,
- BoldItalicFont = *-\roboto@boldstyle Italic ]
- {Roboto}
+ [ Numbers = {\roboto@figurealign,OldStyle},
+ UprightFont = *-\roboto@regstyle ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
+ BoldFont = *-\roboto@boldstyle ,
+ BoldItalicFont = *-\roboto@boldstyle Italic ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {t}{it}{*-ThinItalic},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {mb}{n}{*-Medium},
+ FontFace = {mb}{sc}{*-Medium},
+ FontFace = {mb}{sl}{*-Medium},
+ FontFace = {mb}{it}{*-MediumItalic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic},
+ FontFace = {k}{n}{*-Black},
+ FontFace = {k}{sc}{*-Black},
+ FontFace = {k}{sl}{*-Black},
+ FontFace = {k}{it}{*-BlackItalic} ]
+ {Roboto}
\newfontfamily\robotoLF
- [ Numbers = {\roboto@figurealign,Lining},
- UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
- BoldFont = *-\roboto@boldstyle ,
- BoldItalicFont = *-\roboto@boldstyle Italic ]
- {Roboto}
+ [ Numbers = {\roboto@figurealign,Lining},
+ UprightFont = *-\roboto@regstyle ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
+ BoldFont = *-\roboto@boldstyle ,
+ BoldItalicFont = *-\roboto@boldstyle Italic ,
+ FontFace = {t}{n}{*-Thin},
+ FontFace = {t}{sc}{*-Thin},
+ FontFace = {t}{sl}{*-Thin},
+ FontFace = {t}{it}{*-ThinItalic},
+ FontFace = {l}{n}{*-Light},
+ FontFace = {l}{sc}{*-Light},
+ FontFace = {l}{sl}{*-Light},
+ FontFace = {l}{it}{*-LightItalic},
+ FontFace = {m}{n}{*-Regular},
+ FontFace = {m}{sc}{*-Regular},
+ FontFace = {m}{sl}{*-Regular},
+ FontFace = {m}{it}{*-Italic},
+ FontFace = {mb}{n}{*-Medium},
+ FontFace = {mb}{sc}{*-Medium},
+ FontFace = {mb}{sl}{*-Medium},
+ FontFace = {mb}{it}{*-MediumItalic},
+ FontFace = {b}{n}{*-Bold},
+ FontFace = {b}{sc}{*-Bold},
+ FontFace = {b}{sl}{*-Bold},
+ FontFace = {b}{it}{*-BoldItalic},
+ FontFace = {k}{n}{*-Black},
+ FontFace = {k}{sc}{*-Black},
+ FontFace = {k}{sl}{*-Black},
+ FontFace = {k}{it}{*-BlackItalic} ]
+ {Roboto}
\DeclareTextFontCommand{\oldstylenums}{\robotoOsF}
\DeclareTextFontCommand{\liningnums}{\robotoLF}