summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-07 23:31:00 +0000
committerKarl Berry <karl@freefriends.org>2009-06-07 23:31:00 +0000
commit85df9edd503d429a635398d7a5289cfe5199ae7c (patch)
tree3228ac464416f519343640297056890aa42a944e
parentd33cba96064babb06e9411b061ccfb9fae274b2e (diff)
dozenal update (7jun09)
git-svn-id: svn://tug.org/texlive/trunk@13661 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/dozenal/README9
-rw-r--r--Master/texmf-dist/doc/fonts/dozenal/dozenal.pdfbin110474 -> 111109 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/dozenal/testdozchars.tex25
-rw-r--r--Master/texmf-dist/tex/latex/dozenal/dozenal.sty15
4 files changed, 25 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/fonts/dozenal/README b/Master/texmf-dist/doc/fonts/dozenal/README
index 4c799425f42..f6e3e887290 100644
--- a/Master/texmf-dist/doc/fonts/dozenal/README
+++ b/Master/texmf-dist/doc/fonts/dozenal/README
@@ -35,6 +35,9 @@ This document should run properly on any properly running LaTeX
system. It's been tested specifically with TeXLive on Linux (2.6.2
kernel).
-This is version 1.1 of dozenal; minor bugs, in which section
-and subsection numbers were not properly redefined, have
-been fixed.
+This is version 1.2 of dozenal; for version 1.1, minor bugs,
+in which section and subsection numbers were not properly
+redefined, have been fixed.
+
+For version 1.2, support for using dozenal characters in
+math mode was added. Submitted to CTAN on 6 June 2009.
diff --git a/Master/texmf-dist/doc/fonts/dozenal/dozenal.pdf b/Master/texmf-dist/doc/fonts/dozenal/dozenal.pdf
index 09ef22c03ce..8c616117e43 100644
--- a/Master/texmf-dist/doc/fonts/dozenal/dozenal.pdf
+++ b/Master/texmf-dist/doc/fonts/dozenal/dozenal.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/dozenal/testdozchars.tex b/Master/texmf-dist/doc/fonts/dozenal/testdozchars.tex
index 5bdf5fdd955..a5443d044a6 100644
--- a/Master/texmf-dist/doc/fonts/dozenal/testdozchars.tex
+++ b/Master/texmf-dist/doc/fonts/dozenal/testdozchars.tex
@@ -7,18 +7,7 @@
\usepackage{fix-cm}
-\DeclareFontFamily{OT1}{dozch}{}
-\DeclareFontShape{OT1}{dozch}{m}{n}{<-7> dozchars6 <7> dozchars7 <8> dozchars8 <9> dozchars9 <10-11> dozchars10 <12-16> dozchars12 <17-> dozchars17 }{}
-\DeclareFontShape{OT1}{dozch}{b}{n}{<-> dozchb10 }{}
-\DeclareFontShape{OT1}{dozch}{bx}{n}{<-6> dozchbx6 <7> dozchbx7 <8> dozchbx8 <9> dozchbx9 <10-11> dozchbx10 <12-> dozchbx12 }{}
-\DeclareFontShape{OT1}{dozch}{m}{sl}{<-8> dozchsl8 <9> dozchsl9 <10-11> dozchsl10 <12-> dozchsl12 }{}
-\DeclareFontShape{OT1}{dozch}{bx}{sl}{<-> dozchbxsl10 }{}
-\DeclareFontShape{OT1}{dozch}{m}{it}{<-7> dozchit7 <8> dozchit8 <9> dozchit9 <10-11> dozchit10 <12-> dozchit12 }{}
-\DeclareFontShape{OT1}{dozch}{bx}{it}{<-> dozchbxi10 }{}
-
-\newcommand\doz[1]{{\fontfamily{dozch}\selectfont #1}}
-\newcommand\x{\doz{X}}
-\newcommand\e{\doz{E}}
+\usepackage{dozenal}
\begin{document}
@@ -47,9 +36,13 @@ Really, really big: \\
\fontsize{50pt}{65pt}\selectfont\ldots 5 6 7 8 9 \x\ \e\
10 \\\normalsize
-34\x5897\e45383\e4325
+$34\x5897\e45383\e4325$
\textbf{34\x5897\e45383\e4325}
+\begin{equation}
+\sum_{n = \x}
+\end{equation}
+
\clearpage
\bfseries
@@ -76,7 +69,7 @@ Really, really big: \\
\fontsize{50pt}{65pt}\selectfont\ldots 7 8 9 \x\ \e\
10 \\\normalsize\normalfont
-34\x5897\e45383\e4325
+$34\x5897\e45383\e4325$
\textbf{34\x5897\e45383\e4325}
\clearpage
@@ -104,7 +97,7 @@ Huge: \\
Really, really big: \\
\fontsize{50pt}{65pt}\selectfont\ldots 7 8 9 \x\ \e\
10\\\normalsize\normalfont
-34\x5897\e45383\e4325
+$34\x5897\e45383\e4325$
\textbf{\textsl{34\x5897\e45383\e4325}}
\clearpage
@@ -132,7 +125,7 @@ Huge: \\
Really, really big: \\
\fontsize{50pt}{65pt}\selectfont\ldots 7 8 9 \x\ \e\
10\\\normalsize\normalfont
-34\x5897\e45383\e4325
+$34\x5897\e45383\e4325$
\textbf{\textsl{34\x5897\e45383\e4325}}
\clearpage
diff --git a/Master/texmf-dist/tex/latex/dozenal/dozenal.sty b/Master/texmf-dist/tex/latex/dozenal/dozenal.sty
index a89d7e5b5df..0f8a2caedbd 100644
--- a/Master/texmf-dist/tex/latex/dozenal/dozenal.sty
+++ b/Master/texmf-dist/tex/latex/dozenal/dozenal.sty
@@ -119,7 +119,7 @@
% produced by the commands |\x| and |\e|, to which we'll get
% in a moment.
%
-% |\x|\DescribeMacro{\x} and |\e|\DescribeMacro{\e} are the
+% |\x|\DescribeMacro{\x}\ and |\e|\DescribeMacro{\e}\ are the
% commands used to quickly and easily access the symbols for
% ten and eleven without having to use active characters
% (the \TeX\ gurus will know what that means; if you don't
@@ -166,6 +166,10 @@
% \begin{macrocode}
\ProvidesPackage{dozenal}
% \end{macrocode}
+% Now we need to make sure that we have fixltx2e loaded.
+% \begin{macrocode}
+\RequirePackage{fixltx2e}
+% \end{macrocode}
% We then define the font that we're using for our
% \MF-produced Pitman characters. Incidentally, we also
% define the command |\doz|, though I can't foresee any
@@ -182,8 +186,11 @@
\DeclareFontShape{OT1}{dozch}{m}{it}{<-7> dozchit7 <8> dozchit8 <9> dozchit9 <10-11> dozchit10 <12-> dozchit12 }{}
\DeclareFontShape{OT1}{dozch}{bx}{it}{<-> dozchbxi10 }{}
\newcommand\doz[1]{{\fontfamily{dozch}\selectfont #1}}
-\newcommand\x{\protect\doz{X}}%
-\newcommand\e{\protect\doz{E}}%
+\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}
% \end{macrocode}
% Then we define our command which will produce the dozenal
% numbers from decimal sources. This algorithm was taken
@@ -229,8 +236,6 @@
\renewcommand\thesubsection{\thesection.\basexii{\arabic{subsection}}{\x}{\e}}
\renewcommand\thesubsubsection{\thesubsection.\basexii{\arabic{subsubsection}}{\x}{\e}}
} % end if it's defined
-
-
% \end{macrocode}
% And that's the end. Thanks for reading,
% folks; please email me with any suggestions or improvements.