diff options
author | Karl Berry <karl@freefriends.org> | 2015-02-25 22:37:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-02-25 22:37:48 +0000 |
commit | 9b62b00eb512393747797ae53f460223db50e7f4 (patch) | |
tree | 3f302c7c608312c3938b04c790ded4595b612b68 /Master/texmf-dist/tex/latex | |
parent | f0efc86956ea62704ab58dfc88d22d846bc85656 (diff) |
drm (25feb15)
git-svn-id: svn://tug.org/texlive/trunk@36381 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/drm/drm.sty | 140 |
1 files changed, 139 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/drm/drm.sty b/Master/texmf-dist/tex/latex/drm/drm.sty index dd72e59216a..44a152dfa9d 100644 --- a/Master/texmf-dist/tex/latex/drm/drm.sty +++ b/Master/texmf-dist/tex/latex/drm/drm.sty @@ -25,7 +25,7 @@ %% This work consists of the files listed in drmfilelist.txt. \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{drm}[2015/01/01 v3.2 support for drm fonts] +\ProvidesPackage{drm}[2015/01/01 v4.0 support for drm fonts] \RequirePackage[LGR,OML,OMS,TS1,T1]{fontenc} \RequirePackage{modroman} \RequirePackage{amsmath} @@ -53,6 +53,67 @@ \DeclareFontFamily{LGR}{drm}{} \DeclareFontFamily{U}{drmsups}{} \DeclareFontFamily{U}{drminfs}{} +\DeclareFontFamily{T1}{drmdoz}{} +\DeclareFontShape{T1}{drmdoz}{m}{n}{ <-7> drmdoz6 +<7> drmdoz7 <8> drmdoz8 <9> drmdoz9 <10-12> drmdoz10 +<12-13> drmdoz12 <14-17> drmdoz14 <17-24> drmdoz17 +<24-> drmdoz24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{sl}{ <-7> drmdozsl6 +<7> drmdozsl7 <8> drmdozsl8 <9> drmdozsl9 <10-12> drmdozsl10 +<12-13> drmdozsl12 <14-17> drmdozsl14 <17-24> drmdozsl17 +<24-> drmdozsl24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{it}{ <-7> drmdozit6 +<7> drmdozit7 <8> drmdozit8 <9> drmdozit9 <10-12> drmdozit10 +<12-13> drmdozit12 <14-17> drmdozit14 <17-24> drmdozit17 +<24-> drmdozit24 }{} +\DeclareFontShape{T1}{drmdoz}{l}{n}{ <-7> drmdozl6 +<7> drmdozl7 <8> drmdozl8 <9> drmdozl9 <10-12> drmdozl10 +<12-13> drmdozl12 <14-17> drmdozl14 <17-24> drmdozl17 +<24-> drmdozl24 }{} +\DeclareFontShape{T1}{drmdoz}{b}{n}{ <-7> drmdozb6 +<7> drmdozb7 <8> drmdozb8 <9> drmdozb9 <10-12> drmdozb10 +<12-13> drmdozb12 <14-17> drmdozb14 <17-24> drmdozb17 +<24-> drmdozb24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{n}{ <-7> drmdozbx6 +<7> drmdozbx7 <8> drmdozbx8 <9> drmdozbx9 <10-12> drmdozbx10 +<12-13> drmdozbx12 <14-17> drmdozbx14 <17-24> drmdozbx17 +<24-> drmdozbx24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{it}{ <-7> drmdozitbx6 +<7> drmdozitbx7 <8> drmdozitbx8 <9> drmdozitbx9 <10-12> drmdozitbx10 +<12-13> drmdozitbx12 <14-17> drmdozitbx14 <17-24> drmdozitbx17 +<24-> drmdozitbx24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{ui}{ <-7> drmdozui6 +<7> drmdozui7 <8> drmdozui8 <9> drmdozui9 <10-12> drmdozui10 +<12-13> drmdozui12 <14-17> drmdozui14 <17-24> drmdozui17 +<24-> drmdozui24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{ui}{ <-7> drmdozuibx6 +<7> drmdozuibx7 <8> drmdozuibx8 <9> drmdozuibx9 <10-12> drmdozuibx10 +<12-13> drmdozuibx12 <14-17> drmdozuibx14 <17-24> drmdozuibx17 +<24-> drmdozuibx24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{sc}{ <-7> drmdozsc6 +<7> drmdozsc7 <8> drmdozsc8 <9> drmdozsc9 <10-12> drmdozsc10 +<12-13> drmdozsc12 <14-17> drmdozsc14 <17-24> drmdozsc17 +<24-> drmdozsc24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{tc}{ <-7> drmdoztc6 +<7> drmdoztc7 <8> drmdoztc8 <9> drmdoztc9 <10-12> drmdoztc10 +<12-13> drmdoztc12 <14-17> drmdoztc14 <17-24> drmdoztc17 +<24-> drmdoztc24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{sc}{ <-7> drmdozscbx6 +<7> drmdozscbx7 <8> drmdozscbx8 <9> drmdozscbx9 <10-12> drmdozscbx10 +<12-13> drmdozscbx12 <14-17> drmdozscbx14 <17-24> drmdozscbx17 +<24-> drmdozscbx24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{tc}{ <-7> drmdoztcbx6 +<7> drmdoztcbx7 <8> drmdoztcbx8 <9> drmdoztcbx9 <10-12> drmdoztcbx10 +<12-13> drmdoztcbx12 <14-17> drmdoztcbx14 <17-24> drmdoztcbx17 +<24-> drmdoztcbx24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{itsc}{<-7> drmdozitsc6 <7> +drmdozitsc7 <8> drmdozitsc8 <9> drmdozitsc9 <10-12> +drmdozitsc10 <12-14> drmdozitsc12 <14-17> drmdozitsc14 +<17-24> drmdozitsc17 <24-> drmdozitsc24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{ittc}{<-7> drmdozittc6 <7> +drmdozittc7 <8> drmdozittc8 <9> drmdozittc9 <10-12> +drmdozittc10 <12-14> drmdozittc12 <14-17> drmdozittc14 +<17-24> drmdozittc17 <24-> drmdozittc24 }{} \DeclareFontShape{U}{drminfs}{m}{n}{ <-7> drminf6 <7> drminf7 <8> drminf8 <9> drminf9 <10-12> drminf10 <12-13> drminf12 <14-17> drminf14 <17-24> drminf17 @@ -110,12 +171,74 @@ <8> drmsym8 <9> drmsym9 <10-12> drmsym10 <12-14> drmsym12 <14-17> drmsym14 <17-24> drmsym17 <24-> drmsym24 }{} \DeclareFontShape{LGR}{drm}{m}{n}{<-> drmgrk10 }{} +\DeclareSymbolFont{dozens}{T1}{drmdoz}{m}{n} \else \DeclareFontFamily{T1}{drm}{} \DeclareFontFamily{TS1}{drm}{} \DeclareFontFamily{LGR}{drm}{} \DeclareFontFamily{U}{drmsups}{} \DeclareFontFamily{U}{drminfs}{} +\DeclareFontFamily{T1}{drmdoz}{} +\DeclareFontShape{T1}{drmdoz}{m}{n}{ <-7> drmdoz6 +<7> drmdoz7 <8> drmdoz8 <9> drmdoz9 <10-12> drmdoz10 +<12-13> drmdoz12 <14-17> drmdoz14 <17-24> drmdoz17 +<24-> drmdoz24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{sl}{ <-7> drmdozsl6 +<7> drmdozsl7 <8> drmdozsl8 <9> drmdozsl9 <10-12> drmdozsl10 +<12-13> drmdozsl12 <14-17> drmdozsl14 <17-24> drmdozsl17 +<24-> drmdozsl24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{it}{ <-7> drmdozit6 +<7> drmdozit7 <8> drmdozit8 <9> drmdozit9 <10-12> drmdozit10 +<12-13> drmdozit12 <14-17> drmdozit14 <17-24> drmdozit17 +<24-> drmdozit24 }{} +\DeclareFontShape{T1}{drmdoz}{l}{n}{ <-7> drmdozl6 +<7> drmdozl7 <8> drmdozl8 <9> drmdozl9 <10-12> drmdozl10 +<12-13> drmdozl12 <14-17> drmdozl14 <17-24> drmdozl17 +<24-> drmdozl24 }{} +\DeclareFontShape{T1}{drmdoz}{b}{n}{ <-7> drmdozb6 +<7> drmdozb7 <8> drmdozb8 <9> drmdozb9 <10-12> drmdozb10 +<12-13> drmdozb12 <14-17> drmdozb14 <17-24> drmdozb17 +<24-> drmdozb24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{n}{ <-7> drmdozbx6 +<7> drmdozbx7 <8> drmdozbx8 <9> drmdozbx9 <10-12> drmdozbx10 +<12-13> drmdozbx12 <14-17> drmdozbx14 <17-24> drmdozbx17 +<24-> drmdozbx24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{it}{ <-7> drmdozitbx6 +<7> drmdozitbx7 <8> drmdozitbx8 <9> drmdozitbx9 <10-12> drmdozitbx10 +<12-13> drmdozitbx12 <14-17> drmdozitbx14 <17-24> drmdozitbx17 +<24-> drmdozitbx24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{ui}{ <-7> drmdozui6 +<7> drmdozui7 <8> drmdozui8 <9> drmdozui9 <10-12> drmdozui10 +<12-13> drmdozui12 <14-17> drmdozui14 <17-24> drmdozui17 +<24-> drmdozui24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{ui}{ <-7> drmdozuibx6 +<7> drmdozuibx7 <8> drmdozuibx8 <9> drmdozuibx9 <10-12> drmdozuibx10 +<12-13> drmdozuibx12 <14-17> drmdozuibx14 <17-24> drmdozuibx17 +<24-> drmdozuibx24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{sc}{ <-7> drmdozsc6 +<7> drmdozsc7 <8> drmdozsc8 <9> drmdozsc9 <10-12> drmdozsc10 +<12-13> drmdozsc12 <14-17> drmdozsc14 <17-24> drmdozsc17 +<24-> drmdozsc24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{tc}{ <-7> drmdoztc6 +<7> drmdoztc7 <8> drmdoztc8 <9> drmdoztc9 <10-12> drmdoztc10 +<12-13> drmdoztc12 <14-17> drmdoztc14 <17-24> drmdoztc17 +<24-> drmdoztc24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{sc}{ <-7> drmdozscbx6 +<7> drmdozscbx7 <8> drmdozscbx8 <9> drmdozscbx9 <10-12> drmdozscbx10 +<12-13> drmdozscbx12 <14-17> drmdozscbx14 <17-24> drmdozscbx17 +<24-> drmdozscbx24 }{} +\DeclareFontShape{T1}{drmdoz}{bx}{tc}{ <-7> drmdoztcbx6 +<7> drmdoztcbx7 <8> drmdoztcbx8 <9> drmdoztcbx9 <10-12> drmdoztcbx10 +<12-13> drmdoztcbx12 <14-17> drmdoztcbx14 <17-24> drmdoztcbx17 +<24-> drmdoztcbx24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{itsc}{<-7> drmdozitsc6 <7> +drmdozitsc7 <8> drmdozitsc8 <9> drmdozitsc9 <10-12> +drmdozitsc10 <12-14> drmdozitsc12 <14-17> drmdozitsc14 +<17-24> drmdozitsc17 <24-> drmdozitsc24 }{} +\DeclareFontShape{T1}{drmdoz}{m}{ittc}{<-7> drmdozittc6 <7> +drmdozittc7 <8> drmdozittc8 <9> drmdozittc9 <10-12> +drmdozittc10 <12-14> drmdozittc12 <14-17> drmdozittc14 +<17-24> drmdozittc17 <24-> drmdozittc24 }{} \DeclareFontShape{U}{drminfs}{m}{n}{ <-7> drminf6 <7> drminf7 <8> drminf8 <9> drminf9 <10-12> drminf10 <12-13> drminf12 <14-17> drminf14 <17-24> drminf17 @@ -173,7 +296,22 @@ <8> drmsym8 <9> drmsym9 <10-12> drmsym10 <12-14> drmsym12 <14-17> drmsym14 <17-24> drmsym17 <24-> drmsym24 }{} \DeclareFontShape{LGR}{drm}{m}{n}{<-> drmgrk10 }{} +\DeclareSymbolFont{dozens}{T1}{drmdoz}{m}{n} \fi +\@ifpackageloaded{dozenal}{% +\def\doz#1{{\fontfamily{drmdoz}\fontencoding{T1}\selectfont #1}}% +\def\drmsupfont{drmsups}\def\drminffont{drminfs}% +\renewcommand\x{% +\ifx\f@family\drmsupfont X% +\else\ifx\f@family\drminffont X% +\else\TextOrMath{\protect\doz{{X}}}{\doz@X}\fi\fi}% +\renewcommand\e{% +\ifx\f@family\drmsupfont E% +\else\ifx\f@family\drminffont E% +\else\TextOrMath{\protect\doz{{E}}}{\doz@E}\fi\fi}% +\DeclareMathSymbol{\doz@X}{\mathord}{dozens}{88}% +\DeclareMathSymbol{\doz@E}{\mathord}{dozens}{69}% +}{} \ifnodefault\else\ifnodefaulttext\else \renewcommand\encodingdefault{T1} \renewcommand\familydefault{drm} |