From e5e0aeb7fe58d7adb35199774ede1ac6da9ad454 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 30 Jan 2015 22:02:44 +0000 Subject: dozenal (30jan15) git-svn-id: svn://tug.org/texlive/trunk@36169 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/fonts/dozenal/dozenal.dtx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/source/fonts') 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 %\NeedsTeXFormat{LaTeX2e}[1999/12/01] -%\ProvidesPackage{dozenal}[2015/01/27 v5.2 support for dozenal fonts] +%\ProvidesPackage{dozenal}[2015/01/29 v5.3 support for dozenal fonts] %<*driver> \documentclass{ltxdoc} @@ -40,7 +40,7 @@ \end{document} % % \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 -- cgit v1.2.3