diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-09 21:26:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-09 21:26:03 +0000 |
commit | b23602e101819ca74e345a687f1e3cddf4bc8853 (patch) | |
tree | 753500f6f8437da1e40e3e1360f2bb6805634ae1 /Master/texmf-dist/tex/latex/gudea | |
parent | 2b0c09139066fd8c0f4c105648b22d2cf0d3ad59 (diff) |
gudea (9jan21)
git-svn-id: svn://tug.org/texlive/trunk@57359 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gudea')
-rw-r--r-- | Master/texmf-dist/tex/latex/gudea/Gudea.sty | 50 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gudea/LY1Gudea-TLF.fd | 67 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gudea/OT1Gudea-TLF.fd | 67 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gudea/T1Gudea-TLF.fd | 67 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gudea/TS1Gudea-TLF.fd | 67 |
5 files changed, 318 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/gudea/Gudea.sty b/Master/texmf-dist/tex/latex/gudea/Gudea.sty new file mode 100644 index 00000000000..03c6b3f0db1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/gudea/Gudea.sty @@ -0,0 +1,50 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{Gudea} + [2021/01/09 (Carl-Clemens Ebinger & autoinst) Style file for Gudea fonts.] + +\RequirePackage{xkeyval} +\newcommand*{\Gudea@scale}{1} +\DeclareOptionX{scale}{\renewcommand*{\Gudea@scale}{#1}} +\DeclareOptionX{scaled}{\renewcommand*{\Gudea@scale}{#1}} + +\DeclareOptionX{lining}{\edef\Gudea@figurestyle{LF}} +\DeclareOptionX{tabular}{\edef\Gudea@figurealign{T}} +\DeclareOptionX{mainfont}{ + \renewcommand{\familydefault}{\rmdefault} +} +\DeclareOptionX{bold}{\edef\bfseries@rm{bold}} +\DeclareOptionX{regular}{\edef\mdseries@rm{regular}} +\ExecuteOptionsX{lining,tabular} +\ProcessOptionsX\relax + +\RequirePackage{fontenc,textcomp} +\RequirePackage{ifthen} +\RequirePackage{mweights} + +\IfFileExists{fontaxes.sty}{ + \RequirePackage{fontaxes} +}{} + +% Here we implement the scale=MatchLowercase option. +% If this is given, we must compute the correct value of +% the "\Gudea@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 "\Gudea@scale" we will pass to the .fd files. +\ifthenelse{\equal{\Gudea@scale}{MatchLowercase}} + { \newlength{\Gudea@currentx} + \settoheight{\Gudea@currentx}{x} + \newlength{\Gudea@xheight} + \settoheight{\Gudea@xheight} + {{\font\testfont=Gudea-tlf-ot1 at \f@size pt\testfont x}} + \renewcommand*{\Gudea@scale} + {\strip@pt\dimexpr\number\numexpr\number\dimexpr\Gudea@currentx\relax*65536/\number\dimexpr\Gudea@xheight\relax\relax sp\relax}} + {} + +\renewcommand* + {\rmdefault} + {Gudea-\Gudea@figurealign\Gudea@figurestyle} + +\endinput diff --git a/Master/texmf-dist/tex/latex/gudea/LY1Gudea-TLF.fd b/Master/texmf-dist/tex/latex/gudea/LY1Gudea-TLF.fd new file mode 100644 index 00000000000..b1fba70c4fc --- /dev/null +++ b/Master/texmf-dist/tex/latex/gudea/LY1Gudea-TLF.fd @@ -0,0 +1,67 @@ +%% Generated by autoinst on 2021/01/09 +%% +\ProvidesFile{LY1Gudea-TLF.fd} + [2021/01/09 (autoinst) Font definitions for LY1/Gudea-TLF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Gudea@scale\endcsname\relax + \let\Gudea@@scale\@empty +\else + \edef\Gudea@@scale{s*[\csname Gudea@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Gudea-TLF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{LY1}{Gudea-TLF}{m}{it}{ + <-> \Gudea@@scale Gudea-Italic-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Gudea-TLF}{regular}{it}{ + <-> alias * Gudea-TLF/m/it +}{} + +\DeclareFontShape{LY1}{Gudea-TLF}{m}{n}{ + <-> \Gudea@@scale Gudea-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Gudea-TLF}{regular}{n}{ + <-> alias * Gudea-TLF/m/n +}{} + +\DeclareFontShape{LY1}{Gudea-TLF}{m}{sl}{ + <-> ssub * Gudea-TLF/m/it +}{} + +\DeclareFontShape{LY1}{Gudea-TLF}{regular}{sl}{ + <-> ssub * Gudea-TLF/regular/it +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{LY1}{Gudea-TLF}{b}{n}{ + <-> \Gudea@@scale Gudea-Bold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{Gudea-TLF}{bold}{n}{ + <-> alias * Gudea-TLF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{LY1}{Gudea-TLF}{bx}{n}{ + <-> ssub * Gudea-TLF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/gudea/OT1Gudea-TLF.fd b/Master/texmf-dist/tex/latex/gudea/OT1Gudea-TLF.fd new file mode 100644 index 00000000000..c6970c7ccac --- /dev/null +++ b/Master/texmf-dist/tex/latex/gudea/OT1Gudea-TLF.fd @@ -0,0 +1,67 @@ +%% Generated by autoinst on 2021/01/09 +%% +\ProvidesFile{OT1Gudea-TLF.fd} + [2021/01/09 (autoinst) Font definitions for OT1/Gudea-TLF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Gudea@scale\endcsname\relax + \let\Gudea@@scale\@empty +\else + \edef\Gudea@@scale{s*[\csname Gudea@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Gudea-TLF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{OT1}{Gudea-TLF}{m}{n}{ + <-> \Gudea@@scale Gudea-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Gudea-TLF}{regular}{n}{ + <-> alias * Gudea-TLF/m/n +}{} + +\DeclareFontShape{OT1}{Gudea-TLF}{m}{it}{ + <-> \Gudea@@scale Gudea-Italic-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Gudea-TLF}{regular}{it}{ + <-> alias * Gudea-TLF/m/it +}{} + +\DeclareFontShape{OT1}{Gudea-TLF}{m}{sl}{ + <-> ssub * Gudea-TLF/m/it +}{} + +\DeclareFontShape{OT1}{Gudea-TLF}{regular}{sl}{ + <-> ssub * Gudea-TLF/regular/it +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{OT1}{Gudea-TLF}{b}{n}{ + <-> \Gudea@@scale Gudea-Bold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{Gudea-TLF}{bold}{n}{ + <-> alias * Gudea-TLF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{OT1}{Gudea-TLF}{bx}{n}{ + <-> ssub * Gudea-TLF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/gudea/T1Gudea-TLF.fd b/Master/texmf-dist/tex/latex/gudea/T1Gudea-TLF.fd new file mode 100644 index 00000000000..eb20702a154 --- /dev/null +++ b/Master/texmf-dist/tex/latex/gudea/T1Gudea-TLF.fd @@ -0,0 +1,67 @@ +%% Generated by autoinst on 2021/01/09 +%% +\ProvidesFile{T1Gudea-TLF.fd} + [2021/01/09 (autoinst) Font definitions for T1/Gudea-TLF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Gudea@scale\endcsname\relax + \let\Gudea@@scale\@empty +\else + \edef\Gudea@@scale{s*[\csname Gudea@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Gudea-TLF}{} + + +% ---- b = bold ---- + +\DeclareFontShape{T1}{Gudea-TLF}{b}{n}{ + <-> \Gudea@@scale Gudea-Bold-tlf-t1 +}{} + +\DeclareFontShape{T1}{Gudea-TLF}{bold}{n}{ + <-> alias * Gudea-TLF/b/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{T1}{Gudea-TLF}{m}{it}{ + <-> \Gudea@@scale Gudea-Italic-tlf-t1 +}{} + +\DeclareFontShape{T1}{Gudea-TLF}{regular}{it}{ + <-> alias * Gudea-TLF/m/it +}{} + +\DeclareFontShape{T1}{Gudea-TLF}{m}{n}{ + <-> \Gudea@@scale Gudea-tlf-t1 +}{} + +\DeclareFontShape{T1}{Gudea-TLF}{regular}{n}{ + <-> alias * Gudea-TLF/m/n +}{} + +\DeclareFontShape{T1}{Gudea-TLF}{m}{sl}{ + <-> ssub * Gudea-TLF/m/it +}{} + +\DeclareFontShape{T1}{Gudea-TLF}{regular}{sl}{ + <-> ssub * Gudea-TLF/regular/it +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{T1}{Gudea-TLF}{bx}{n}{ + <-> ssub * Gudea-TLF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/gudea/TS1Gudea-TLF.fd b/Master/texmf-dist/tex/latex/gudea/TS1Gudea-TLF.fd new file mode 100644 index 00000000000..a8624b53fe3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/gudea/TS1Gudea-TLF.fd @@ -0,0 +1,67 @@ +%% Generated by autoinst on 2021/01/09 +%% +\ProvidesFile{TS1Gudea-TLF.fd} + [2021/01/09 (autoinst) Font definitions for TS1/Gudea-TLF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Gudea@scale\endcsname\relax + \let\Gudea@@scale\@empty +\else + \edef\Gudea@@scale{s*[\csname Gudea@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Gudea-TLF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{TS1}{Gudea-TLF}{m}{n}{ + <-> \Gudea@@scale Gudea-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Gudea-TLF}{regular}{n}{ + <-> alias * Gudea-TLF/m/n +}{} + +\DeclareFontShape{TS1}{Gudea-TLF}{m}{it}{ + <-> \Gudea@@scale Gudea-Italic-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Gudea-TLF}{regular}{it}{ + <-> alias * Gudea-TLF/m/it +}{} + +\DeclareFontShape{TS1}{Gudea-TLF}{m}{sl}{ + <-> ssub * Gudea-TLF/m/it +}{} + +\DeclareFontShape{TS1}{Gudea-TLF}{regular}{sl}{ + <-> ssub * Gudea-TLF/regular/it +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{TS1}{Gudea-TLF}{b}{n}{ + <-> \Gudea@@scale Gudea-Bold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{Gudea-TLF}{bold}{n}{ + <-> alias * Gudea-TLF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{TS1}{Gudea-TLF}{bx}{n}{ + <-> ssub * Gudea-TLF/b/n +}{} + +\endinput |