From bf6e72221f852238d27b67e5d01c6c9401ea4e7f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 May 2019 21:30:27 +0000 Subject: marcellus (11may19) git-svn-id: svn://tug.org/texlive/trunk@51088 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/marcellus/LY1Marcellus-LF.fd | 39 +++++++++++++ .../tex/latex/marcellus/LY1Marcellus-Sup.fd | 39 +++++++++++++ .../tex/latex/marcellus/OT1Marcellus-LF.fd | 39 +++++++++++++ .../tex/latex/marcellus/OT1Marcellus-Sup.fd | 39 +++++++++++++ .../tex/latex/marcellus/T1Marcellus-LF.fd | 39 +++++++++++++ .../tex/latex/marcellus/T1Marcellus-Sup.fd | 39 +++++++++++++ .../tex/latex/marcellus/TS1Marcellus-LF.fd | 39 +++++++++++++ .../texmf-dist/tex/latex/marcellus/marcellus.sty | 65 ++++++++++++++++++++++ 8 files changed, 338 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-LF.fd create mode 100644 Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-Sup.fd create mode 100644 Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-LF.fd create mode 100644 Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-Sup.fd create mode 100644 Master/texmf-dist/tex/latex/marcellus/T1Marcellus-LF.fd create mode 100644 Master/texmf-dist/tex/latex/marcellus/T1Marcellus-Sup.fd create mode 100644 Master/texmf-dist/tex/latex/marcellus/TS1Marcellus-LF.fd create mode 100644 Master/texmf-dist/tex/latex/marcellus/marcellus.sty (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-LF.fd b/Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-LF.fd new file mode 100644 index 00000000000..5069ba277a1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-LF.fd @@ -0,0 +1,39 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{LY1Marcellus-LF.fd} + [2019/05/11 (autoinst) Font definitions for LY1/Marcellus-LF.] + +\expandafter\ifx\csname Marcellus@scale\endcsname\relax + \let\Marcellus@@scale\@empty +\else + \edef\Marcellus@@scale{s*[\csname Marcellus@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Marcellus-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{Marcellus-LF}{regular}{sc}{ + <-> \Marcellus@@scale MarcellusSmallCaps-lf-sc-ly1 +}{} + +\DeclareFontShape{LY1}{Marcellus-LF}{regular}{n}{ + <-> \Marcellus@@scale Marcellus-Regular-lf-ly1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LY1}{Marcellus-LF}{m}{sc}{ + <-> ssub * Marcellus-LF/regular/sc +}{} + +\DeclareFontShape{LY1}{Marcellus-LF}{m}{n}{ + <-> ssub * Marcellus-LF/regular/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-Sup.fd b/Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-Sup.fd new file mode 100644 index 00000000000..8e9909841a8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/LY1Marcellus-Sup.fd @@ -0,0 +1,39 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{LY1Marcellus-Sup.fd} + [2019/05/11 (autoinst) Font definitions for LY1/Marcellus-Sup.] + +\expandafter\ifx\csname Marcellus@scale\endcsname\relax + \let\Marcellus@@scale\@empty +\else + \edef\Marcellus@@scale{s*[\csname Marcellus@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Marcellus-Sup}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{Marcellus-Sup}{regular}{sc}{ + <-> \Marcellus@@scale MarcellusSmallCaps-sup-sc-ly1 +}{} + +\DeclareFontShape{LY1}{Marcellus-Sup}{regular}{n}{ + <-> \Marcellus@@scale Marcellus-Regular-sup-ly1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LY1}{Marcellus-Sup}{m}{sc}{ + <-> ssub * Marcellus-Sup/regular/sc +}{} + +\DeclareFontShape{LY1}{Marcellus-Sup}{m}{n}{ + <-> ssub * Marcellus-Sup/regular/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-LF.fd b/Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-LF.fd new file mode 100644 index 00000000000..d6c794a88c8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-LF.fd @@ -0,0 +1,39 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{OT1Marcellus-LF.fd} + [2019/05/11 (autoinst) Font definitions for OT1/Marcellus-LF.] + +\expandafter\ifx\csname Marcellus@scale\endcsname\relax + \let\Marcellus@@scale\@empty +\else + \edef\Marcellus@@scale{s*[\csname Marcellus@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Marcellus-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{Marcellus-LF}{regular}{sc}{ + <-> \Marcellus@@scale MarcellusSmallCaps-lf-sc-ot1 +}{} + +\DeclareFontShape{OT1}{Marcellus-LF}{regular}{n}{ + <-> \Marcellus@@scale Marcellus-Regular-lf-ot1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{OT1}{Marcellus-LF}{m}{sc}{ + <-> ssub * Marcellus-LF/regular/sc +}{} + +\DeclareFontShape{OT1}{Marcellus-LF}{m}{n}{ + <-> ssub * Marcellus-LF/regular/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-Sup.fd b/Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-Sup.fd new file mode 100644 index 00000000000..d09c5ad85fe --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/OT1Marcellus-Sup.fd @@ -0,0 +1,39 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{OT1Marcellus-Sup.fd} + [2019/05/11 (autoinst) Font definitions for OT1/Marcellus-Sup.] + +\expandafter\ifx\csname Marcellus@scale\endcsname\relax + \let\Marcellus@@scale\@empty +\else + \edef\Marcellus@@scale{s*[\csname Marcellus@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Marcellus-Sup}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{Marcellus-Sup}{regular}{sc}{ + <-> \Marcellus@@scale MarcellusSmallCaps-sup-sc-ot1 +}{} + +\DeclareFontShape{OT1}{Marcellus-Sup}{regular}{n}{ + <-> \Marcellus@@scale Marcellus-Regular-sup-ot1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{OT1}{Marcellus-Sup}{m}{sc}{ + <-> ssub * Marcellus-Sup/regular/sc +}{} + +\DeclareFontShape{OT1}{Marcellus-Sup}{m}{n}{ + <-> ssub * Marcellus-Sup/regular/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/marcellus/T1Marcellus-LF.fd b/Master/texmf-dist/tex/latex/marcellus/T1Marcellus-LF.fd new file mode 100644 index 00000000000..ee8f9675187 --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/T1Marcellus-LF.fd @@ -0,0 +1,39 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{T1Marcellus-LF.fd} + [2019/05/11 (autoinst) Font definitions for T1/Marcellus-LF.] + +\expandafter\ifx\csname Marcellus@scale\endcsname\relax + \let\Marcellus@@scale\@empty +\else + \edef\Marcellus@@scale{s*[\csname Marcellus@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Marcellus-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{Marcellus-LF}{regular}{sc}{ + <-> \Marcellus@@scale MarcellusSmallCaps-lf-sc-t1 +}{} + +\DeclareFontShape{T1}{Marcellus-LF}{regular}{n}{ + <-> \Marcellus@@scale Marcellus-Regular-lf-t1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T1}{Marcellus-LF}{m}{sc}{ + <-> ssub * Marcellus-LF/regular/sc +}{} + +\DeclareFontShape{T1}{Marcellus-LF}{m}{n}{ + <-> ssub * Marcellus-LF/regular/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/marcellus/T1Marcellus-Sup.fd b/Master/texmf-dist/tex/latex/marcellus/T1Marcellus-Sup.fd new file mode 100644 index 00000000000..86925bafce1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/T1Marcellus-Sup.fd @@ -0,0 +1,39 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{T1Marcellus-Sup.fd} + [2019/05/11 (autoinst) Font definitions for T1/Marcellus-Sup.] + +\expandafter\ifx\csname Marcellus@scale\endcsname\relax + \let\Marcellus@@scale\@empty +\else + \edef\Marcellus@@scale{s*[\csname Marcellus@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Marcellus-Sup}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{Marcellus-Sup}{regular}{sc}{ + <-> \Marcellus@@scale MarcellusSmallCaps-sup-sc-t1 +}{} + +\DeclareFontShape{T1}{Marcellus-Sup}{regular}{n}{ + <-> \Marcellus@@scale Marcellus-Regular-sup-t1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T1}{Marcellus-Sup}{m}{sc}{ + <-> ssub * Marcellus-Sup/regular/sc +}{} + +\DeclareFontShape{T1}{Marcellus-Sup}{m}{n}{ + <-> ssub * Marcellus-Sup/regular/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/marcellus/TS1Marcellus-LF.fd b/Master/texmf-dist/tex/latex/marcellus/TS1Marcellus-LF.fd new file mode 100644 index 00000000000..73932e90bb7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/TS1Marcellus-LF.fd @@ -0,0 +1,39 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{TS1Marcellus-LF.fd} + [2019/05/11 (autoinst) Font definitions for TS1/Marcellus-LF.] + +\expandafter\ifx\csname Marcellus@scale\endcsname\relax + \let\Marcellus@@scale\@empty +\else + \edef\Marcellus@@scale{s*[\csname Marcellus@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Marcellus-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{TS1}{Marcellus-LF}{regular}{sc}{ + <-> \Marcellus@@scale MarcellusSmallCaps-lf-sc-ts1 +}{} + +\DeclareFontShape{TS1}{Marcellus-LF}{regular}{n}{ + <-> \Marcellus@@scale Marcellus-Regular-lf-ts1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{TS1}{Marcellus-LF}{m}{sc}{ + <-> ssub * Marcellus-LF/regular/sc +}{} + +\DeclareFontShape{TS1}{Marcellus-LF}{m}{n}{ + <-> ssub * Marcellus-LF/regular/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/marcellus/marcellus.sty b/Master/texmf-dist/tex/latex/marcellus/marcellus.sty new file mode 100644 index 00000000000..783129ea1e4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/marcellus/marcellus.sty @@ -0,0 +1,65 @@ +\ProvidesPackage{marcellus}[% + 2019/05/11 (Bob Tennent) Supports Marcellus fonts for all LaTeX engines. ] + +\RequirePackage{ifxetex,ifluatex,textcomp} + +\newif\ifmarcellus@ttf +\ifxetex + \marcellus@ttftrue +\else\ifluatex + \marcellus@ttftrue +\else % [pdf]LaTeX + \marcellus@ttffalse +\fi\fi + +\newcommand*{\Marcellus@scale}{1} +\RequirePackage{xkeyval} +\DeclareOptionX{scaled}{\renewcommand*{\Marcellus@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\Marcellus@scale}{#1}} + +\DeclareOptionX{type1}{\marcellus@ttffalse} + +\ProcessOptionsX\relax + +\ifmarcellus@ttf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes,mweights} +\fi + +\ifmarcellus@ttf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Extension = .ttf , + } + \setmainfont + [ UprightFont = *-Regular , + BoldFont = *-Regular, + SmallCapsFont = {MarcellusSmallcaps} + ] + {Marcellus} + \newfontfamily\marcellus + [ UprightFont = *-Regular , + BoldFont = *-Regular, + SmallCapsFont = {MarcellusSmallcaps} + ] + {Marcellus} + +\else % type1 + + \def\mdseries@rm{regular} + \def\bfseries@rm{regular} + \def\marcellusfamily{Marcellus-LF} + \renewcommand*\rmdefault{\marcellusfamily} + \newcommand*\marcellus{\fontfamily{\marcellusfamily}\selectfont} + +\fi + +% turn off defaults in case other fonts are selected: +\ifmarcellus@ttf + \defaultfontfeatures{} +\fi + +\endinput + -- cgit v1.2.3