summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-13 21:03:22 +0000
committerKarl Berry <karl@freefriends.org>2018-10-13 21:03:22 +0000
commit130fb6350db2aad61eca882f23ed963d1ea31821 (patch)
treed33c7ad0daff3592154ae659e783b5d1c64c87f0 /Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
parent206e1efd94e4c3414835af0e2c8266c88ed7dcc9 (diff)
lwarp (13oct18)
git-svn-id: svn://tug.org/texlive/trunk@48904 c570f23f-e606-0410-a88d-b1316a301751
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]{}