summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/inriafonts/InriaSans.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-26 23:37:07 +0000
committerKarl Berry <karl@freefriends.org>2019-01-26 23:37:07 +0000
commitb9e0ac79050b384c289e906956dea0a4cd0aedf6 (patch)
tree2ee343d38c2cdfae25c3141eb66def0a46055e7e /Master/texmf-dist/tex/latex/inriafonts/InriaSans.sty
parent53c7709d2806c74b35648ef854ebedc32a62d642 (diff)
inriafonts (26jan19)
git-svn-id: svn://tug.org/texlive/trunk@49826 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/inriafonts/InriaSans.sty')
-rw-r--r--Master/texmf-dist/tex/latex/inriafonts/InriaSans.sty72
1 files changed, 72 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/inriafonts/InriaSans.sty b/Master/texmf-dist/tex/latex/inriafonts/InriaSans.sty
new file mode 100644
index 00000000000..70e154cb395
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/inriafonts/InriaSans.sty
@@ -0,0 +1,72 @@
+%%
+%% This is file `InriaSans.sty',
+%% generated with the autoinst utility.
+%%
+%% (c) 2019/01/18 Nicolas Markey <inriafonts at markey dot fr>
+%%
+%% The Inria fonts were designed by Black[Foundry], and are distributed
+%% under the SIL OpenFont Licence:
+%% https://www.fontsquirrel.com/fonts/inria-serif#eula
+%%
+%% The support files were created with the autoinst tool, and are
+%% distributed under the LaTeX Project Public License:
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%% The Current Maintainer of this work is Nicolas Markey.
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{InriaSans}
+ [2019/01/18 v1.0 Style file for InriaSans.]
+
+\RequirePackage[T1,LY1]{fontenc}
+\RequirePackage{textcomp}
+\IfFileExists{mweights.sty}{\RequirePackage{mweights}}{}
+\IfFileExists{fontaxes.sty}{
+ \RequirePackage{fontaxes}
+ \providecommand{\tldefault}{tl}
+ \DeclareRobustCommand\tlshape{\not@math@alphabet\tlshape\relax
+ \fontsecondaryshape\tldefault\selectfont}
+ \DeclareTextFontCommand{\texttl}{\tlshape}
+ \let\texttitling\texttl
+ \fa@naming@exception{shape}{{n}{tl}}{tl}
+ \fa@naming@exception{shape}{{it}{tl}}{tlit}
+ \fa@naming@exception{shape}{{sl}{tl}}{tlsl}
+
+ \fa@naming@exception{figures}{{superior}{proportional}}{Sup}
+ \fa@naming@exception{figures}{{superior}{tabular}}{Sup}
+ \def\sufigures{\@nomath\sufigures
+ \fontfigurestyle{superior}\selectfont}
+ \DeclareTextFontCommand{\textsu}{\sufigures}
+ \let\textsuperior\textsu
+
+}{}
+
+\IfFileExists{xkeyval.sty}{
+ \newcommand*{\InriaSans@scale}{1}
+ \RequirePackage{xkeyval}
+ \DeclareOptionX{scale}{\renewcommand*{\InriaSans@scale}{##1}}
+ \DeclareOptionX{scaled}{\renewcommand*{\InriaSans@scale}{##1}}
+}{
+ \let\DeclareOptionX\DeclareOption
+ \let\ExecuteOptionsX\ExecuteOptions
+ \let\ProcessOptionsX\ProcessOptions
+}
+
+\DeclareOptionX{lining}{\edef\InriaSans@figurestyle{LF}}
+\DeclareOptionX{oldstyle}{\edef\InriaSans@figurestyle{OsF}}
+\DeclareOptionX{tabular}{\edef\InriaSans@figurealign{T}}
+\DeclareOptionX{proportional}{\edef\InriaSans@figurealign{}}
+\DeclareOptionX{bold}{\edef\bfseries@rm{b}}
+\DeclareOptionX{light}{\edef\mdseries@rm{l}}
+\DeclareOptionX{regular}{\edef\mdseries@rm{m}}
+\ExecuteOptionsX{oldstyle,proportional,bold,regular}
+\ProcessOptionsX\relax
+
+\renewcommand*
+ {\rmdefault}
+ {InriaSans-\InriaSans@figurealign\InriaSans@figurestyle}
+\renewcommand*{\familydefault}{\rmdefault}
+
+\endinput