diff options
author | Karl Berry <karl@freefriends.org> | 2015-01-30 22:02:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-01-30 22:02:44 +0000 |
commit | e5e0aeb7fe58d7adb35199774ede1ac6da9ad454 (patch) | |
tree | 33a8155b80794848fb6a55e9301bc493b9d73120 /Master/texmf-dist/source/fonts | |
parent | 4618f271b8c168c5a02effcb09d7a9d39df51ab2 (diff) |
dozenal (30jan15)
git-svn-id: svn://tug.org/texlive/trunk@36169 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/fonts')
-rw-r--r-- | Master/texmf-dist/source/fonts/dozenal/dozenal.dtx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/fonts/dozenal/dozenal.dtx b/Master/texmf-dist/source/fonts/dozenal/dozenal.dtx index bb2f417396b..c357cc9b505 100644 --- a/Master/texmf-dist/source/fonts/dozenal/dozenal.dtx +++ b/Master/texmf-dist/source/fonts/dozenal/dozenal.dtx @@ -24,7 +24,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] -%<package>\ProvidesPackage{dozenal}[2015/01/27 v5.2 support for dozenal fonts] +%<package>\ProvidesPackage{dozenal}[2015/01/29 v5.3 support for dozenal fonts] %<*driver> \documentclass{ltxdoc} @@ -40,7 +40,7 @@ \end{document} %</driver> % \fi -% \title{The \texttt{dozenal} Package, v5.2} +% \title{The \texttt{dozenal} Package, v5.3} % \author{Donald P.\ Goodman III} % \date{\today} % @@ -299,7 +299,7 @@ % \begin{center} % \begin{tabular}{cccccc} % 1 & 2 & 3 & 4 & 5 & 6 \\ -% \Huge\tally{2}{\usefont{T1}{dozch}{m}{n}\selectfont 1} & \Huge\tally{2} & \Huge\tally{3} & \Huge\tally{4} & \Huge\tally{5} & \Huge\tally{6} \\ +% \Huge\tally{1} & \Huge\tally{2} & \Huge\tally{3} & \Huge\tally{4} & \Huge\tally{5} & \Huge\tally{6} \\ % \end{tabular} % \end{center} % @@ -411,6 +411,7 @@ <12-> dozchit12 }{} \DeclareFontShape{T1}{dozch}{bx}{it}{<-> dozchbxi10 }{} \def\doz#1{{\fontfamily{dozch}\fontencoding{T1}\selectfont #1}}% + \DeclareSymbolFont{dozens}{T1}{dozch}{m}{n} \else% \DeclareFontFamily{OT1}{dozch}{} \DeclareFontShape{OT1}{dozch}{m}{n}{<-6> dozchars6 @@ -428,17 +429,18 @@ <12-> dozchit12 }{} \DeclareFontShape{OT1}{dozch}{bx}{it}{<-> dozchbxi10 }{} \def\doz#1{{\fontfamily{dozch}\fontencoding{OT1}\selectfont #1}}% + \DeclareSymbolFont{dozens}{OT1}{dozch}{m}{n} \fi% -\newcommand\x{\TextOrMath{\protect\doz{{X}}}{\X}}% -\newcommand\e{\TextOrMath{\protect\doz{{E}}}{\E}}% -\DeclareSymbolFont{dozens}{OT1}{dozch}{m}{n} -\DeclareMathSymbol{\X}{\mathord}{dozens}{88} -\DeclareMathSymbol{\E}{\mathord}{dozens}{69} +\newcommand\x{\TextOrMath{\protect\doz{{X}}}{\doz@X}}% +\newcommand\e{\TextOrMath{\protect\doz{{E}}}{\doz@E}}% +\DeclareMathSymbol{\doz@X}{\mathord}{dozens}{88} +\DeclareMathSymbol{\doz@E}{\mathord}{dozens}{69} % \end{macrocode} % Put in some additional code for the tally marks. % \begin{macrocode} \newcommand\tally[1]{% - \usefont{OT1}{dozch}{m}{n}\selectfont{#1}% +% \usefont{OT1}{dozch}{m}{n}\selectfont{#1}% + \doz{#1}% }% % \end{macrocode} % Then we define our command which will produce the dozenal |