From 439c8dadc32c3029c7aa2bb7c0ce2fd8326a61c3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 May 2019 21:26:55 +0000 Subject: almendra (11may19) git-svn-id: svn://tug.org/texlive/trunk@51085 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/almendra/LY1Almendra-OsF.fd | 97 ++++++++++++++++++++++ .../tex/latex/almendra/OT1Almendra-OsF.fd | 97 ++++++++++++++++++++++ .../tex/latex/almendra/T1Almendra-OsF.fd | 97 ++++++++++++++++++++++ .../tex/latex/almendra/TS1Almendra-OsF.fd | 97 ++++++++++++++++++++++ Master/texmf-dist/tex/latex/almendra/almendra.sty | 69 +++++++++++++++ 5 files changed, 457 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/almendra/LY1Almendra-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/almendra/OT1Almendra-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/almendra/T1Almendra-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/almendra/TS1Almendra-OsF.fd create mode 100644 Master/texmf-dist/tex/latex/almendra/almendra.sty (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/almendra/LY1Almendra-OsF.fd b/Master/texmf-dist/tex/latex/almendra/LY1Almendra-OsF.fd new file mode 100644 index 00000000000..7b9db689fbc --- /dev/null +++ b/Master/texmf-dist/tex/latex/almendra/LY1Almendra-OsF.fd @@ -0,0 +1,97 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{LY1Almendra-OsF.fd} + [2019/05/11 (autoinst) Font definitions for LY1/Almendra-OsF.] + +\expandafter\ifx\csname Almendra@scale\endcsname\relax + \let\Almendra@@scale\@empty +\else + \edef\Almendra@@scale{s*[\csname Almendra@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Almendra-OsF}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{Almendra-OsF}{regular}{sc}{ + <-> \Almendra@@scale AlmendraSmallCaps-osf-sc-ly1 +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{regular}{n}{ + <-> \Almendra@@scale Almendra-Regular-osf-ly1 +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{regular}{it}{ + <-> \Almendra@@scale Almendra-Italic-osf-ly1 +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{regular}{sl}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{LY1}{Almendra-OsF}{bold}{n}{ + <-> \Almendra@@scale Almendra-Bold-osf-ly1 +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{bold}{it}{ + <-> \Almendra@@scale Almendra-BoldItalic-osf-ly1 +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{bold}{sl}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LY1}{Almendra-OsF}{m}{sl}{ + <-> ssub * Almendra-OsF/regular/sl +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{m}{sc}{ + <-> ssub * Almendra-OsF/regular/sc +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{m}{n}{ + <-> ssub * Almendra-OsF/regular/n +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{m}{it}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% b --> bold + +\DeclareFontShape{LY1}{Almendra-OsF}{b}{sl}{ + <-> ssub * Almendra-OsF/bold/sl +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{b}{n}{ + <-> ssub * Almendra-OsF/bold/n +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{b}{it}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{bx}{n}{ + <-> ssub * Almendra-OsF/b/n +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{bx}{sl}{ + <-> ssub * Almendra-OsF/b/sl +}{} + +\DeclareFontShape{LY1}{Almendra-OsF}{bx}{it}{ + <-> ssub * Almendra-OsF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/almendra/OT1Almendra-OsF.fd b/Master/texmf-dist/tex/latex/almendra/OT1Almendra-OsF.fd new file mode 100644 index 00000000000..dbd905a94f2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/almendra/OT1Almendra-OsF.fd @@ -0,0 +1,97 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{OT1Almendra-OsF.fd} + [2019/05/11 (autoinst) Font definitions for OT1/Almendra-OsF.] + +\expandafter\ifx\csname Almendra@scale\endcsname\relax + \let\Almendra@@scale\@empty +\else + \edef\Almendra@@scale{s*[\csname Almendra@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Almendra-OsF}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{Almendra-OsF}{regular}{sc}{ + <-> \Almendra@@scale AlmendraSmallCaps-osf-sc-ot1 +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{regular}{n}{ + <-> \Almendra@@scale Almendra-Regular-osf-ot1 +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{regular}{it}{ + <-> \Almendra@@scale Almendra-Italic-osf-ot1 +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{regular}{sl}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{OT1}{Almendra-OsF}{bold}{n}{ + <-> \Almendra@@scale Almendra-Bold-osf-ot1 +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{bold}{it}{ + <-> \Almendra@@scale Almendra-BoldItalic-osf-ot1 +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{bold}{sl}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{OT1}{Almendra-OsF}{m}{sl}{ + <-> ssub * Almendra-OsF/regular/sl +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{m}{sc}{ + <-> ssub * Almendra-OsF/regular/sc +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{m}{n}{ + <-> ssub * Almendra-OsF/regular/n +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{m}{it}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% b --> bold + +\DeclareFontShape{OT1}{Almendra-OsF}{b}{sl}{ + <-> ssub * Almendra-OsF/bold/sl +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{b}{n}{ + <-> ssub * Almendra-OsF/bold/n +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{b}{it}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{bx}{n}{ + <-> ssub * Almendra-OsF/b/n +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{bx}{sl}{ + <-> ssub * Almendra-OsF/b/sl +}{} + +\DeclareFontShape{OT1}{Almendra-OsF}{bx}{it}{ + <-> ssub * Almendra-OsF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/almendra/T1Almendra-OsF.fd b/Master/texmf-dist/tex/latex/almendra/T1Almendra-OsF.fd new file mode 100644 index 00000000000..5decb728a09 --- /dev/null +++ b/Master/texmf-dist/tex/latex/almendra/T1Almendra-OsF.fd @@ -0,0 +1,97 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{T1Almendra-OsF.fd} + [2019/05/11 (autoinst) Font definitions for T1/Almendra-OsF.] + +\expandafter\ifx\csname Almendra@scale\endcsname\relax + \let\Almendra@@scale\@empty +\else + \edef\Almendra@@scale{s*[\csname Almendra@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Almendra-OsF}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{Almendra-OsF}{regular}{sc}{ + <-> \Almendra@@scale AlmendraSmallCaps-osf-sc-t1 +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{regular}{n}{ + <-> \Almendra@@scale Almendra-Regular-osf-t1 +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{regular}{it}{ + <-> \Almendra@@scale Almendra-Italic-osf-t1 +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{regular}{sl}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{T1}{Almendra-OsF}{bold}{n}{ + <-> \Almendra@@scale Almendra-Bold-osf-t1 +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{bold}{it}{ + <-> \Almendra@@scale Almendra-BoldItalic-osf-t1 +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{bold}{sl}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T1}{Almendra-OsF}{m}{sl}{ + <-> ssub * Almendra-OsF/regular/sl +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{m}{sc}{ + <-> ssub * Almendra-OsF/regular/sc +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{m}{n}{ + <-> ssub * Almendra-OsF/regular/n +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{m}{it}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% b --> bold + +\DeclareFontShape{T1}{Almendra-OsF}{b}{sl}{ + <-> ssub * Almendra-OsF/bold/sl +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{b}{n}{ + <-> ssub * Almendra-OsF/bold/n +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{b}{it}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{bx}{n}{ + <-> ssub * Almendra-OsF/b/n +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{bx}{sl}{ + <-> ssub * Almendra-OsF/b/sl +}{} + +\DeclareFontShape{T1}{Almendra-OsF}{bx}{it}{ + <-> ssub * Almendra-OsF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/almendra/TS1Almendra-OsF.fd b/Master/texmf-dist/tex/latex/almendra/TS1Almendra-OsF.fd new file mode 100644 index 00000000000..b7b563dbced --- /dev/null +++ b/Master/texmf-dist/tex/latex/almendra/TS1Almendra-OsF.fd @@ -0,0 +1,97 @@ +%% Generated by autoinst on 2019/05/11 +%% +\ProvidesFile{TS1Almendra-OsF.fd} + [2019/05/11 (autoinst) Font definitions for TS1/Almendra-OsF.] + +\expandafter\ifx\csname Almendra@scale\endcsname\relax + \let\Almendra@@scale\@empty +\else + \edef\Almendra@@scale{s*[\csname Almendra@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Almendra-OsF}{} + + +% ---- regular ---- + +\DeclareFontShape{TS1}{Almendra-OsF}{regular}{sc}{ + <-> \Almendra@@scale AlmendraSmallCaps-osf-sc-ts1 +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{regular}{n}{ + <-> \Almendra@@scale Almendra-Regular-osf-ts1 +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{regular}{it}{ + <-> \Almendra@@scale Almendra-Italic-osf-ts1 +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{regular}{sl}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% ---- bold ---- + +\DeclareFontShape{TS1}{Almendra-OsF}{bold}{n}{ + <-> \Almendra@@scale Almendra-Bold-osf-ts1 +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{bold}{it}{ + <-> \Almendra@@scale Almendra-BoldItalic-osf-ts1 +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{bold}{sl}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{TS1}{Almendra-OsF}{m}{sl}{ + <-> ssub * Almendra-OsF/regular/sl +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{m}{sc}{ + <-> ssub * Almendra-OsF/regular/sc +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{m}{n}{ + <-> ssub * Almendra-OsF/regular/n +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{m}{it}{ + <-> ssub * Almendra-OsF/regular/it +}{} + + +% b --> bold + +\DeclareFontShape{TS1}{Almendra-OsF}{b}{sl}{ + <-> ssub * Almendra-OsF/bold/sl +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{b}{n}{ + <-> ssub * Almendra-OsF/bold/n +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{b}{it}{ + <-> ssub * Almendra-OsF/bold/it +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{bx}{n}{ + <-> ssub * Almendra-OsF/b/n +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{bx}{sl}{ + <-> ssub * Almendra-OsF/b/sl +}{} + +\DeclareFontShape{TS1}{Almendra-OsF}{bx}{it}{ + <-> ssub * Almendra-OsF/b/it +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/almendra/almendra.sty b/Master/texmf-dist/tex/latex/almendra/almendra.sty new file mode 100644 index 00000000000..567dd5aaaec --- /dev/null +++ b/Master/texmf-dist/tex/latex/almendra/almendra.sty @@ -0,0 +1,69 @@ +\ProvidesPackage{almendra}[% + 2019/05/11 (Bob Tennent) Supports Almendra fonts for all LaTeX engines. ] + +\RequirePackage{ifxetex,ifluatex,textcomp} + +\newif\ifalmendra@ttf +\ifxetex + \almendra@ttftrue +\else\ifluatex + \almendra@ttftrue +\else % [pdf]LaTeX + \almendra@ttffalse +\fi\fi + +\newcommand*{\Almendra@scale}{1} +\RequirePackage{xkeyval} +\DeclareOptionX{scaled}{\renewcommand*{\Almendra@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\Almendra@scale}{#1}} + +\DeclareOptionX{type1}{\almendra@ttffalse} + +\ProcessOptionsX\relax + +\ifalmendra@ttf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes,mweights} +\fi + +\ifalmendra@ttf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Extension = .ttf , + } + \setmainfont + [ UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-Bold , + BoldItalicFont = *-BoldItalic , + SmallCapsFont = {AlmendraSmallcaps} + ] + {Almendra} + \newfontfamily\almendra + [ UprightFont = *-Regular , + ItalicFont = *-Italic , + BoldFont = *-Bold , + BoldItalicFont = *-BoldItalic , + SmallCapsFont = {AlmendraSmallcaps} + ] + {Almendra} + +\else % type1 + + \def\bfseries@rm{bold} + \def\mdseries@rm{regular} + \def\almendrafamily{Almendra-OsF} + \renewcommand*\rmdefault{\almendrafamily} + \newcommand*\almendra{\fontfamily{\almendrafamily}\selectfont} + +\fi + +% turn off defaults in case other fonts are selected: +\ifalmendra@ttf + \defaultfontfeatures{} +\fi + +\endinput + -- cgit v1.2.3