From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../theanooldstyle/latex/LGRTheanoOldStyle-TLF.fd | 49 ++++++++++++ .../theanooldstyle/latex/LGRTheanoOldStyle-TOsF.fd | 49 ++++++++++++ .../theanooldstyle/latex/LY1TheanoOldStyle-TLF.fd | 49 ++++++++++++ .../theanooldstyle/latex/LY1TheanoOldStyle-TOsF.fd | 49 ++++++++++++ .../theanooldstyle/latex/OT1TheanoOldStyle-TLF.fd | 49 ++++++++++++ .../theanooldstyle/latex/OT1TheanoOldStyle-TOsF.fd | 49 ++++++++++++ fonts/theanooldstyle/latex/T1TheanoOldStyle-TLF.fd | 49 ++++++++++++ .../theanooldstyle/latex/T1TheanoOldStyle-TOsF.fd | 49 ++++++++++++ .../theanooldstyle/latex/TS1TheanoOldStyle-TLF.fd | 49 ++++++++++++ .../theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd | 49 ++++++++++++ fonts/theanooldstyle/latex/TheanoOldStyle.sty | 93 ++++++++++++++++++++++ 11 files changed, 583 insertions(+) create mode 100644 fonts/theanooldstyle/latex/LGRTheanoOldStyle-TLF.fd create mode 100644 fonts/theanooldstyle/latex/LGRTheanoOldStyle-TOsF.fd create mode 100644 fonts/theanooldstyle/latex/LY1TheanoOldStyle-TLF.fd create mode 100644 fonts/theanooldstyle/latex/LY1TheanoOldStyle-TOsF.fd create mode 100644 fonts/theanooldstyle/latex/OT1TheanoOldStyle-TLF.fd create mode 100644 fonts/theanooldstyle/latex/OT1TheanoOldStyle-TOsF.fd create mode 100644 fonts/theanooldstyle/latex/T1TheanoOldStyle-TLF.fd create mode 100644 fonts/theanooldstyle/latex/T1TheanoOldStyle-TOsF.fd create mode 100644 fonts/theanooldstyle/latex/TS1TheanoOldStyle-TLF.fd create mode 100644 fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd create mode 100644 fonts/theanooldstyle/latex/TheanoOldStyle.sty (limited to 'fonts/theanooldstyle/latex') diff --git a/fonts/theanooldstyle/latex/LGRTheanoOldStyle-TLF.fd b/fonts/theanooldstyle/latex/LGRTheanoOldStyle-TLF.fd new file mode 100644 index 0000000000..8c79fe29e4 --- /dev/null +++ b/fonts/theanooldstyle/latex/LGRTheanoOldStyle-TLF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{LGRTheanoOldStyle-TLF.fd} + [2019/07/27 (autoinst) Font definitions for LGR/TheanoOldStyle-TLF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{LGR}{TheanoOldStyle-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{LGR}{TheanoOldStyle-TLF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tlf-lgr +}{} + + +% ---- bold ---- + +\DeclareFontShape{LGR}{TheanoOldStyle-TLF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tlf-lgr +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LGR}{TheanoOldStyle-TLF}{m}{n}{ + <-> ssub * TheanoOldStyle-TLF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{LGR}{TheanoOldStyle-TLF}{b}{n}{ + <-> ssub * TheanoOldStyle-TLF/bold/n +}{} + +\DeclareFontShape{LGR}{TheanoOldStyle-TLF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TLF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/LGRTheanoOldStyle-TOsF.fd b/fonts/theanooldstyle/latex/LGRTheanoOldStyle-TOsF.fd new file mode 100644 index 0000000000..0d8f44c17a --- /dev/null +++ b/fonts/theanooldstyle/latex/LGRTheanoOldStyle-TOsF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{LGRTheanoOldStyle-TOsF.fd} + [2019/07/27 (autoinst) Font definitions for LGR/TheanoOldStyle-TOsF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{LGR}{TheanoOldStyle-TOsF}{} + + +% ---- regular ---- + +\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tosf-lgr +}{} + + +% ---- bold ---- + +\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tosf-lgr +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{m}{n}{ + <-> ssub * TheanoOldStyle-TOsF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{b}{n}{ + <-> ssub * TheanoOldStyle-TOsF/bold/n +}{} + +\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TOsF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/LY1TheanoOldStyle-TLF.fd b/fonts/theanooldstyle/latex/LY1TheanoOldStyle-TLF.fd new file mode 100644 index 0000000000..c19a10b350 --- /dev/null +++ b/fonts/theanooldstyle/latex/LY1TheanoOldStyle-TLF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{LY1TheanoOldStyle-TLF.fd} + [2019/07/27 (autoinst) Font definitions for LY1/TheanoOldStyle-TLF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{TheanoOldStyle-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{TheanoOldStyle-TLF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tlf-ly1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{LY1}{TheanoOldStyle-TLF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tlf-ly1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LY1}{TheanoOldStyle-TLF}{m}{n}{ + <-> ssub * TheanoOldStyle-TLF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{LY1}{TheanoOldStyle-TLF}{b}{n}{ + <-> ssub * TheanoOldStyle-TLF/bold/n +}{} + +\DeclareFontShape{LY1}{TheanoOldStyle-TLF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TLF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/LY1TheanoOldStyle-TOsF.fd b/fonts/theanooldstyle/latex/LY1TheanoOldStyle-TOsF.fd new file mode 100644 index 0000000000..b9c8a82e6f --- /dev/null +++ b/fonts/theanooldstyle/latex/LY1TheanoOldStyle-TOsF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{LY1TheanoOldStyle-TOsF.fd} + [2019/07/27 (autoinst) Font definitions for LY1/TheanoOldStyle-TOsF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{TheanoOldStyle-TOsF}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{TheanoOldStyle-TOsF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tosf-ly1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{LY1}{TheanoOldStyle-TOsF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tosf-ly1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LY1}{TheanoOldStyle-TOsF}{m}{n}{ + <-> ssub * TheanoOldStyle-TOsF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{LY1}{TheanoOldStyle-TOsF}{b}{n}{ + <-> ssub * TheanoOldStyle-TOsF/bold/n +}{} + +\DeclareFontShape{LY1}{TheanoOldStyle-TOsF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TOsF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/OT1TheanoOldStyle-TLF.fd b/fonts/theanooldstyle/latex/OT1TheanoOldStyle-TLF.fd new file mode 100644 index 0000000000..a05583799f --- /dev/null +++ b/fonts/theanooldstyle/latex/OT1TheanoOldStyle-TLF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{OT1TheanoOldStyle-TLF.fd} + [2019/07/27 (autoinst) Font definitions for OT1/TheanoOldStyle-TLF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{TheanoOldStyle-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{TheanoOldStyle-TLF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tlf-ot1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{OT1}{TheanoOldStyle-TLF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tlf-ot1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{OT1}{TheanoOldStyle-TLF}{m}{n}{ + <-> ssub * TheanoOldStyle-TLF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{OT1}{TheanoOldStyle-TLF}{b}{n}{ + <-> ssub * TheanoOldStyle-TLF/bold/n +}{} + +\DeclareFontShape{OT1}{TheanoOldStyle-TLF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TLF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/OT1TheanoOldStyle-TOsF.fd b/fonts/theanooldstyle/latex/OT1TheanoOldStyle-TOsF.fd new file mode 100644 index 0000000000..896bcc69a0 --- /dev/null +++ b/fonts/theanooldstyle/latex/OT1TheanoOldStyle-TOsF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{OT1TheanoOldStyle-TOsF.fd} + [2019/07/27 (autoinst) Font definitions for OT1/TheanoOldStyle-TOsF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{TheanoOldStyle-TOsF}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{TheanoOldStyle-TOsF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tosf-ot1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{OT1}{TheanoOldStyle-TOsF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tosf-ot1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{OT1}{TheanoOldStyle-TOsF}{m}{n}{ + <-> ssub * TheanoOldStyle-TOsF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{OT1}{TheanoOldStyle-TOsF}{b}{n}{ + <-> ssub * TheanoOldStyle-TOsF/bold/n +}{} + +\DeclareFontShape{OT1}{TheanoOldStyle-TOsF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TOsF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/T1TheanoOldStyle-TLF.fd b/fonts/theanooldstyle/latex/T1TheanoOldStyle-TLF.fd new file mode 100644 index 0000000000..8387d9f179 --- /dev/null +++ b/fonts/theanooldstyle/latex/T1TheanoOldStyle-TLF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{T1TheanoOldStyle-TLF.fd} + [2019/07/27 (autoinst) Font definitions for T1/TheanoOldStyle-TLF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{TheanoOldStyle-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{TheanoOldStyle-TLF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tlf-t1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{T1}{TheanoOldStyle-TLF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tlf-t1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T1}{TheanoOldStyle-TLF}{m}{n}{ + <-> ssub * TheanoOldStyle-TLF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{T1}{TheanoOldStyle-TLF}{b}{n}{ + <-> ssub * TheanoOldStyle-TLF/bold/n +}{} + +\DeclareFontShape{T1}{TheanoOldStyle-TLF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TLF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/T1TheanoOldStyle-TOsF.fd b/fonts/theanooldstyle/latex/T1TheanoOldStyle-TOsF.fd new file mode 100644 index 0000000000..cc8adb2e9f --- /dev/null +++ b/fonts/theanooldstyle/latex/T1TheanoOldStyle-TOsF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{T1TheanoOldStyle-TOsF.fd} + [2019/07/27 (autoinst) Font definitions for T1/TheanoOldStyle-TOsF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{TheanoOldStyle-TOsF}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{TheanoOldStyle-TOsF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tosf-t1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{T1}{TheanoOldStyle-TOsF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tosf-t1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T1}{TheanoOldStyle-TOsF}{m}{n}{ + <-> ssub * TheanoOldStyle-TOsF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{T1}{TheanoOldStyle-TOsF}{b}{n}{ + <-> ssub * TheanoOldStyle-TOsF/bold/n +}{} + +\DeclareFontShape{T1}{TheanoOldStyle-TOsF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TOsF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TLF.fd b/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TLF.fd new file mode 100644 index 0000000000..eab5c5c13d --- /dev/null +++ b/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TLF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{TS1TheanoOldStyle-TLF.fd} + [2019/07/27 (autoinst) Font definitions for TS1/TheanoOldStyle-TLF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{TheanoOldStyle-TLF}{} + + +% ---- regular ---- + +\DeclareFontShape{TS1}{TheanoOldStyle-TLF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tlf-ts1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{TS1}{TheanoOldStyle-TLF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tlf-ts1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{TS1}{TheanoOldStyle-TLF}{m}{n}{ + <-> ssub * TheanoOldStyle-TLF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{TS1}{TheanoOldStyle-TLF}{b}{n}{ + <-> ssub * TheanoOldStyle-TLF/bold/n +}{} + +\DeclareFontShape{TS1}{TheanoOldStyle-TLF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TLF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd b/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd new file mode 100644 index 0000000000..44389e0947 --- /dev/null +++ b/fonts/theanooldstyle/latex/TS1TheanoOldStyle-TOsF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/07/27 +%% +\ProvidesFile{TS1TheanoOldStyle-TOsF.fd} + [2019/07/27 (autoinst) Font definitions for TS1/TheanoOldStyle-TOsF.] + +\expandafter\ifx\csname TheanoOldStyle@scale\endcsname\relax + \let\TheanoOldStyle@@scale\@empty +\else + \edef\TheanoOldStyle@@scale{s*[\csname TheanoOldStyle@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{TheanoOldStyle-TOsF}{} + + +% ---- regular ---- + +\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{regular}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tosf-ts1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{bold}{n}{ + <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tosf-ts1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{m}{n}{ + <-> ssub * TheanoOldStyle-TOsF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{b}{n}{ + <-> ssub * TheanoOldStyle-TOsF/bold/n +}{} + +\DeclareFontShape{TS1}{TheanoOldStyle-TOsF}{bx}{n}{ + <-> ssub * TheanoOldStyle-TOsF/b/n +}{} + +\endinput diff --git a/fonts/theanooldstyle/latex/TheanoOldStyle.sty b/fonts/theanooldstyle/latex/TheanoOldStyle.sty new file mode 100644 index 0000000000..a00637772e --- /dev/null +++ b/fonts/theanooldstyle/latex/TheanoOldStyle.sty @@ -0,0 +1,93 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{TheanoOldStyle} + [2019/07/27 (Bob Tennent and autoinst) Style file for Theano OldStyle fonts.] + +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} + +\newif\iftheanooldstyle@ttf +\ifxetex + \theanooldstyle@ttftrue +\else\ifluatex + \theanooldstyle@ttftrue +\else % [pdf]LaTeX + \theanooldstyle@ttffalse + \fi\fi + +\RequirePackage{fontaxes} + +\newcommand*{\TheanoOldStyle@scale}{1} +\RequirePackage{xkeyval} +\DeclareOptionX{scaled}{\renewcommand*{\TheanoOldStyle@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\TheanoOldStyle@scale}{#1}} +\DeclareOptionX{type1}{\theanooldstyle@ttffalse} + +\newif\iftheanooldstyle@lining \theanooldstyle@liningtrue +\DeclareOptionX{osf}{\theanooldstyle@liningfalse} +\DeclareOptionX{oldstyle}{\theanooldstyle@liningfalse} + +\ProcessOptionsX\relax + +\iftheanooldstyle@ttf + \RequirePackage{fontspec} + \iftheanooldstyle@lining + \def\theanooldstyle@figurealign{} + \else + \def\theanooldstyle@figurealign{OldStyle} + \fi +\else + \RequirePackage{fontenc,fontaxes} + \iftheanooldstyle@lining + \def\theanooldstyle@figurealign{LF} + \else + \def\theanooldstyle@figurealign{OsF} + \fi +\fi + +\iftheanooldstyle@ttf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Scale = \TheanoOldStyle@scale , + Extension = .ttf } + \setmainfont + [ Numbers={\theanooldstyle@figurealign}, + UprightFont = *-Regular , + BoldFont = *-Bold , + ] + {TheanoOldStyle} + \newfontfamily\theanooldstyle + [ Numbers={\theanooldstyle@figurealign}, + UprightFont = *-Regular , + BoldFont = *-Bold , + ] + {TheanoOldStyle} + \newfontfamily\theanooldstyleosf + [ Numbers={OldStyle}, + UprightFont = *-Regular , + BoldFont = *-Bold , + ] + {TheanoOldStyle} + \newfontfamily\theanooldstylelf + [ Numbers={}, + UprightFont = *-Regular , + BoldFont = *-Bold , + ] + {TheanoOldStyle} + +\else % type1 + + \def\theanooldstyle@family{TheanoOldStyle-T\theanooldstyle@figurealign} + \renewcommand*\rmdefault{\theanooldstyle@family} + \newcommand*\theanooldstyle{\fontfamily{\theanooldstyle@family}\selectfont} + \newcommand*\theanooldstyleosf{\fontfamily{TheanoOldStyle-TOsF}\selectfont} + \newcommand*\theanooldstylelf{\fontfamily{TheanoOldStyle-TLF}\selectfont} + +\fi + +\def\theanooldstylelgr{\fontencoding{LGR}\fontfamily{TheanoOldStyle-TLF}\selectfont} + +\iftheanooldstyle@ttf + \defaultfontfeatures{} +\fi + +\endinput -- cgit v1.2.3