From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- fonts/dantelogo/latex/OT1DANTE.fd | 13 ++++++++++ fonts/dantelogo/latex/T1DANTE.fd | 14 +++++++++++ fonts/dantelogo/latex/dantelogo.sty | 48 +++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 fonts/dantelogo/latex/OT1DANTE.fd create mode 100644 fonts/dantelogo/latex/T1DANTE.fd create mode 100644 fonts/dantelogo/latex/dantelogo.sty (limited to 'fonts/dantelogo/latex') diff --git a/fonts/dantelogo/latex/OT1DANTE.fd b/fonts/dantelogo/latex/OT1DANTE.fd new file mode 100644 index 0000000000..003e310a76 --- /dev/null +++ b/fonts/dantelogo/latex/OT1DANTE.fd @@ -0,0 +1,13 @@ +\ProvidesFile{ot1DANTE.fd} + [2015/08/12 font definitions for OT1/dante.] + +\DeclareFontFamily{OT1}{DANTE}{} +\DeclareFontShape{OT1}{DANTE}{m}{n} {<-> DANTE}{} +\DeclareFontShape{OT1}{DANTE}{m}{it} {<-> DANTE-Italic--texnansx--base}{} +\DeclareFontShape{OT1}{DANTE}{b}{n} {<-> DANTE-Bold--texnansx--base}{} +\DeclareFontShape{OT1}{DANTE}{b}{it} {<-> DANTE-Bold-Italic--texnansx--base}{} +\DeclareFontShape{OT1}{DANTE}{bx}{n} {<-> ssub * DANTE/b/n}{} +\DeclareFontShape{OT1}{DANTE}{bx}{it}{<-> ssub * DANTE/b/it}{} +\DeclareFontShape{OT1}{DANTE}{m}{sl} {<-> ssub * DANTE/m/it}{} +\endinput + diff --git a/fonts/dantelogo/latex/T1DANTE.fd b/fonts/dantelogo/latex/T1DANTE.fd new file mode 100644 index 0000000000..38767402ae --- /dev/null +++ b/fonts/dantelogo/latex/T1DANTE.fd @@ -0,0 +1,14 @@ +\ProvidesFile{t1DANTE.fd} + [2015/08/12 font definitions for T1/DANTE.] + +\DeclareFontFamily{T1}{DANTE}{} +\DeclareFontShape{T1}{DANTE}{m}{n} {<-> DANTE}{} +\DeclareFontShape{T1}{DANTE}{m}{it} {<-> DANTE-Italic--texnansx--base}{} +\DeclareFontShape{T1}{DANTE}{b}{n} {<-> DANTE-Bold--texnansx--base}{} +\DeclareFontShape{T1}{DANTE}{b}{it} {<-> DANTE-Bold-Italic--texnansx--base}{} +\DeclareFontShape{T1}{DANTE}{bx}{n} {<-> ssub * DANTE/b/n}{} +\DeclareFontShape{T1}{DANTE}{bx}{it}{<-> ssub * DANTE/b/it}{} +\DeclareFontShape{T1}{DANTE}{m}{sl} {<-> ssub * DANTE/m/it}{} + +\endinput + diff --git a/fonts/dantelogo/latex/dantelogo.sty b/fonts/dantelogo/latex/dantelogo.sty new file mode 100644 index 0000000000..66d8d2ec44 --- /dev/null +++ b/fonts/dantelogo/latex/dantelogo.sty @@ -0,0 +1,48 @@ +% $Id: dantelogo.sty 190 2015-10-09 13:04:36Z herbert $ +%% +%% This is file `dantelogo.sty'. +%% +%% IMPORTANT NOTICE: +%% +%% dantelogo.sty Copyright (C) 2015- Herbert Voss +%% Klaus Hoeppner +%% +%% This package may be distributed under the terms of the LaTeX Project +%% Public License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.0 or, at your option, any later version. +%% +% +\def\fileversion{0.03} +\def\filedate{2015/08/12} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{dantelogo}[\filedate\space v\fileversion] +\message{`dantelogo' v\fileversion, \filedate\space macro for DANTE's logo (hv)} +% +\RequirePackage{iftex} + +\@tempswatrue% suppose latex or pdflatex +% +\ifXeTeX\@tempswafalse\else\ifLuaTeX\@tempswafalse\fi\fi +% +\if@tempswa% we have (pdf)latex + \message{We run (pdf)latex ... }% + \PassOptionsToPackage{T1}{fontenc}% + \RequirePackage{fontenc}% + \def\dante@font{\fontencoding{\encodingdefault}\fontfamily{DANTE}\selectfont}% +\else + \message{We run (lua)xelatex ... }% + \RequirePackage{fontspec} + \newfontfamily\dante@font{DANTE}% + [Extension=.otf, + BoldFont=*-Bold, + ItalicFont=*-Italic, + BoldItalicFont=*-Bold-Italic] +\fi +% +\providecommand\dantelogo{}% to be sure that it is defined +\renewcommand\dantelogo[1][]{{% + \dante@font + \ifx\relax#1\relax\else\fontsize{#1}{#1}\selectfont\fi DANTE}} +% +% +\endinput -- cgit v1.2.3