summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/drm/drm.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/drm/drm.sty')
-rw-r--r--Master/texmf-dist/tex/latex/drm/drm.sty21
1 files changed, 20 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/drm/drm.sty b/Master/texmf-dist/tex/latex/drm/drm.sty
index fcf0903d447..cf0861805d2 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 v2.1 support for dozenal fonts]
+\ProvidesPackage{drm}[2015/01/01 v2.2 support for dozenal fonts]
\RequirePackage[LGR,OML,OMS,TS1,T1]{fontenc}
\RequirePackage{modroman}
\RequirePackage{amsmath}
@@ -43,6 +43,16 @@
\DeclareFontFamily{T1}{drm}{}
\DeclareFontFamily{TS1}{drm}{}
\DeclareFontFamily{LGR}{drm}{}
+\DeclareFontFamily{U}{drmsups}{}
+\DeclareFontFamily{U}{drminfs}{}
+\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
+<24-> drminf24 }{}
+\DeclareFontShape{U}{drmsups}{m}{n}{ <-7> drmfigs6
+<7> drmfigs7 <8> drmfigs8 <9> drmfigs9 <10-12> drmfigs10
+<12-13> drmfigs12 <14-17> drmfigs14 <17-24> drmfigs17
+<24-> drmfigs24 }{}
\DeclareFontShape{T1}{drm}{m}{n}{ <-7> drm6 <7> drm7 <8> drm8
<9> drm9 <10-12> drm10 <12-13> drm12 <14-17> drm14
<17-24> drm17 <24-> drm24 }{}
@@ -95,7 +105,12 @@
\ifnodefault\else\ifnodefaulttext\else
\renewcommand\encodingdefault{T1}
\renewcommand\familydefault{drm}
+\def\f@@n@te{footnote}
+\def\@makefnmark{%
+\hbox{\drmsupfigs\@thefnmark}
+}%
\fi\fi
+\def\drmshortq{{\usefont{T1}{drm}{m}{n}\char'137}}
\def\tcshape{\fontshape{tc}\selectfont}
\def\texttc#1{{\tcshape#1}}
\def\ittcshape{\fontshape{ittc}\selectfont}
@@ -106,6 +121,10 @@
\def\textui#1{{\uishape#1}}
\def\grktext{\fontencoding{LGR}\selectfont}
\def\textgrk#1{{\grktext#1}}
+\def\drmsupfigs{\usefont{U}{drmsups}{m}{n}}
+\def\textdrmsupfigs#1{{\drmsupfigs#1}}
+\def\drminffigs{\usefont{U}{drminfs}{m}{n}}
+\def\textdrminffigs#1{{\drminffigs#1}}
\def\lseries{\fontseries{l}\selectfont}
\def\textl#1{{\lseries#1}}
\def\bseries{\fontseries{b}\selectfont}