diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-20 22:22:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-20 22:22:13 +0000 |
commit | 148927fcbcc401e2880e3c664ca0f9363a7669fc (patch) | |
tree | 3d2aab9de35a4c4b0c54bddba9079c5a22f9ea49 /Master/texmf-dist/tex/latex/cascadia-code | |
parent | ba4436784d91f5588b7eb0f58debe42e07769d2e (diff) |
cascadia-code (20jan21)
git-svn-id: svn://tug.org/texlive/trunk@57478 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cascadia-code')
8 files changed, 725 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cascadia-code/LY1CascadiaCodThree-Sup.fd b/Master/texmf-dist/tex/latex/cascadia-code/LY1CascadiaCodThree-Sup.fd new file mode 100644 index 00000000000..3dabe0c6a82 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/LY1CascadiaCodThree-Sup.fd @@ -0,0 +1,95 @@ +%% Generated by autoinst on 2021/01/19 +%% +\ProvidesFile{LY1CascadiaCodThree-Sup.fd} + [2021/01/19 (autoinst) Font definitions for LY1/CascadiaCodThree-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 CascadiaCodThree@scale\endcsname\relax + \let\CascadiaCodThree@@scale\@empty +\else + \edef\CascadiaCodThree@@scale{s*[\csname CascadiaCodThree@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{CascadiaCodThree-Sup}{} + + +% ---- sl = semilight ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{sl}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiLight-sup-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{semilight}{n}{ + <-> alias * CascadiaCodThree-Sup/sl/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{m}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Regular-sup-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{regular}{n}{ + <-> alias * CascadiaCodThree-Sup/m/n +}{} + + +% ---- el = extralight ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{el}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-ExtraLight-sup-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{extralight}{n}{ + <-> alias * CascadiaCodThree-Sup/el/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{b}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Bold-sup-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{bold}{n}{ + <-> alias * CascadiaCodThree-Sup/b/n +}{} + + +% ---- l = light ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{l}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Light-sup-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{light}{n}{ + <-> alias * CascadiaCodThree-Sup/l/n +}{} + + +% ---- sb = semibold ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{sb}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiBold-sup-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{semibold}{n}{ + <-> alias * CascadiaCodThree-Sup/sb/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-Sup}{bx}{n}{ + <-> ssub * CascadiaCodThree-Sup/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cascadia-code/LY1CascadiaCodThree-TLF.fd b/Master/texmf-dist/tex/latex/cascadia-code/LY1CascadiaCodThree-TLF.fd new file mode 100644 index 00000000000..1ad99d0aa04 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/LY1CascadiaCodThree-TLF.fd @@ -0,0 +1,95 @@ +%% Generated by autoinst on 2021/01/19 +%% +\ProvidesFile{LY1CascadiaCodThree-TLF.fd} + [2021/01/19 (autoinst) Font definitions for LY1/CascadiaCodThree-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 CascadiaCodThree@scale\endcsname\relax + \let\CascadiaCodThree@@scale\@empty +\else + \edef\CascadiaCodThree@@scale{s*[\csname CascadiaCodThree@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{CascadiaCodThree-TLF}{} + + +% ---- l = light ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{l}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Light-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{light}{n}{ + <-> alias * CascadiaCodThree-TLF/l/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{b}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Bold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{bold}{n}{ + <-> alias * CascadiaCodThree-TLF/b/n +}{} + + +% ---- sb = semibold ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{sb}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiBold-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{semibold}{n}{ + <-> alias * CascadiaCodThree-TLF/sb/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{m}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Regular-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{regular}{n}{ + <-> alias * CascadiaCodThree-TLF/m/n +}{} + + +% ---- sl = semilight ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{sl}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiLight-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{semilight}{n}{ + <-> alias * CascadiaCodThree-TLF/sl/n +}{} + + +% ---- el = extralight ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{el}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-ExtraLight-tlf-ly1 +}{} + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{extralight}{n}{ + <-> alias * CascadiaCodThree-TLF/el/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{LY1}{CascadiaCodThree-TLF}{bx}{n}{ + <-> ssub * CascadiaCodThree-TLF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cascadia-code/OT1CascadiaCodThree-Sup.fd b/Master/texmf-dist/tex/latex/cascadia-code/OT1CascadiaCodThree-Sup.fd new file mode 100644 index 00000000000..91b0228b81f --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/OT1CascadiaCodThree-Sup.fd @@ -0,0 +1,95 @@ +%% Generated by autoinst on 2021/01/19 +%% +\ProvidesFile{OT1CascadiaCodThree-Sup.fd} + [2021/01/19 (autoinst) Font definitions for OT1/CascadiaCodThree-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 CascadiaCodThree@scale\endcsname\relax + \let\CascadiaCodThree@@scale\@empty +\else + \edef\CascadiaCodThree@@scale{s*[\csname CascadiaCodThree@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{CascadiaCodThree-Sup}{} + + +% ---- el = extralight ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{el}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-ExtraLight-sup-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{extralight}{n}{ + <-> alias * CascadiaCodThree-Sup/el/n +}{} + + +% ---- sl = semilight ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{sl}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiLight-sup-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{semilight}{n}{ + <-> alias * CascadiaCodThree-Sup/sl/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{m}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Regular-sup-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{regular}{n}{ + <-> alias * CascadiaCodThree-Sup/m/n +}{} + + +% ---- sb = semibold ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{sb}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiBold-sup-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{semibold}{n}{ + <-> alias * CascadiaCodThree-Sup/sb/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{b}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Bold-sup-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{bold}{n}{ + <-> alias * CascadiaCodThree-Sup/b/n +}{} + + +% ---- l = light ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{l}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Light-sup-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{light}{n}{ + <-> alias * CascadiaCodThree-Sup/l/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-Sup}{bx}{n}{ + <-> ssub * CascadiaCodThree-Sup/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cascadia-code/OT1CascadiaCodThree-TLF.fd b/Master/texmf-dist/tex/latex/cascadia-code/OT1CascadiaCodThree-TLF.fd new file mode 100644 index 00000000000..dcab9b13003 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/OT1CascadiaCodThree-TLF.fd @@ -0,0 +1,95 @@ +%% Generated by autoinst on 2021/01/19 +%% +\ProvidesFile{OT1CascadiaCodThree-TLF.fd} + [2021/01/19 (autoinst) Font definitions for OT1/CascadiaCodThree-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 CascadiaCodThree@scale\endcsname\relax + \let\CascadiaCodThree@@scale\@empty +\else + \edef\CascadiaCodThree@@scale{s*[\csname CascadiaCodThree@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{CascadiaCodThree-TLF}{} + + +% ---- b = bold ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{b}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Bold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{bold}{n}{ + <-> alias * CascadiaCodThree-TLF/b/n +}{} + + +% ---- l = light ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{l}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Light-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{light}{n}{ + <-> alias * CascadiaCodThree-TLF/l/n +}{} + + +% ---- sb = semibold ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{sb}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiBold-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{semibold}{n}{ + <-> alias * CascadiaCodThree-TLF/sb/n +}{} + + +% ---- sl = semilight ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{sl}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiLight-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{semilight}{n}{ + <-> alias * CascadiaCodThree-TLF/sl/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{m}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Regular-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{regular}{n}{ + <-> alias * CascadiaCodThree-TLF/m/n +}{} + + +% ---- el = extralight ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{el}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-ExtraLight-tlf-ot1 +}{} + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{extralight}{n}{ + <-> alias * CascadiaCodThree-TLF/el/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{OT1}{CascadiaCodThree-TLF}{bx}{n}{ + <-> ssub * CascadiaCodThree-TLF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cascadia-code/T1CascadiaCodThree-Sup.fd b/Master/texmf-dist/tex/latex/cascadia-code/T1CascadiaCodThree-Sup.fd new file mode 100644 index 00000000000..c7debe093e2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/T1CascadiaCodThree-Sup.fd @@ -0,0 +1,95 @@ +%% Generated by autoinst on 2021/01/19 +%% +\ProvidesFile{T1CascadiaCodThree-Sup.fd} + [2021/01/19 (autoinst) Font definitions for T1/CascadiaCodThree-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 CascadiaCodThree@scale\endcsname\relax + \let\CascadiaCodThree@@scale\@empty +\else + \edef\CascadiaCodThree@@scale{s*[\csname CascadiaCodThree@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{CascadiaCodThree-Sup}{} + + +% ---- el = extralight ---- + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{el}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-ExtraLight-sup-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{extralight}{n}{ + <-> alias * CascadiaCodThree-Sup/el/n +}{} + + +% ---- sl = semilight ---- + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{sl}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiLight-sup-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{semilight}{n}{ + <-> alias * CascadiaCodThree-Sup/sl/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{m}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Regular-sup-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{regular}{n}{ + <-> alias * CascadiaCodThree-Sup/m/n +}{} + + +% ---- sb = semibold ---- + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{sb}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiBold-sup-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{semibold}{n}{ + <-> alias * CascadiaCodThree-Sup/sb/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{b}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Bold-sup-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{bold}{n}{ + <-> alias * CascadiaCodThree-Sup/b/n +}{} + + +% ---- l = light ---- + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{l}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Light-sup-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{light}{n}{ + <-> alias * CascadiaCodThree-Sup/l/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{T1}{CascadiaCodThree-Sup}{bx}{n}{ + <-> ssub * CascadiaCodThree-Sup/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cascadia-code/T1CascadiaCodThree-TLF.fd b/Master/texmf-dist/tex/latex/cascadia-code/T1CascadiaCodThree-TLF.fd new file mode 100644 index 00000000000..ba3d9a70248 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/T1CascadiaCodThree-TLF.fd @@ -0,0 +1,95 @@ +%% Generated by autoinst on 2021/01/19 +%% +\ProvidesFile{T1CascadiaCodThree-TLF.fd} + [2021/01/19 (autoinst) Font definitions for T1/CascadiaCodThree-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 CascadiaCodThree@scale\endcsname\relax + \let\CascadiaCodThree@@scale\@empty +\else + \edef\CascadiaCodThree@@scale{s*[\csname CascadiaCodThree@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{CascadiaCodThree-TLF}{} + + +% ---- b = bold ---- + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{b}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Bold-tlf-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{bold}{n}{ + <-> alias * CascadiaCodThree-TLF/b/n +}{} + + +% ---- l = light ---- + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{l}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Light-tlf-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{light}{n}{ + <-> alias * CascadiaCodThree-TLF/l/n +}{} + + +% ---- sb = semibold ---- + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{sb}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiBold-tlf-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{semibold}{n}{ + <-> alias * CascadiaCodThree-TLF/sb/n +}{} + + +% ---- sl = semilight ---- + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{sl}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiLight-tlf-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{semilight}{n}{ + <-> alias * CascadiaCodThree-TLF/sl/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{m}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Regular-tlf-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{regular}{n}{ + <-> alias * CascadiaCodThree-TLF/m/n +}{} + + +% ---- el = extralight ---- + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{el}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-ExtraLight-tlf-t1 +}{} + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{extralight}{n}{ + <-> alias * CascadiaCodThree-TLF/el/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{T1}{CascadiaCodThree-TLF}{bx}{n}{ + <-> ssub * CascadiaCodThree-TLF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cascadia-code/TS1CascadiaCodThree-TLF.fd b/Master/texmf-dist/tex/latex/cascadia-code/TS1CascadiaCodThree-TLF.fd new file mode 100644 index 00000000000..f942cac4998 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/TS1CascadiaCodThree-TLF.fd @@ -0,0 +1,95 @@ +%% Generated by autoinst on 2021/01/19 +%% +\ProvidesFile{TS1CascadiaCodThree-TLF.fd} + [2021/01/19 (autoinst) Font definitions for TS1/CascadiaCodThree-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 CascadiaCodThree@scale\endcsname\relax + \let\CascadiaCodThree@@scale\@empty +\else + \edef\CascadiaCodThree@@scale{s*[\csname CascadiaCodThree@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{CascadiaCodThree-TLF}{} + + +% ---- el = extralight ---- + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{el}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-ExtraLight-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{extralight}{n}{ + <-> alias * CascadiaCodThree-TLF/el/n +}{} + + +% ---- m = regular ---- + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{m}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Regular-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{regular}{n}{ + <-> alias * CascadiaCodThree-TLF/m/n +}{} + + +% ---- sl = semilight ---- + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{sl}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiLight-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{semilight}{n}{ + <-> alias * CascadiaCodThree-TLF/sl/n +}{} + + +% ---- sb = semibold ---- + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{sb}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-SemiBold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{semibold}{n}{ + <-> alias * CascadiaCodThree-TLF/sb/n +}{} + + +% ---- l = light ---- + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{l}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Light-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{light}{n}{ + <-> alias * CascadiaCodThree-TLF/l/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{b}{n}{ + <-> \CascadiaCodThree@@scale CascadiaCod3-Bold-tlf-ts1 +}{} + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{bold}{n}{ + <-> alias * CascadiaCodThree-TLF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{TS1}{CascadiaCodThree-TLF}{bx}{n}{ + <-> ssub * CascadiaCodThree-TLF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/cascadia-code/cascadia-code.sty b/Master/texmf-dist/tex/latex/cascadia-code/cascadia-code.sty new file mode 100644 index 00000000000..ae9d5777720 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cascadia-code/cascadia-code.sty @@ -0,0 +1,60 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{cascadia-code} + [2021/01/19 (Carl-Clemens Ebinger & autoinst) Style file for Cascadia Code fonts.] + +\RequirePackage{xkeyval} +\newcommand*{\CascadiaCodThree@scale}{1} +\DeclareOptionX{scale}{\renewcommand*{\CascadiaCodThree@scale}{#1}} +\DeclareOptionX{scaled}{\renewcommand*{\CascadiaCodThree@scale}{#1}} + +\DeclareOptionX{lining}{\edef\CascadiaCodThree@figurestyle{LF}} +\DeclareOptionX{tabular}{\edef\CascadiaCodThree@figurealign{T}} +\DeclareOptionX{mainfont}{ + \renewcommand{\familydefault}{\rmdefault} +} +\DeclareOptionX{semibold}{\edef\bfseries@rm{semibold}} +\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} + \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 "\CascadiaCodThree@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 "\CascadiaCodThree@scale" we will pass to the .fd files. +\ifthenelse{\equal{\CascadiaCodThree@scale}{MatchLowercase}} + { \newlength{\CascadiaCodThree@currentx} + \settoheight{\CascadiaCodThree@currentx}{x} + \newlength{\CascadiaCodThree@xheight} + \settoheight{\CascadiaCodThree@xheight} + {{\font\testfont=CascadiaCod3-Regular-tlf-ot1 at \f@size pt\testfont x}} + \renewcommand*{\CascadiaCodThree@scale} + {\strip@pt\dimexpr\number\numexpr\number\dimexpr\CascadiaCodThree@currentx\relax*65536/\number\dimexpr\CascadiaCodThree@xheight\relax\relax sp\relax}} + {} + +\renewcommand* + {\ttdefault} + {CascadiaCodThree-\CascadiaCodThree@figurealign\CascadiaCodThree@figurestyle} + +\endinput |