diff options
author | Karl Berry <karl@freefriends.org> | 2018-06-06 20:52:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-06-06 20:52:12 +0000 |
commit | 0287311bafc0bdd253df0c8d6df3ef85f804d263 (patch) | |
tree | 151b584accf0b823a70c9bb86673bb0ad79f2991 /Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty | |
parent | e0b44a591ea65a8c11f15d8e4c0cfb50a6058782 (diff) |
lwarp (6jun18)
git-svn-id: svn://tug.org/texlive/trunk@47944 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty index 8d7469b0057..3e38b6cd48d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty @@ -17,28 +17,35 @@ %% version 2005/12/01 or later. -\LWR@ProvidesPackageDrop{float}[2016/03/04] +\LWR@ProvidesPackageDrop{float}[2001/11/08] +\newcommand*{\LWR@floatstyle}{plain} + \NewDocumentCommand{\newfloat}{m m m o}{% \IfValueTF{#4}% {\DeclareFloatingEnvironment[fileext=#3,within=#4]{#1}}% {\DeclareFloatingEnvironment[fileext=#3]{#1}}% +\csedef{LWR@floatstyle@#1}{\LWR@floatstyle}% \cslet{listof#1s}\relax% \cslet{listof#1es}\relax% +\cslet{l@#1}\relax% } \NewDocumentCommand{\floatname}{m +m}{% -\SetupFloatingEnvironment{#1}{name=#2}% + \SetupFloatingEnvironment{#1}{name=#2}% } \newcommand*{\floatplacement}[2]{% -\SetupFloatingEnvironment{#1}{placement=#2}% + \SetupFloatingEnvironment{#1}{placement=#2}% } -\newcommand{\floatstyle}[1]{} +\newcommand{\floatstyle}[1]{% + \def\LWR@floatstyle{#1}% +} \NewDocumentCommand{\restylefloat}{s m}{% + \csedef{LWR@floatstyle@#2}{\LWR@floatstyle}% } \endinput |