From 6e6b3e514f76bb0a3c376597677a926215c6d86a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 8 Feb 2016 22:39:37 +0000 Subject: crimson (8feb16) git-svn-id: svn://tug.org/texlive/trunk@39627 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/crimson/LY1Crimson-LF.fd | 64 ++++++++++++++++ .../texmf-dist/tex/latex/crimson/OT1Crimson-LF.fd | 63 +++++++++++++++ .../texmf-dist/tex/latex/crimson/T1Crimson-LF.fd | 66 ++++++++++++++++ .../texmf-dist/tex/latex/crimson/TS1Crimson-LF.fd | 62 +++++++++++++++ Master/texmf-dist/tex/latex/crimson/crimson.sty | 89 ++++++++++++++++++++++ 5 files changed, 344 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/crimson/LY1Crimson-LF.fd create mode 100644 Master/texmf-dist/tex/latex/crimson/OT1Crimson-LF.fd create mode 100644 Master/texmf-dist/tex/latex/crimson/T1Crimson-LF.fd create mode 100644 Master/texmf-dist/tex/latex/crimson/TS1Crimson-LF.fd create mode 100644 Master/texmf-dist/tex/latex/crimson/crimson.sty (limited to 'Master/texmf-dist/tex/latex/crimson') diff --git a/Master/texmf-dist/tex/latex/crimson/LY1Crimson-LF.fd b/Master/texmf-dist/tex/latex/crimson/LY1Crimson-LF.fd new file mode 100644 index 00000000000..e6777332345 --- /dev/null +++ b/Master/texmf-dist/tex/latex/crimson/LY1Crimson-LF.fd @@ -0,0 +1,64 @@ +%% Generated by autoinst on 2016/02/05 +%% +\ProvidesFile{LY1Crimson-LF.fd} + [2016/02/05 (autoinst) Font definitions for LY1/Crimson-LF.] + +\expandafter\ifx\csname Crimson@scale\endcsname\relax + \let\Crimson@@scale\@empty +\else + \edef\Crimson@@scale{s*[\csname Crimson@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Crimson-LF}{} + +\DeclareFontShape{LY1}{Crimson-LF}{b}{n}{ + <-> \Crimson@@scale Crimson-Bold-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{b}{it}{ + <-> \Crimson@@scale Crimson-BoldItalic-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{b}{sl}{ + <-> ssub * Crimson-LF/b/it +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{sb}{n}{ + <-> \Crimson@@scale Crimson-Semibold-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{sb}{it}{ + <-> \Crimson@@scale Crimson-SemiboldItalic-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{sb}{sl}{ + <-> ssub * Crimson-LF/sb/it +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{m}{n}{ + <-> \Crimson@@scale Crimson-Roman-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{m}{it}{ + <-> \Crimson@@scale Crimson-Italic-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{m}{sl}{ + <-> ssub * Crimson-LF/m/it +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{bx}{sl}{ + <-> ssub * Crimson-LF/b/sl +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{bx}{n}{ + <-> ssub * Crimson-LF/b/n +}{} + +\DeclareFontShape{LY1}{Crimson-LF}{bx}{it}{ + <-> ssub * Crimson-LF/b/it +}{} + + + +\endinput diff --git a/Master/texmf-dist/tex/latex/crimson/OT1Crimson-LF.fd b/Master/texmf-dist/tex/latex/crimson/OT1Crimson-LF.fd new file mode 100644 index 00000000000..0bf96b8b829 --- /dev/null +++ b/Master/texmf-dist/tex/latex/crimson/OT1Crimson-LF.fd @@ -0,0 +1,63 @@ +%% Generated by autoinst on 2016/02/05 +%% +\ProvidesFile{OT1Crimson-LF.fd} + [2016/02/05 (autoinst) Font definitions for OT1/Crimson-LF.] + +\expandafter\ifx\csname Crimson@scale\endcsname\relax + \let\Crimson@@scale\@empty +\else + \edef\Crimson@@scale{s*[\csname Crimson@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Crimson-LF}{} + + +\DeclareFontShape{OT1}{Crimson-LF}{b}{n}{ + <-> \Crimson@@scale Crimson-Bold-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{b}{it}{ + <-> \Crimson@@scale Crimson-BoldItalic-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{b}{sl}{ + <-> ssub * Crimson-LF/b/it +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{sb}{n}{ + <-> \Crimson@@scale Crimson-Semibold-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{sb}{it}{ + <-> \Crimson@@scale Crimson-SemiboldItalic-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{sb}{sl}{ + <-> ssub * Crimson-LF/sb/it +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{m}{n}{ + <-> \Crimson@@scale Crimson-Roman-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{m}{it}{ + <-> \Crimson@@scale Crimson-Italic-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{m}{sl}{ + <-> ssub * Crimson-LF/m/it +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{bx}{sl}{ + <-> ssub * Crimson-LF/b/sl +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{bx}{n}{ + <-> ssub * Crimson-LF/b/n +}{} + +\DeclareFontShape{OT1}{Crimson-LF}{bx}{it}{ + <-> ssub * Crimson-LF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/crimson/T1Crimson-LF.fd b/Master/texmf-dist/tex/latex/crimson/T1Crimson-LF.fd new file mode 100644 index 00000000000..8c74fbd0ec8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/crimson/T1Crimson-LF.fd @@ -0,0 +1,66 @@ +%% Generated by autoinst on 2016/02/05 +%% +\ProvidesFile{T1Crimson-LF.fd} + [2016/02/05 (autoinst) Font definitions for T1/Crimson-LF.] + +\expandafter\ifx\csname Crimson@scale\endcsname\relax + \let\Crimson@@scale\@empty +\else + \edef\Crimson@@scale{s*[\csname Crimson@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Crimson-LF}{} + +\DeclareFontShape{T1}{Crimson-LF}{b}{n}{ + <-> \Crimson@@scale Crimson-Bold-lf-t1 +}{} + +\DeclareFontShape{T1}{Crimson-LF}{b}{it}{ + <-> \Crimson@@scale Crimson-BoldItalic-lf-t1 +}{} + +\DeclareFontShape{T1}{Crimson-LF}{b}{sl}{ + <-> ssub * Crimson-LF/b/it +}{} + +\DeclareFontShape{T1}{Crimson-LF}{sb}{n}{ + <-> \Crimson@@scale Crimson-Semibold-lf-t1 +}{} + +\DeclareFontShape{T1}{Crimson-LF}{sb}{it}{ + <-> \Crimson@@scale Crimson-SemiboldItalic-lf-t1 +}{} + +\DeclareFontShape{T1}{Crimson-LF}{sb}{sl}{ + <-> ssub * Crimson-LF/sb/it +}{} + +\DeclareFontShape{T1}{Crimson-LF}{m}{n}{ + <-> \Crimson@@scale Crimson-Roman-lf-t1 +}{} + +\DeclareFontShape{T1}{Crimson-LF}{m}{it}{ + <-> \Crimson@@scale Crimson-Italic-lf-t1 +}{} + +\DeclareFontShape{T1}{Crimson-LF}{m}{scsl}{ + <-> ssub * Crimson-LF/m/scit +}{} + +\DeclareFontShape{T1}{Crimson-LF}{m}{sl}{ + <-> ssub * Crimson-LF/m/it +}{} + +\DeclareFontShape{T1}{Crimson-LF}{bx}{sl}{ + <-> ssub * Crimson-LF/b/sl +}{} + +\DeclareFontShape{T1}{Crimson-LF}{bx}{n}{ + <-> ssub * Crimson-LF/b/n +}{} + +\DeclareFontShape{T1}{Crimson-LF}{bx}{it}{ + <-> ssub * Crimson-LF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/crimson/TS1Crimson-LF.fd b/Master/texmf-dist/tex/latex/crimson/TS1Crimson-LF.fd new file mode 100644 index 00000000000..d98d2c599d1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/crimson/TS1Crimson-LF.fd @@ -0,0 +1,62 @@ +%% Generated by autoinst on 2016/02/05 +%% +\ProvidesFile{TS1Crimson-LF.fd} + [2016/02/05 (autoinst) Font definitions for TS1/Crimson-LF.] + +\expandafter\ifx\csname Crimson@scale\endcsname\relax + \let\Crimson@@scale\@empty +\else + \edef\Crimson@@scale{s*[\csname Crimson@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Crimson-LF}{} + +\DeclareFontShape{TS1}{Crimson-LF}{b}{n}{ + <-> \Crimson@@scale Crimson-Bold-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{b}{it}{ + <-> \Crimson@@scale Crimson-BoldItalic-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{b}{sl}{ + <-> ssub * Crimson-LF/b/it +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{sb}{n}{ + <-> \Crimson@@scale Crimson-Semibold-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{sb}{it}{ + <-> \Crimson@@scale Crimson-SemiboldItalic-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{sb}{sl}{ + <-> ssub * Crimson-LF/sb/it +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{m}{n}{ + <-> \Crimson@@scale Crimson-Roman-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{m}{it}{ + <-> \Crimson@@scale Crimson-Italic-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{m}{sl}{ + <-> ssub * Crimson-LF/m/it +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{bx}{sl}{ + <-> ssub * Crimson-LF/b/sl +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{bx}{n}{ + <-> ssub * Crimson-LF/b/n +}{} + +\DeclareFontShape{TS1}{Crimson-LF}{bx}{it}{ + <-> ssub * Crimson-LF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/crimson/crimson.sty b/Master/texmf-dist/tex/latex/crimson/crimson.sty new file mode 100644 index 00000000000..e6329097f8d --- /dev/null +++ b/Master/texmf-dist/tex/latex/crimson/crimson.sty @@ -0,0 +1,89 @@ +\ProvidesPackage{crimson}[% + 2016/02/06 (Bob Tennent) Supports crimson fonts for all LaTeX engines. ] + +\RequirePackage{ifxetex,ifluatex,textcomp} + +\newif\ifcrimson@otf +\ifxetex + \crimson@otftrue +\else\ifluatex + \crimson@otftrue +\else % [pdf]LaTeX + \crimson@otffalse +\fi\fi + +\newcommand*{\crimson@scale}{1} +\RequirePackage{xkeyval} +\DeclareOptionX{scaled}{\renewcommand*{\crimson@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\crimson@scale}{#1}} + +\newif\ifcrimson@semibold \crimson@semiboldfalse + +\DeclareOptionX{type1}{\crimson@otffalse} +\DeclareOptionX{semibold}{\crimson@semiboldtrue} +\DeclareOptionX{sb}{\crimson@semiboldtrue} +\DeclareOptionX{bold}{\crimson@semiboldfalse} + +\ProcessOptionsX\relax + +\ifcrimson@otf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes,mweights} +\fi + +\ifcrimson@otf + \def\crimson@boldstyle{Bold} + \ifcrimson@semibold\def\crimson@boldstyle{Semibold}\fi + +\else % type1 + + \def\bfseries@rm{b} + \ifcrimson@semibold\def\bfseries@rm{sb}\fi + + \def\mdseries@rm{m} +\fi + + +\ifcrimson@otf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Scale = \crimson@scale, + Extension = .otf , + } + \setmainfont + [ UprightFont = *-Roman , + ItalicFont = *-Italic , + BoldFont = *-\crimson@boldstyle , + BoldItalicFont = *-\crimson@boldstyle Italic ] + {Crimson} + \newfontfamily\crimson + [ UprightFont = *-Roman , + ItalicFont = *-Italic , + BoldFont = *-\crimson@boldstyle , + BoldItalicFont = *-\crimson@boldstyle Italic ] + {Crimson} + \newfontfamily\crimsonsemibold + [ UprightFont = *-Semibold , + ItalicFont = *-SemiboldItalic , + BoldFont = *-Semibold , + BoldItalicFont = *-SemiboldItalic ] + {Crimson} + +\else % type1 + + \def\crimson@family{Crimson-LF} + \renewcommand*\rmdefault{\crimson@family} + \newcommand*\crimson{\fontfamily{\crimson@family}\selectfont} + \def\crimsonsemibold{\fontfamily{\crimson@family}\fontseries{sb}\selectfont} + +\fi + +% turn off defaults in case other fonts are selected: +\ifcrimson@otf + \defaultfontfeatures{} +\fi + +\endinput + -- cgit v1.2.3