From b98a26a0f00d01cc222b94bad381bc4e6ee7c07f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 4 Jan 2017 23:52:08 +0000 Subject: tinos (4jan17) git-svn-id: svn://tug.org/texlive/trunk@42862 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tinos/LY1Tinos-TLF.fd | 50 ++++++++++++++++++ Master/texmf-dist/tex/latex/tinos/OT1Tinos-TLF.fd | 50 ++++++++++++++++++ Master/texmf-dist/tex/latex/tinos/T1Tinos-TLF.fd | 50 ++++++++++++++++++ Master/texmf-dist/tex/latex/tinos/TS1Tinos-TLF.fd | 50 ++++++++++++++++++ Master/texmf-dist/tex/latex/tinos/tinos.sty | 62 +++++++++++++++++++++++ 5 files changed, 262 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/tinos/LY1Tinos-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/tinos/OT1Tinos-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/tinos/T1Tinos-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/tinos/TS1Tinos-TLF.fd create mode 100644 Master/texmf-dist/tex/latex/tinos/tinos.sty (limited to 'Master/texmf-dist/tex/latex/tinos') diff --git a/Master/texmf-dist/tex/latex/tinos/LY1Tinos-TLF.fd b/Master/texmf-dist/tex/latex/tinos/LY1Tinos-TLF.fd new file mode 100644 index 00000000000..790cfc2c382 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tinos/LY1Tinos-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/03 +%% +\ProvidesFile{LY1Tinos-TLF.fd} + [2017/01/03 (autoinst) Font definitions for LY1/Tinos-TLF.] + +\expandafter\ifx\csname Tinos@scale\endcsname\relax + \let\Tinos@@scale\@empty +\else + \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Tinos-TLF}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{b}{n}{ + <-> \Tinos@@scale Tinos-Bold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{b}{it}{ + <-> \Tinos@@scale Tinos-BoldItalic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{b}{sl}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{m}{n}{ + <-> \Tinos@@scale Tinos-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{m}{it}{ + <-> \Tinos@@scale Tinos-Italic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{m}{sl}{ + <-> ssub * Tinos-TLF/m/it +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{bx}{sl}{ + <-> ssub * Tinos-TLF/b/sl +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{bx}{n}{ + <-> ssub * Tinos-TLF/b/n +}{} + +\DeclareFontShape{LY1}{Tinos-TLF}{bx}{it}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tinos/OT1Tinos-TLF.fd b/Master/texmf-dist/tex/latex/tinos/OT1Tinos-TLF.fd new file mode 100644 index 00000000000..44897a7c513 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tinos/OT1Tinos-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/03 +%% +\ProvidesFile{OT1Tinos-TLF.fd} + [2017/01/03 (autoinst) Font definitions for OT1/Tinos-TLF.] + +\expandafter\ifx\csname Tinos@scale\endcsname\relax + \let\Tinos@@scale\@empty +\else + \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Tinos-TLF}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{b}{n}{ + <-> \Tinos@@scale Tinos-Bold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{b}{it}{ + <-> \Tinos@@scale Tinos-BoldItalic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{b}{sl}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{m}{n}{ + <-> \Tinos@@scale Tinos-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{m}{it}{ + <-> \Tinos@@scale Tinos-Italic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{m}{sl}{ + <-> ssub * Tinos-TLF/m/it +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{bx}{sl}{ + <-> ssub * Tinos-TLF/b/sl +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{bx}{n}{ + <-> ssub * Tinos-TLF/b/n +}{} + +\DeclareFontShape{OT1}{Tinos-TLF}{bx}{it}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tinos/T1Tinos-TLF.fd b/Master/texmf-dist/tex/latex/tinos/T1Tinos-TLF.fd new file mode 100644 index 00000000000..792727450b0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tinos/T1Tinos-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/03 +%% +\ProvidesFile{T1Tinos-TLF.fd} + [2017/01/03 (autoinst) Font definitions for T1/Tinos-TLF.] + +\expandafter\ifx\csname Tinos@scale\endcsname\relax + \let\Tinos@@scale\@empty +\else + \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Tinos-TLF}{} + +\DeclareFontShape{T1}{Tinos-TLF}{b}{n}{ + <-> \Tinos@@scale Tinos-Bold-tlf-t1 +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{b}{it}{ + <-> \Tinos@@scale Tinos-BoldItalic-tlf-t1 +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{b}{sl}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{m}{n}{ + <-> \Tinos@@scale Tinos-tlf-t1 +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{m}{it}{ + <-> \Tinos@@scale Tinos-Italic-tlf-t1 +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{m}{sl}{ + <-> ssub * Tinos-TLF/m/it +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{bx}{sl}{ + <-> ssub * Tinos-TLF/b/sl +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{bx}{n}{ + <-> ssub * Tinos-TLF/b/n +}{} + +\DeclareFontShape{T1}{Tinos-TLF}{bx}{it}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tinos/TS1Tinos-TLF.fd b/Master/texmf-dist/tex/latex/tinos/TS1Tinos-TLF.fd new file mode 100644 index 00000000000..208b2861989 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tinos/TS1Tinos-TLF.fd @@ -0,0 +1,50 @@ +%% Generated by autoinst on 2017/01/03 +%% +\ProvidesFile{TS1Tinos-TLF.fd} + [2017/01/03 (autoinst) Font definitions for TS1/Tinos-TLF.] + +\expandafter\ifx\csname Tinos@scale\endcsname\relax + \let\Tinos@@scale\@empty +\else + \edef\Tinos@@scale{s*[\csname Tinos@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Tinos-TLF}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{b}{n}{ + <-> \Tinos@@scale Tinos-Bold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{b}{it}{ + <-> \Tinos@@scale Tinos-BoldItalic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{b}{sl}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{m}{n}{ + <-> \Tinos@@scale Tinos-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{m}{it}{ + <-> \Tinos@@scale Tinos-Italic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{m}{sl}{ + <-> ssub * Tinos-TLF/m/it +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{bx}{sl}{ + <-> ssub * Tinos-TLF/b/sl +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{bx}{n}{ + <-> ssub * Tinos-TLF/b/n +}{} + +\DeclareFontShape{TS1}{Tinos-TLF}{bx}{it}{ + <-> ssub * Tinos-TLF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tinos/tinos.sty b/Master/texmf-dist/tex/latex/tinos/tinos.sty new file mode 100644 index 00000000000..47beb1ee66f --- /dev/null +++ b/Master/texmf-dist/tex/latex/tinos/tinos.sty @@ -0,0 +1,62 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{tinos} + [2017/01/03 (Bob Tennent) Supports Tinos fonts for all LaTeX engines.] + +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} + +\newif\iftinos@otf +\ifxetex + \tinos@otftrue +\else\ifluatex + \tinos@otftrue +\else % [pdf]LaTeX + \tinos@otffalse +\fi\fi + + +\newcommand*{\Tinos@scale}{1} +\DeclareOptionX{scaled}{\renewcommand*{\Tinos@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\Tinos@scale}{#1}} + + +\DeclareOptionX{type1}{\tinos@otffalse} + +\ProcessOptionsX\relax + +\iftinos@otf\else % type1 + \def\tinos@figurestyle{LF} + \def\tinos@figurealign{T} +\fi + + +\iftinos@otf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes} +\fi + +\iftinos@otf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Scale = \Tinos@scale , + Extension = .otf } + \setmainfont + [ UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-Bold , + BoldItalicFont = *-BoldItalic ] + {Tinos} +\else % type1 + \def\tinosfamily{Tinos-\tinos@figurealign\tinos@figurestyle} + \newcommand*\tinos{\fontfamily{\tinos}\selectfont} + \def\rmdefault{\tinosfamily} +\fi + + +\iftinos@otf + % turn off defaults in case other fonts are selected: + \defaultfontfeatures{} +\fi + +\endinput -- cgit v1.2.3