diff options
author | Karl Berry <karl@freefriends.org> | 2015-01-28 22:27:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-01-28 22:27:37 +0000 |
commit | 801a929a29f38ec92e3a8cea4c6a4bfa7d1653f5 (patch) | |
tree | 6a447ad290cc89c7ec93f6290d480f7709d595f1 /Master/texmf-dist/tex/latex/dozenal/dozenal.sty | |
parent | 1de583ae717a259979d5bd0be6576b0dd4d4f83e (diff) |
dozenal (28jan15)
git-svn-id: svn://tug.org/texlive/trunk@36157 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dozenal/dozenal.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/dozenal/dozenal.sty | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/dozenal/dozenal.sty b/Master/texmf-dist/tex/latex/dozenal/dozenal.sty index 7075b9a70a4..d94f9dd810b 100644 --- a/Master/texmf-dist/tex/latex/dozenal/dozenal.sty +++ b/Master/texmf-dist/tex/latex/dozenal/dozenal.sty @@ -25,8 +25,7 @@ %% This work consists of the files listed in dozenalfilelist.txt. \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{dozenal}[2015/01/01 v5.1 support for dozenal fonts] -\ProvidesPackage{dozenal}[2012/05/13 v4.0 support for dozenal fonts] +\ProvidesPackage{dozenal}[2015/01/27 v5.2 support for dozenal fonts] \RequirePackage{fixltx2e} \RequirePackage{ifpdf} \DeclareOption{nocounters}{% @@ -35,6 +34,27 @@ \newif\iftypeone\typeonefalse \DeclareOption{typeone}{\typeonetrue} \ProcessOptions\relax +\iftypeone% +\ifpdf +\pdfmapfile{=dozenal.map} +\fi +\DeclareFontFamily{T1}{dozch}{} +\DeclareFontShape{T1}{dozch}{m}{n}{<-6> dozchars6 +<7> dozchars7 <8> dozchars8 <9> dozchars9 <10-11> +dozchars10 <12-16> dozchars12 <17-> dozchars17 }{} +\DeclareFontShape{T1}{dozch}{b}{n}{<-> dozchb10 }{} +\DeclareFontShape{T1}{dozch}{bx}{n}{<-6> dozchbx6 +<7> dozchbx7 <8> dozchbx8 <9> dozchbx9 <10-11> +dozchbx10 <12-> dozchbx12 }{} +\DeclareFontShape{T1}{dozch}{m}{sl}{<-8> dozchsl8 +<9> dozchsl9 <10-11> dozchsl10 <12-> dozchsl12 }{} +\DeclareFontShape{T1}{dozch}{bx}{sl}{<-> dozchbxsl10 }{} +\DeclareFontShape{T1}{dozch}{m}{it}{<-7> dozchit7 +<8> dozchit8 <9> dozchit9 <10-11> dozchit10 +<12-> dozchit12 }{} +\DeclareFontShape{T1}{dozch}{bx}{it}{<-> dozchbxi10 }{} +\def\doz#1{{\fontfamily{dozch}\fontencoding{T1}\selectfont #1}}% +\else% \DeclareFontFamily{OT1}{dozch}{} \DeclareFontShape{OT1}{dozch}{m}{n}{<-6> dozchars6 <7> dozchars7 <8> dozchars8 <9> dozchars9 <10-11> @@ -50,19 +70,6 @@ dozchbx10 <12-> dozchbx12 }{} <8> dozchit8 <9> dozchit9 <10-11> dozchit10 <12-> dozchit12 }{} \DeclareFontShape{OT1}{dozch}{bx}{it}{<-> dozchbxi10 }{} -\ifpdf -\pdfmapfile{=fdz.map} -\fi -\DeclareFontFamily{T1}{dozch}{} -\DeclareFontShape{T1}{dozch}{m}{n}{<-> fdzr8r }{} -\DeclareFontShape{T1}{dozch}{bx}{n}{<-> fdzb8r }{} -\DeclareFontShape{T1}{dozch}{m}{sl}{<-> fdzs8r }{} -\DeclareFontShape{T1}{dozch}{bx}{sl}{<-> fdzbo8r }{} -\DeclareFontShape{T1}{dozch}{m}{it}{<-> fdzso8r }{} -\DeclareFontShape{T1}{dozch}{bx}{it}{<-> fdzbi8r }{} -\iftypeone% -\def\doz#1{{\fontfamily{dozch}\fontencoding{T1}\selectfont #1}}% -\else% \def\doz#1{{\fontfamily{dozch}\fontencoding{OT1}\selectfont #1}}% \fi% \newcommand\x{\TextOrMath{\protect\doz{{X}}}{\X}}% |