diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-06 22:57:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-06 22:57:23 +0000 |
commit | af7cfe3a9110a3ddd99d41da437f22f7d7b5d121 (patch) | |
tree | c2ea155a28e750a2fe89cc0506e40a001d5d8975 /Master/texmf-dist/doc/latex/comprehensive/source/fakedozenal.sty | |
parent | 21dd7ec03eb7a38df67212c30441d072594e5276 (diff) |
comprehensive (6nov15)
git-svn-id: svn://tug.org/texlive/trunk@38787 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/comprehensive/source/fakedozenal.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/comprehensive/source/fakedozenal.sty | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/comprehensive/source/fakedozenal.sty b/Master/texmf-dist/doc/latex/comprehensive/source/fakedozenal.sty new file mode 100644 index 00000000000..deb727e9ead --- /dev/null +++ b/Master/texmf-dist/doc/latex/comprehensive/source/fakedozenal.sty @@ -0,0 +1,34 @@ +% ===================================== +% FAKEDOZENAL.STY +% By Scott Pakin <scott+clsl@pakin.org> +% ===================================== +% +% We don't want to waste a precious math alphabets or define any +% single-letter macros (\x and \e) when loading the real dozenal.sty. +% Hence, we simply define explicitly what we need. + +% Load the real dozenal, but stop right after the \ProvidesPackage. +\let\origProvidesPackage=\ProvidesPackage +\def\ProvidesPackage#1[#2]{% + \origProvidesPackage#1[#2]% + \endinput +} +\usepackage{dozenal} +\let\ProvidesPackage=\origProvidesPackage + +% Define the dozenal font. +\DeclareFontFamily{OT1}{dozch}{} +\DeclareFontShape{OT1}{dozch}{m}{n}{ + <-6> dozchars6 + <7> dozchars7 + <8> dozchars8 + <9> dozchars9 + <10-11> dozchars10 + <12-16> dozchars12 + <17-> dozchars17 +}{} + +% Define a \doz command. +\newcommand{\doz}[1]{{\fontfamily{dozch}\fontencoding{OT1}\selectfont #1}} + +\endinput |