diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-21 23:44:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-21 23:44:01 +0000 |
commit | 91c9b5dc1e480401f79c7ea64bd98754e1eab170 (patch) | |
tree | 0490daeb741da832d4791aef4d848c3adf39621b /Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty | |
parent | 28867ba53359e0e24d60b4189f4625553a5e76a0 (diff) |
lwarp (10feb17)
git-svn-id: svn://tug.org/texlive/trunk@43292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty new file mode 100644 index 00000000000..6cbb7fa1500 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty @@ -0,0 +1,131 @@ +%% +%% This is file `lwarp-keyfloat.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `keyfloat') +%% This is a generated file. +%% Copyright 2016 Brian Dunn +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\LWR@ProvidesPackagePass{keyfloat} + +\AtBeginDocument{ + + +\let\KFLT@boxinner\relax +\let\endKFLT@boxinner\relax + +\NewEnviron{KFLT@boxinner} +{% +\LWR@traceinfo{kflt@boxinner}% +\LWR@stoppars% +\KFLT@frame{\BODY}% +\LWR@startpars% +\LWR@traceinfo{ended kflt@boxinner}% +} + +\RenewDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +{% start +\LWR@maybeincthisfloat% +\LWR@stoppars% +\LWR@htmltag{div class="marginblock" id="autofloat-\arabic{LWR@thisfloat}"} +\LWR@startpars% +\captionsetup{type=#2}% +} +{ +\LWR@htmldivclassend{div} +} + +}% AtBeginDocument + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-keyfloat.sty'. |