summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
index 0906997a27a..42393ec23a6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
@@ -37,14 +37,16 @@
\newcommand{\tablelasttail}[1]{%
\long\gdef\LWRXT@lasttail{#1}%
}
-
\newcommand{\tablecaption}[2][]{%
- \long\gdef\LWRXT@caption{\caption[#1]{#2}}%
+ \long\gdef\LWRXT@caption{%
+ \ifblank{#1}%
+ {\caption{#2}}%
+ {\caption[#1]{#2}}%
+ }%
}
\let\topcaption\tablecaption
\let\bottomcaption\tablecaption
-
\newcommand*{\LWRXT@caption}{}
\newcommand*{\shrinkheight}[1]{}