summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd')
-rw-r--r--Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd b/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd
new file mode 100644
index 00000000000..7ad6c1001db
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/theanomodern/TS1TheanoModern-TOsF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/07/27
+%%
+\ProvidesFile{TS1TheanoModern-TOsF.fd}
+ [2019/07/27 (autoinst) Font definitions for TS1/TheanoModern-TOsF.]
+
+\expandafter\ifx\csname TheanoModern@scale\endcsname\relax
+ \let\TheanoModern@@scale\@empty
+\else
+ \edef\TheanoModern@@scale{s*[\csname TheanoModern@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{TheanoModern-TOsF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{regular}{n}{
+ <-> \TheanoModern@@scale TheanoModern-Regular-tosf-ts1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{bold}{n}{
+ <-> \TheanoModern@@scale TheanoModern-Bold-tosf-ts1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{m}{n}{
+ <-> ssub * TheanoModern-TOsF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{b}{n}{
+ <-> ssub * TheanoModern-TOsF/bold/n
+}{}
+
+\DeclareFontShape{TS1}{TheanoModern-TOsF}{bx}{n}{
+ <-> ssub * TheanoModern-TOsF/b/n
+}{}
+
+\endinput