diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fonttable/fonttable.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fonttable/fonttable.sty | 19 |
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} |