summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/roboto/roboto.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-03 16:44:46 +0000
committerKarl Berry <karl@freefriends.org>2018-05-03 16:44:46 +0000
commitbd75320fbbde734c89a9ce8bae7117b45107bf9a (patch)
tree95f1673304114906a1802206e806567171643f9d /Master/texmf-dist/tex/latex/roboto/roboto.sty
parent3f0b0d931a7b4f7e05fce8897a0f9500c4f15500 (diff)
roboto (11apr18)
git-svn-id: svn://tug.org/texlive/trunk@47586 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/roboto/roboto.sty')
-rw-r--r--Master/texmf-dist/tex/latex/roboto/roboto.sty15
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/roboto/roboto.sty b/Master/texmf-dist/tex/latex/roboto/roboto.sty
index 5851b5cc43a..388ee5be2ba 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}
- [2015/09/15 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.]
+ [2017/04/10 (Bob Tennent) Supports Roboto fonts for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -107,6 +107,7 @@
\fi
\ifroboto@otf
+ \def\roboto@regular{Regular}
\ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures{
Ligatures = TeX ,
@@ -116,7 +117,7 @@
\setsansfont
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\roboto@regstyle Italic ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
BoldFont = *-Bold ,
BoldItalicFont = *-BoldItalic ]
{RobotoCondensed}
@@ -124,7 +125,7 @@
\setsansfont
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\roboto@regstyle Italic ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
BoldFont = *-\roboto@boldstyle ,
BoldItalicFont = *-\roboto@boldstyle Italic ]
{Roboto}
@@ -141,14 +142,14 @@
\newfontfamily\roboto
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\roboto@regstyle Italic ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
BoldFont = *-\roboto@boldstyle ,
BoldItalicFont = *-\roboto@boldstyle Italic ]
{Roboto}
\newfontfamily\robotocondensed
[ Numbers = {\roboto@figurealign,\roboto@figurestyle},
UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\roboto@regstyle Italic ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
BoldFont = *-Bold ,
BoldItalicFont = *-BoldItalic ]
{RobotoCondensed}
@@ -159,14 +160,14 @@
\newfontfamily\robotoOsF
[ Numbers = {\roboto@figurealign,OldStyle},
UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\roboto@regstyle Italic ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
BoldFont = *-\roboto@boldstyle ,
BoldItalicFont = *-\roboto@boldstyle Italic ]
{Roboto}
\newfontfamily\robotoLF
[ Numbers = {\roboto@figurealign,Lining},
UprightFont = *-\roboto@regstyle ,
- ItalicFont = *-\roboto@regstyle Italic ,
+ ItalicFont = *-\ifx\roboto@regstyle\roboto@regular Italic\else\roboto@regstyle Italic\fi,
BoldFont = *-\roboto@boldstyle ,
BoldItalicFont = *-\roboto@boldstyle Italic ]
{Roboto}