From 5cdccd700859fc5885b07b4dd8f297a798b53f16 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 20 Sep 2009 23:34:13 +0000 Subject: fonttable update (20sep09) git-svn-id: svn://tug.org/texlive/trunk@15390 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/fonttable/fonttable.sty | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/fonttable/fonttable.sty') 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} -- cgit v1.2.3