summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fonttable
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/source/latex/fonttable
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/source/latex/fonttable')
-rw-r--r--Master/texmf-dist/source/latex/fonttable/fonttable.dtx27
1 files changed, 18 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/fonttable/fonttable.dtx b/Master/texmf-dist/source/latex/fonttable/fonttable.dtx
index 50aaacff195..0fbc13f72b5 100644
--- a/Master/texmf-dist/source/latex/fonttable/fonttable.dtx
+++ b/Master/texmf-dist/source/latex/fonttable/fonttable.dtx
@@ -24,7 +24,8 @@
plainpages=false,
pdfpagelabels,
bookmarksnumbered,
- hyperindex=false
+ hyperindex=false,
+ colorlinks,linktocpage
]{hyperref}
\providecommand{\phantomsection}{}
%%\OnlyDescription %% comment this out for the full glory
@@ -115,6 +116,7 @@
% \def\fileversion{v1.5} \def\filedate{2009/05/12}
% \def\fileversion{v1.51} \def\filedate{2009/05/14}
% \def\fileversion{v1.5b} \def\filedate{2009/09/02}
+% \def\fileversion{v1.5c} \def\filedate{2009/09/20}
% \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package
% \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option
% \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file
@@ -432,7 +434,7 @@
% \begin{macrocode}
%<*pack>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fonttable}[2009/09/02 v1.5b displays a font]
+\ProvidesPackage{fonttable}[2009/09/20 v1.5c displays a font]
% \end{macrocode}
%
@@ -794,21 +796,28 @@
% defines to be a medium space. No doubt this was OK with the interactive
% version but can cause havoc when used in a package!
% \changes{v1.3}{2009/04/30}{Replaced redefinition of \cs{:} by \cs{f@tpsg}}
+% \changes{v1.5c}{2009/09/20}{\cs{renewcommand}\cs{f@tpsg} instead (props Michael Niedermair)}
% \begin{macrocode}
\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 %
+ }%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
\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
-
% \end{macrocode}
% \end{macro}
% \end{macro}