diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/play-font/Play.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/play-font/Play.sty | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/Master/texmf-dist/tex/latex/play-font/Play.sty b/Master/texmf-dist/tex/latex/play-font/Play.sty deleted file mode 100644 index 6d7319b0f31..00000000000 --- a/Master/texmf-dist/tex/latex/play-font/Play.sty +++ /dev/null @@ -1,61 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{Play} - [2021/01/09 (Carl-Clemens Ebinger & autoinst) Style file for Play fonts.] - -\RequirePackage{xkeyval} -\newcommand*{\Play@scale}{1} -\DeclareOptionX{scale}{\renewcommand*{\Play@scale}{#1}} -\DeclareOptionX{scaled}{\renewcommand*{\Play@scale}{#1}} - -\DeclareOptionX{lining}{\edef\Play@figurestyle{LF}} -\DeclareOptionX{oldstyle}{\edef\Play@figurestyle{OsF}} -\DeclareOptionX{tabular}{\edef\Play@figurealign{T}} -\DeclareOptionX{proportional}{\edef\Play@figurealign{}} -\DeclareOptionX{mainfont}{ - \renewcommand{\familydefault}{\rmdefault} -} -\DeclareOptionX{bold}{\edef\bfseries@rm{bold}} -\DeclareOptionX{regular}{\edef\mdseries@rm{regular}} -\ExecuteOptionsX{oldstyle,proportional} -\ProcessOptionsX\relax - -\RequirePackage{fontenc,textcomp} -\RequirePackage{ifthen} -\RequirePackage{mweights} - -\IfFileExists{fontaxes.sty}{ - \RequirePackage{fontaxes} - \fa@naming@exception{figures}{{superior}{proportional}}{Sup} - \fa@naming@exception{figures}{{superior}{tabular}}{Sup} - \def\supfigures{\@nomath\supfigures - \fontfigurestyle{superior}\selectfont} - \let\sufigures\supfigures - \DeclareTextFontCommand{\textsup}{\supfigures} - \let\textsu\textsup - \let\textsuperior\textsup - -}{} - -% Here we implement the scale=MatchLowercase option. -% If this is given, we must compute the correct value of -% the "\Play@scale" parameter before loading the .fd files; -% but to determine that value we of course need the font's x-height. -% To avoid triggering the loading of .fd files, -% we use plain TeX's \font primitive to load the testfont. -% We then compute the ratio of the current x-height to our font's x-height; -% this is the "\Play@scale" we will pass to the .fd files. -\ifthenelse{\equal{\Play@scale}{MatchLowercase}} - { \newlength{\Play@currentx} - \settoheight{\Play@currentx}{x} - \newlength{\Play@xheight} - \settoheight{\Play@xheight} - {{\font\testfont=Play-Regular-osf-ot1 at \f@size pt\testfont x}} - \renewcommand*{\Play@scale} - {\strip@pt\dimexpr\number\numexpr\number\dimexpr\Play@currentx\relax*65536/\number\dimexpr\Play@xheight\relax\relax sp\relax}} - {} - -\renewcommand* - {\rmdefault} - {Play-\Play@figurealign\Play@figurestyle} - -\endinput |