summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-20 23:34:13 +0000
committerKarl Berry <karl@freefriends.org>2009-09-20 23:34:13 +0000
commit5cdccd700859fc5885b07b4dd8f297a798b53f16 (patch)
treef668c0ff6d28a7f52a9193cd497fa1de69b22d0d /Master/texmf-dist/tex/latex
parentb07ceb5e9913df5242a8e58faca8f8e060109b10 (diff)
fonttable update (20sep09)
git-svn-id: svn://tug.org/texlive/trunk@15390 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/fonttable/fonttable.sty19
1 files changed, 11 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/fonttable/fonttable.sty b/Master/texmf-dist/tex/latex/fonttable/fonttable.sty
index dfddf9677de..6dbaf0f3b98 100644
--- a/Master/texmf-dist/tex/latex/fonttable/fonttable.sty
+++ b/Master/texmf-dist/tex/latex/fonttable/fonttable.sty
@@ -21,7 +21,7 @@
%% This work consists of the files listed in the README file.
%% ------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fonttable}[2009/09/02 v1.5b displays a font]
+\ProvidesPackage{fonttable}[2009/09/20 v1.5c displays a font]
\providecommand*{\sevenrm}{\fontsize{7}{9pt}\rmfamily}
\newcount\f@tm \newcount\f@tn \newcount\f@tp \newdimen\f@tdim
@@ -166,19 +166,22 @@
\egroup$$\par}
\newcommand*{\nodecimals}{%
-%%% the original
- \newcommand*{\f@tpsg}{\setbox0=\hbox{\char\f@tn}%
+ \newcommand*{\f@tpsg}{%
+ \setbox0=\hbox{\char\f@tn}%
\ifdim\ht0>7.5pt\f@treposition
\else\ifdim\dp0>2.5pt\f@treposition\fi\fi
- \box0\global\advance\f@tn 1 }}
+ \box0\global\advance\f@tn 1 %
+ }%
+}
\newcommand{\decimals}{%
-%%% mine
- \newcommand*{\f@tpsg}{\setbox0=\hbox{\char\f@tn\,\rlap{\tiny \the\f@tn}}%
+ \renewcommand*{\f@tpsg}{%
+ \setbox0=\hbox{\char\f@tn\,\rlap{\tiny \the\f@tn}}%
\ifdim\ht0>7.5pt\f@treposition
\else\ifdim\dp0>2.5pt\f@treposition\fi\fi
- \box0\global\advance\f@tn 1 }}
+ \box0\global\advance\f@tn 1 %
+ }%
+}
\decimals
-
\newcommand*{\f@treposition}{\setbox0=\vbox{\kern2pt\box0}\f@tdim=\dp0
\advance\f@tdim 2pt \dp0=\f@tdim}