summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-31 01:34:41 +0000
committerKarl Berry <karl@freefriends.org>2009-12-31 01:34:41 +0000
commit0136e7def8e31b9fe05c5d8142ca3cd629c13e2c (patch)
treede1db0f7a0513c6f5e8d36c7acb60590d7027fd6 /Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty
parentdba73132169044da16cdb0d1180f5932904f3607 (diff)
threeparttablex update (28dec09)
git-svn-id: svn://tug.org/texlive/trunk@16542 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty23
1 files changed, 3 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty b/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty
index b52df58c45d..356aaea76a2 100644
--- a/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty
+++ b/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty
@@ -1,4 +1,4 @@
-\ProvidesPackage{threeparttablex}[2009/10/27 v0.06 by daleif]
+\ProvidesPackage{threeparttablex}[2009/12/28 v0.06 by daleif]
%%
%% This package can be distributed and/or modified under the
@@ -69,11 +69,11 @@
% define an extra \tnote command that table a label instead of a string
-\newcommand\tnotex{\@ifstar{\TPTL@tnotex{01}}{\TPTL@tnotex{00}}}
+\DeclareRobustCommand\tnotex{\@ifstar{\TPTL@tnotex{01}}{\TPTL@tnotex{00}}}
\newcommand\TPTL@tnotex[2]{\tnote{\ref{#2}}}
-% if hyperref is loaded we activate a starred version
+% if hyperref is loaded we activat a starred version
\AtBeginDocument{%
\@ifpackageloaded{hyperref}{%
\renewcommand\TPTL@tnotex[2]{%
@@ -83,21 +83,6 @@
\tnote{\ref*{#2}}
\fi}}{}}
-
-\newcommand\TPTL@generator[2]{%
- \providecommand{#1}{}% just to make it exist
- \renewcommand#1[1][#2]{%
- \let\TPTL@oldmakelabel=\makelabel
- \renewcommand\makelabel[1]{\TPTLnotesnamefontcommand{##1:}}
- \item
- \let\makelabel=\TPTL@oldmakelabel}}
-
-\providecommand\TPTLnotename{Note}
-\providecommand\TPTLsourcename{Source}
-\providecommand\TPTLnotesnamefontcommand{\textit}
-
-
-
\let\TPTL@tablenotes=\tablenotes
% \makelabel (i.e. \item) hides its argument inside a group, making it
@@ -107,8 +92,6 @@
\let\TPTL@item=\item
\renewcommand\item[1][]{\TPTL@item[##1]%
\phantomsection\protected@edef\@currentlabel{##1}}
- \TPTL@generator\note{\TPTLnotename}
- \TPTL@generator\source{\TPTLsourcename}
\TPTL@font\TPTL@tablenotes}
% just in case it is not already there