summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dantelogo
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-23 21:36:13 +0000
committerKarl Berry <karl@freefriends.org>2014-09-23 21:36:13 +0000
commit69907d774b557869742b2b4e51d22c427dea84f7 (patch)
tree7fa1629b6377d7e1b92ff885e576ced2ec0e2098 /Master/texmf-dist/tex/latex/dantelogo
parentb61de522f6f66b2ea9d99faaeefa9ec2a9a0e344 (diff)
dantelogo (23sep14)
git-svn-id: svn://tug.org/texlive/trunk@35241 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dantelogo')
-rw-r--r--Master/texmf-dist/tex/latex/dantelogo/dantelogo.sty47
-rw-r--r--Master/texmf-dist/tex/latex/dantelogo/ot1dante.fd13
-rw-r--r--Master/texmf-dist/tex/latex/dantelogo/t1dante.fd14
3 files changed, 74 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/dantelogo/dantelogo.sty b/Master/texmf-dist/tex/latex/dantelogo/dantelogo.sty
new file mode 100644
index 00000000000..c740037f00f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dantelogo/dantelogo.sty
@@ -0,0 +1,47 @@
+% $Id: .sty 51 2014-07-26 18:36:44Z herbert $
+%%
+%% This is file `dantelogo.sty'.
+%%
+%% IMPORTANT NOTICE:
+%%
+%% dantelogo.sty Copyright (C) 2015- Herbert Voss <hvoss@tug.org>
+%% 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.01}
+\def\filedate{2014/09/02}
+\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
+%
+\newcommand\dantelogo[1][]{{%
+ \dante@font
+ \ifx\relax#1\relax\else\fontsize{#1}{#1}\fi\selectfont DANTE}}
+%
+%
+\endinput
diff --git a/Master/texmf-dist/tex/latex/dantelogo/ot1dante.fd b/Master/texmf-dist/tex/latex/dantelogo/ot1dante.fd
new file mode 100644
index 00000000000..def24707ed6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dantelogo/ot1dante.fd
@@ -0,0 +1,13 @@
+\ProvidesFile{ot1dante.fd}
+ [2014/09/02 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/Master/texmf-dist/tex/latex/dantelogo/t1dante.fd b/Master/texmf-dist/tex/latex/dantelogo/t1dante.fd
new file mode 100644
index 00000000000..9c83b1e71d1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dantelogo/t1dante.fd
@@ -0,0 +1,14 @@
+\ProvidesFile{t1dante.fd}
+ [2014/09/02 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
+