From bb0e8e6fe6445006cd2fdada9711a733631a94fc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 15 Oct 2019 21:57:51 +0000 Subject: roboto (15oct19) git-svn-id: svn://tug.org/texlive/trunk@52395 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/roboto/roboto-mono.sty | 24 ++++----- Master/texmf-dist/tex/latex/roboto/roboto.sty | 57 +++++++++++----------- 2 files changed, 41 insertions(+), 40 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/roboto/roboto-mono.sty b/Master/texmf-dist/tex/latex/roboto/roboto-mono.sty index 91a99c497e5..823a22c9c79 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} - [2019/06/03 (Bob Tennent) Supports RobotoMono fonts for all LaTeX engines.] + [2019/10/14 (Bob Tennent) Supports RobotoMono fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -44,12 +44,12 @@ \else % type1 - \def\bfseries@tt{bold} - \ifrobotomono@medium\def\bfseries@tt{medium}\fi - \ifrobotomono@black\def\bfseries@tt{black}\fi - \def\mdseries@tt{regular} - \ifrobotomono@thin\def\mdseries@tt{thin}\fi - \ifrobotomono@light\def\mdseries@tt{light}\fi + \def\bfseries@tt{b} + \ifrobotomono@medium\def\bfseries@tt{sb}\fi + \ifrobotomono@black\def\bfseries@tt{eb}\fi + \def\mdseries@tt{m} + \ifrobotomono@thin\def\mdseries@tt{el}\fi + \ifrobotomono@light\def\mdseries@tt{l}\fi \fi @@ -120,11 +120,11 @@ \def\robotomonofamily{RobotoMono-TLF} \newcommand*\robotomono{\fontfamily{\robotomonofamily}\selectfont} \def\ttdefault{\robotomonofamily} - \def\robotomonoregular{\fontfamily{\ttdefault}\fontseries{regular}\selectfont} - \def\robotomonomedium{\fontfamily{\ttdefault}\fontseries{medium}\selectfont} - \def\robotomonothin{\fontfamily{\ttdefault}\fontseries{thin}\selectfont} - \def\robotomonoklight{\fontfamily{\ttdefault}\fontseries{light}\selectfont} - \def\robotomonobold{\fontfamily{\ttdefault}\fontseries{bold}\selectfont} + \def\robotomonoregular{\fontfamily{\ttdefault}\fontseries{m}\selectfont} + \def\robotomonomedium{\fontfamily{\ttdefault}\fontseries{sb}\selectfont} + \def\robotomonothin{\fontfamily{\ttdefault}\fontseries{el}\selectfont} + \def\robotomonoklight{\fontfamily{\ttdefault}\fontseries{l}\selectfont} + \def\robotomonobold{\fontfamily{\ttdefault}\fontseries{b}\selectfont} \fi \DeclareTextFontCommand{\robotomonoRegular}{\robotomonoregular} diff --git a/Master/texmf-dist/tex/latex/roboto/roboto.sty b/Master/texmf-dist/tex/latex/roboto/roboto.sty index ac70a062c0a..068bd8ae0a4 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} - [2019/04/19 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.] + [2019/10/14 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -28,8 +28,8 @@ \newif\ifroboto@condensed \roboto@condensedfalse \newif\ifroboto@slab \roboto@slabfalse -\DeclareOptionX{default}{\roboto@defaulttrue} -\DeclareOptionX{sfdefault}{\roboto@defaulttrue} +\DeclareOptionX{default}{\roboto@defaulttrue\roboto@slabfalse} +\DeclareOptionX{sfdefault}{\roboto@defaulttrue\roboto@slabfalse} \DeclareOptionX{type1}{\roboto@otffalse} \DeclareOptionX{medium}{\roboto@mediumtrue\roboto@blackfalse} \DeclareOptionX{bold}{\roboto@blackfalse\roboto@mediumfalse} @@ -38,7 +38,7 @@ \DeclareOptionX{light}{\roboto@lighttrue\roboto@thinfalse} \DeclareOptionX{regular}{\roboto@lightfalse\roboto@thinfalse} \DeclareOptionX{condensed}{\roboto@condensedtrue\roboto@slabfalse\roboto@thinfalse} -\DeclareOptionX{rm}{\roboto@slabtrue\roboto@condensedfalse} +\DeclareOptionX{rm}{\roboto@slabtrue\roboto@condensedfalse\roboto@defaultfalse} \DeclareOptionX{lining}{\roboto@liningtrue} \DeclareOptionX{nf}{\roboto@liningtrue} \DeclareOptionX{lf}{\roboto@liningtrue} @@ -64,23 +64,24 @@ \else % type1 \ifroboto@condensed - \def\bfseries@sf{boldcondensed} - \def\mdseries@sf{condensed} - \ifroboto@light\def\mdseries@sf{lightcondensed}\fi + \def\bfseries@sf{bc} + \def\mdseries@sf{c} + \ifroboto@light\def\mdseries@sf{lc}\fi \def\seriesdefault{\mdseries@sf} \else - \def\bfseries@sf{bold} - \ifroboto@medium\def\bfseries@sf{medium}\fi - \ifroboto@black\def\bfseries@sf{black}\fi \ifroboto@slab - \def\mdseries@rm{regular} + \def\mdseries@rm{m} + \def\bfseries@rm{b} \else - \def\mdseries@sf{regular} + \def\mdseries@sf{m} + \def\bfseries@sf{b} \fi - \ifroboto@thin\def\mdseries@sf{thin} - \ifroboto@slab\def\mdseries@rm{thin}\fi\fi - \ifroboto@light\def\mdseries@sf{light} - \ifroboto@slab\def\mdseries@rm{light}\fi\fi + \ifroboto@medium\def\bfseries@sf{sb}\fi + \ifroboto@black\def\bfseries@sf{eb}\fi + \ifroboto@thin\def\mdseries@sf{el} + \ifroboto@slab\def\mdseries@rm{el}\fi\fi + \ifroboto@light\def\mdseries@sf{l} + \ifroboto@slab\def\mdseries@rm{l}\fi\fi \ifroboto@slab \def\seriesdefault{\mdseries@rm} \else @@ -348,19 +349,19 @@ \ifroboto@slab\edef\rmdefault{\robotoslabfamily}\fi \ifroboto@slab - \def\robotoregular{\fontfamily{\rmdefault}\fontseries{regular}\selectfont} - \def\robotomedium{\fontfamily{\rmdefault}\fontseries{medium}\selectfont} - \def\robotothin{\fontfamily{\rmdefault}\fontseries{thin}\selectfont} - \def\robotolight{\fontfamily{\rmdefault}\fontseries{light}\selectfont} - \def\robotobold{\fontfamily{\rmdefault}\fontseries{bold}\selectfont} - \def\robotoblack{\fontfamily{\rmdefault}\fontseries{black}\selectfont} + \def\robotoregular{\fontfamily{\rmdefault}\fontseries{m}\selectfont} + \def\robotomedium{\fontfamily{\rmdefault}\fontseries{sb}\selectfont} + \def\robotothin{\fontfamily{\rmdefault}\fontseries{el}\selectfont} + \def\robotolight{\fontfamily{\rmdefault}\fontseries{l}\selectfont} + \def\robotobold{\fontfamily{\rmdefault}\fontseries{b}\selectfont} + \def\robotoblack{\fontfamily{\rmdefault}\fontseries{eb}\selectfont} \else - \def\robotoregular{\fontfamily{\sfdefault}\fontseries{regular}\selectfont} - \def\robotomedium{\fontfamily{\sfdefault}\fontseries{medium}\selectfont} - \def\robotothin{\fontfamily{\sfdefault}\fontseries{thin}\selectfont} - \def\robotolight{\fontfamily{\sfdefault}\fontseries{light}\selectfont} - \def\robotobold{\fontfamily{\sfdefault}\fontseries{bold}\selectfont} - \def\robotoblack{\fontfamily{\sfdefault}\fontseries{black}\selectfont} + \def\robotoregular{\fontfamily{\sfdefault}\fontseries{m}\selectfont} + \def\robotomedium{\fontfamily{\sfdefault}\fontseries{sb}\selectfont} + \def\robotothin{\fontfamily{\sfdefault}\fontseries{el}\selectfont} + \def\robotolight{\fontfamily{\sfdefault}\fontseries{l}\selectfont} + \def\robotobold{\fontfamily{\sfdefault}\fontseries{b}\selectfont} + \def\robotoblack{\fontfamily{\sfdefault}\fontseries{eb}\selectfont} \fi \ifroboto@condensed -- cgit v1.2.3