diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-26 23:37:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-26 23:37:07 +0000 |
commit | b9e0ac79050b384c289e906956dea0a4cd0aedf6 (patch) | |
tree | 2ee343d38c2cdfae25c3141eb66def0a46055e7e /Master/texmf-dist/tex/latex/inriafonts/InriaSerif.sty | |
parent | 53c7709d2806c74b35648ef854ebedc32a62d642 (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/InriaSerif.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/inriafonts/InriaSerif.sty | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/inriafonts/InriaSerif.sty b/Master/texmf-dist/tex/latex/inriafonts/InriaSerif.sty new file mode 100644 index 00000000000..1e367b55617 --- /dev/null +++ b/Master/texmf-dist/tex/latex/inriafonts/InriaSerif.sty @@ -0,0 +1,76 @@ +%% +%% This is file `InriaSerif.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{InriaSerif} + [2019/01/18 v1.0 Style file for InriaSerif.] + +\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*{\InriaSerif@scale}{1} + \RequirePackage{xkeyval} + \DeclareOptionX{scale}{\renewcommand*{\InriaSerif@scale}{##1}} + \DeclareOptionX{scaled}{\renewcommand*{\InriaSerif@scale}{##1}} +}{ + \let\DeclareOptionX\DeclareOption + \let\ExecuteOptionsX\ExecuteOptions + \let\ProcessOptionsX\ProcessOptions +} + +\DeclareOptionX{lining}{\edef\InriaSerif@figurestyle{LF}} +\DeclareOptionX{oldstyle}{\edef\InriaSerif@figurestyle{OsF}} +\DeclareOptionX{tabular}{\edef\InriaSerif@figurealign{T}} +\DeclareOptionX{proportional}{\edef\InriaSerif@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} + {InriaSerif-\InriaSerif@figurealign\InriaSerif@figurestyle} +\renewcommand*{\familydefault}{\rmdefault} +\renewcommand* + {\sfdefault} + {InriaSans-\InriaSerif@figurealign\InriaSerif@figurestyle} + + +\endinput |