diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-10 21:58:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-10 21:58:06 +0000 |
commit | 8956ff521f3227536e76de150056dd26ceeb54d4 (patch) | |
tree | afa65286671f1268f7aafcab67a2b8c532813fc5 /Master/texmf-dist/tex | |
parent | 37a6e807d549f9d4c23f446951a303c89cf6373b (diff) |
fonttable 1.4 (9may09)
git-svn-id: svn://tug.org/texlive/trunk@13033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/fonttable/fonttable.sty | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/fonttable/fonttable.sty b/Master/texmf-dist/tex/latex/fonttable/fonttable.sty index dd740fde031..c515fec4279 100644 --- a/Master/texmf-dist/tex/latex/fonttable/fonttable.sty +++ b/Master/texmf-dist/tex/latex/fonttable/fonttable.sty @@ -23,7 +23,7 @@ %% This work consists of the files listed in the README file. %% ------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fonttable}[2009/04/30 v1.3 displays a font] +\ProvidesPackage{fonttable}[2009/05/06 v1.4 displays a font] \providecommand*{\sevenrm}{\fontsize{7}{9pt}\rmfamily} \newcount\f@tm \newcount\f@tn \newcount\f@tp \newdimen\f@tdim @@ -35,6 +35,16 @@ \ftable \egroup} +\DeclareRobustCommand{\pikfont}[4]{% + \fontencoding{#1}\fontfamily{#2}\fontseries{#3}\fontshape{#4}\selectfont} + +\newcommand*{\xfonttable}[4]{\bgroup + \pikfont{#1}{#2}{#3}{#4}% + \edef\f@tfontname{\fontname\font}\normalfont + \f@tstartfont + \ftable + \egroup} + \newcommand*{\f@tstartfont}{\font\f@ttestfont=\f@tfontname \f@ttestfont \f@tsetbaselineskip \ifdim\fontdimen6\f@ttestfont<10pt \rightskip=0pt plus 20pt |