summaryrefslogtreecommitdiff
path: root/fonts/alfaslabone/latex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/alfaslabone/latex')
-rw-r--r--fonts/alfaslabone/latex/LY1AlphaSlabOne-Sup.fd36
-rw-r--r--fonts/alfaslabone/latex/LY1AlphaSlabOne-TLF.fd36
-rw-r--r--fonts/alfaslabone/latex/OT1AlphaSlabOne-Sup.fd36
-rw-r--r--fonts/alfaslabone/latex/OT1AlphaSlabOne-TLF.fd36
-rw-r--r--fonts/alfaslabone/latex/T1AlphaSlabOne-Sup.fd36
-rw-r--r--fonts/alfaslabone/latex/T1AlphaSlabOne-TLF.fd36
-rw-r--r--fonts/alfaslabone/latex/TS1AlphaSlabOne-TLF.fd36
-rw-r--r--fonts/alfaslabone/latex/alfaslabone.sty62
8 files changed, 314 insertions, 0 deletions
diff --git a/fonts/alfaslabone/latex/LY1AlphaSlabOne-Sup.fd b/fonts/alfaslabone/latex/LY1AlphaSlabOne-Sup.fd
new file mode 100644
index 0000000000..61ef37332d
--- /dev/null
+++ b/fonts/alfaslabone/latex/LY1AlphaSlabOne-Sup.fd
@@ -0,0 +1,36 @@
+%% Generated by autoinst on 2021/01/16
+%%
+\ProvidesFile{LY1AlphaSlabOne-Sup.fd}
+ [2021/01/16 (autoinst) Font definitions for LY1/AlphaSlabOne-Sup.]
+
+\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 AlphaSlabOne@scale\endcsname\relax
+ \let\AlphaSlabOne@@scale\@empty
+\else
+ \edef\AlphaSlabOne@@scale{s*[\csname AlphaSlabOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{LY1}{AlphaSlabOne-Sup}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{LY1}{AlphaSlabOne-Sup}{m}{n}{
+ <-> \AlphaSlabOne@@scale AlphaSlabOne-Regular-sup-ly1
+}{}
+
+\DeclareFontShape{LY1}{AlphaSlabOne-Sup}{regular}{n}{
+ <-> alias * AlphaSlabOne-Sup/m/n
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\endinput
diff --git a/fonts/alfaslabone/latex/LY1AlphaSlabOne-TLF.fd b/fonts/alfaslabone/latex/LY1AlphaSlabOne-TLF.fd
new file mode 100644
index 0000000000..b013c767ac
--- /dev/null
+++ b/fonts/alfaslabone/latex/LY1AlphaSlabOne-TLF.fd
@@ -0,0 +1,36 @@
+%% Generated by autoinst on 2021/01/16
+%%
+\ProvidesFile{LY1AlphaSlabOne-TLF.fd}
+ [2021/01/16 (autoinst) Font definitions for LY1/AlphaSlabOne-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 AlphaSlabOne@scale\endcsname\relax
+ \let\AlphaSlabOne@@scale\@empty
+\else
+ \edef\AlphaSlabOne@@scale{s*[\csname AlphaSlabOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{LY1}{AlphaSlabOne-TLF}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{LY1}{AlphaSlabOne-TLF}{m}{n}{
+ <-> \AlphaSlabOne@@scale AlphaSlabOne-Regular-tlf-ly1
+}{}
+
+\DeclareFontShape{LY1}{AlphaSlabOne-TLF}{regular}{n}{
+ <-> alias * AlphaSlabOne-TLF/m/n
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\endinput
diff --git a/fonts/alfaslabone/latex/OT1AlphaSlabOne-Sup.fd b/fonts/alfaslabone/latex/OT1AlphaSlabOne-Sup.fd
new file mode 100644
index 0000000000..91a96e08b5
--- /dev/null
+++ b/fonts/alfaslabone/latex/OT1AlphaSlabOne-Sup.fd
@@ -0,0 +1,36 @@
+%% Generated by autoinst on 2021/01/16
+%%
+\ProvidesFile{OT1AlphaSlabOne-Sup.fd}
+ [2021/01/16 (autoinst) Font definitions for OT1/AlphaSlabOne-Sup.]
+
+\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 AlphaSlabOne@scale\endcsname\relax
+ \let\AlphaSlabOne@@scale\@empty
+\else
+ \edef\AlphaSlabOne@@scale{s*[\csname AlphaSlabOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{OT1}{AlphaSlabOne-Sup}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{OT1}{AlphaSlabOne-Sup}{m}{n}{
+ <-> \AlphaSlabOne@@scale AlphaSlabOne-Regular-sup-ot1
+}{}
+
+\DeclareFontShape{OT1}{AlphaSlabOne-Sup}{regular}{n}{
+ <-> alias * AlphaSlabOne-Sup/m/n
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\endinput
diff --git a/fonts/alfaslabone/latex/OT1AlphaSlabOne-TLF.fd b/fonts/alfaslabone/latex/OT1AlphaSlabOne-TLF.fd
new file mode 100644
index 0000000000..f666782440
--- /dev/null
+++ b/fonts/alfaslabone/latex/OT1AlphaSlabOne-TLF.fd
@@ -0,0 +1,36 @@
+%% Generated by autoinst on 2021/01/16
+%%
+\ProvidesFile{OT1AlphaSlabOne-TLF.fd}
+ [2021/01/16 (autoinst) Font definitions for OT1/AlphaSlabOne-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 AlphaSlabOne@scale\endcsname\relax
+ \let\AlphaSlabOne@@scale\@empty
+\else
+ \edef\AlphaSlabOne@@scale{s*[\csname AlphaSlabOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{OT1}{AlphaSlabOne-TLF}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{OT1}{AlphaSlabOne-TLF}{m}{n}{
+ <-> \AlphaSlabOne@@scale AlphaSlabOne-Regular-tlf-ot1
+}{}
+
+\DeclareFontShape{OT1}{AlphaSlabOne-TLF}{regular}{n}{
+ <-> alias * AlphaSlabOne-TLF/m/n
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\endinput
diff --git a/fonts/alfaslabone/latex/T1AlphaSlabOne-Sup.fd b/fonts/alfaslabone/latex/T1AlphaSlabOne-Sup.fd
new file mode 100644
index 0000000000..12718feabe
--- /dev/null
+++ b/fonts/alfaslabone/latex/T1AlphaSlabOne-Sup.fd
@@ -0,0 +1,36 @@
+%% Generated by autoinst on 2021/01/16
+%%
+\ProvidesFile{T1AlphaSlabOne-Sup.fd}
+ [2021/01/16 (autoinst) Font definitions for T1/AlphaSlabOne-Sup.]
+
+\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 AlphaSlabOne@scale\endcsname\relax
+ \let\AlphaSlabOne@@scale\@empty
+\else
+ \edef\AlphaSlabOne@@scale{s*[\csname AlphaSlabOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{T1}{AlphaSlabOne-Sup}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{T1}{AlphaSlabOne-Sup}{m}{n}{
+ <-> \AlphaSlabOne@@scale AlphaSlabOne-Regular-sup-t1
+}{}
+
+\DeclareFontShape{T1}{AlphaSlabOne-Sup}{regular}{n}{
+ <-> alias * AlphaSlabOne-Sup/m/n
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\endinput
diff --git a/fonts/alfaslabone/latex/T1AlphaSlabOne-TLF.fd b/fonts/alfaslabone/latex/T1AlphaSlabOne-TLF.fd
new file mode 100644
index 0000000000..7eb488f690
--- /dev/null
+++ b/fonts/alfaslabone/latex/T1AlphaSlabOne-TLF.fd
@@ -0,0 +1,36 @@
+%% Generated by autoinst on 2021/01/16
+%%
+\ProvidesFile{T1AlphaSlabOne-TLF.fd}
+ [2021/01/16 (autoinst) Font definitions for T1/AlphaSlabOne-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 AlphaSlabOne@scale\endcsname\relax
+ \let\AlphaSlabOne@@scale\@empty
+\else
+ \edef\AlphaSlabOne@@scale{s*[\csname AlphaSlabOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{T1}{AlphaSlabOne-TLF}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{T1}{AlphaSlabOne-TLF}{m}{n}{
+ <-> \AlphaSlabOne@@scale AlphaSlabOne-Regular-tlf-t1
+}{}
+
+\DeclareFontShape{T1}{AlphaSlabOne-TLF}{regular}{n}{
+ <-> alias * AlphaSlabOne-TLF/m/n
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\endinput
diff --git a/fonts/alfaslabone/latex/TS1AlphaSlabOne-TLF.fd b/fonts/alfaslabone/latex/TS1AlphaSlabOne-TLF.fd
new file mode 100644
index 0000000000..4cfa6af299
--- /dev/null
+++ b/fonts/alfaslabone/latex/TS1AlphaSlabOne-TLF.fd
@@ -0,0 +1,36 @@
+%% Generated by autoinst on 2021/01/16
+%%
+\ProvidesFile{TS1AlphaSlabOne-TLF.fd}
+ [2021/01/16 (autoinst) Font definitions for TS1/AlphaSlabOne-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 AlphaSlabOne@scale\endcsname\relax
+ \let\AlphaSlabOne@@scale\@empty
+\else
+ \edef\AlphaSlabOne@@scale{s*[\csname AlphaSlabOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{AlphaSlabOne-TLF}{}
+
+
+% ---- m = regular ----
+
+\DeclareFontShape{TS1}{AlphaSlabOne-TLF}{m}{n}{
+ <-> \AlphaSlabOne@@scale AlphaSlabOne-Regular-tlf-ts1
+}{}
+
+\DeclareFontShape{TS1}{AlphaSlabOne-TLF}{regular}{n}{
+ <-> alias * AlphaSlabOne-TLF/m/n
+}{}
+
+
+% ---- Extra 'ssub' rules to map 'bx' to 'b' ----
+
+\endinput
diff --git a/fonts/alfaslabone/latex/alfaslabone.sty b/fonts/alfaslabone/latex/alfaslabone.sty
new file mode 100644
index 0000000000..0aba57b587
--- /dev/null
+++ b/fonts/alfaslabone/latex/alfaslabone.sty
@@ -0,0 +1,62 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{alfaslabone}
+ [2021/01/16 v.0.0.1 (Carl-Clemens Ebinger & autoinst) Style file for AlphaSlabOne fonts.]
+
+\RequirePackage{xkeyval}
+\newcommand*{\AlphaSlabOne@scale}{1}
+\DeclareOptionX{scale}{\renewcommand*{\AlphaSlabOne@scale}{#1}}
+\DeclareOptionX{scaled}{\renewcommand*{\AlphaSlabOne@scale}{#1}}
+
+\DeclareOptionX{lining}{\edef\AlphaSlabOne@figurestyle{LF}}
+\DeclareOptionX{tabular}{\edef\AlphaSlabOne@figurealign{T}}
+\DeclareOptionX{mainfont}{
+ \renewcommand{\familydefault}{\rmdefault}
+}
+\DeclareOptionX{regular}{\edef\mdseries@rm{regular}}
+\ExecuteOptionsX{lining,tabular}
+\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 "\AlphaSlabOne@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 "\AlphaSlabOne@scale" we will pass to the .fd files.
+\ifthenelse{\equal{\AlphaSlabOne@scale}{MatchLowercase}}
+ { \newlength{\AlphaSlabOne@currentx}
+ \settoheight{\AlphaSlabOne@currentx}{x}
+ \newlength{\AlphaSlabOne@xheight}
+ \settoheight{\AlphaSlabOne@xheight}
+ {{\font\testfont=AlphaSlabOne-Regular-tlf-ot1 at \f@size pt\testfont x}}
+ \renewcommand*{\AlphaSlabOne@scale}
+ {\strip@pt\dimexpr\number\numexpr\number\dimexpr\AlphaSlabOne@currentx\relax*65536/\number\dimexpr\AlphaSlabOne@xheight\relax\relax sp\relax}}
+ {}
+
+ \def\sufigures{\@nomath\sufigures\fontfigurestyle{superior}\selectfont}
+
+ \def\alfaslabonetabular{\fontfamily{AlphaSlabOne-TLF}\selectfont}
+
+\renewcommand*
+ {\rmdefault}
+ {AlphaSlabOne-\AlphaSlabOne@figurealign\AlphaSlabOne@figurestyle}
+
+\endinput