summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/tablefootnote/tablefootnote.sty56
1 files changed, 44 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/tablefootnote/tablefootnote.sty b/Master/texmf-dist/tex/latex/tablefootnote/tablefootnote.sty
index c2135189c59..470650c6c2c 100644
--- a/Master/texmf-dist/tex/latex/tablefootnote/tablefootnote.sty
+++ b/Master/texmf-dist/tex/latex/tablefootnote/tablefootnote.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: tablefootnote
-%% Version: 2011/10/29 v1.0b
+%% Version: 2011/11/06 v1.0c
%%
%% Copyright (C) 2011 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -40,17 +40,17 @@
%% tablefootnote-example.tex, tablefootnote-example.pdf.
%%
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
-\ProvidesPackage{tablefootnote}[2011/10/29 v1.0b
+\ProvidesPackage{tablefootnote}[2011/11/06 v1.0c
Table foot notes (HMM)]
%% Provides the \tablefootnoteote{...} command
%% for footnotes in (sideways)tables.
-\RequirePackage{ltxcmds}[2011/04/18]% v1.20
+\RequirePackage{ltxcmds}[2011/04/18]% v1.20
\@ifpackageloaded{rotating}{%
\gdef\tfn@rotating{1}
- \@ifpackagelater{rotating}{2009/03/28}% 2009/03/28 v2.16a
+ \@ifpackagelater{rotating}{2009/03/28}% v2.16a
{% >= 2009/03/28, OK
}{% else
\PackageWarningNoLine{tablefootnote}{%
@@ -108,7 +108,7 @@
\ifx\tfn@swt\tfn@footnotezero%
\footnotetext{#1}%
\else%
- \footnotetext{$^{\text{\thefootnote}}$\thinspace #1}%
+ \footnotetext{${}^{\text{\textup{\thefootnote}}}$\thinspace #1}%
\fi%
\count255=\tfn@footnotetablecount \relax%
\count255=\numexpr \count255 + 1 \relax%
@@ -137,7 +137,7 @@
}
\IfFileExists{etoolbox.sty}{%
- \RequirePackage{etoolbox}
+ \RequirePackage{etoolbox}[2011/01/03]% v2.1
\AfterEndEnvironment{table}{%
\tfn@tablefootnoteprintout%
\gdef\tfn@fnt{0}%
@@ -161,15 +161,47 @@
substituting commands \string\AtEndEnvironment\space %
and\MessageBreak%
\string\AfterEndEnvironment\space for tablefootnotes%
+ \MessageBreak%
}%
- \let\tfnorigtable\table
- \let\tfnendorigtable\endtable
+ \RequirePackage{letltxmacro}[2010/09/02]% v1.4
+ \@ifpackagelater{letltxmacro}{2010/09/02}%
+ {% >= 2010/09/02, OK
+ \GlobalLetLtxMacro{\tfnorigtable}{\table}
+ \GlobalLetLtxMacro{\tfnendorigtable}{\endtable}
+ }{% else
+ \PackageError{tablefootnote}{%
+ Outdated version of letltxmacro package used%
+ }{Version 2010/09/02 v1.4 or newer needed but not found!%
+ \MessageBreak%
+ Update the used letltxmacro package.}
+ \LetLtxMacro{\tfnorigtable}{\table}
+ \LetLtxMacro{\tfnendorigtable}{\endtable}
+ }
+ \ltx@ifpackageloaded{float}{%
+ \@ifpackagelater{float}{2001/11/08}% v1.3d
+ {% >= 2001/11/08, OK
+ }{% else
+ \PackageWarningNoLine{tablefootnote}{%
+ It is required version\MessageBreak
+ 2001/11/08 v1.3d (or later) of package float,\MessageBreak
+ but only version\MessageBreak
+ `\csname ver@float.sty\endcsname'\MessageBreak
+ is available}%
+ }%
+ }{\relax}
\renewenvironment{table}{%
+ \ltx@ifpackageloaded{float}{%
+ \ltx@LocalAppendToMacro{\float@endH}{%
+ \tfn@tablefootnoteprintout%
+ \gdef\tfn@fnt{0}%
+ }%
+ }{\relax}
\tfnorigtable%
- }{%
- \tfnendorigtable%
- \tfn@tablefootnoteprintout%
- }
+ }{%
+ \tfnendorigtable%
+ \tfn@tablefootnoteprintout%
+ \gdef\tfn@fnt{0}%
+ }%
\ltx@ifpackageloaded{rotating}{%
\let\tfnorigsidewaystable\sidewaystable
\let\tfnendorigsidewaystable\endsidewaystable