summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-15 21:14:35 +0000
committerKarl Berry <karl@freefriends.org>2017-05-15 21:14:35 +0000
commit9345b56051808302edacfac91556f8a11d4d7fbe (patch)
tree8f8c7d6ba280b5a64eb7a80f788c361ac5dff730 /Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
parentdd2663ca8384b982816cfb456c4d53e7a3f17536 (diff)
lwarp (15may17)
git-svn-id: svn://tug.org/texlive/trunk@44369 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.sty19
1 files changed, 19 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
index 693af547883..a30e33a9074 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
@@ -46,6 +46,25 @@
\LWR@htmldivclassend{div}
}
+\DeclareDocumentEnvironment{marginfigure}{o}
+ {\begin{KFLT@marginfloat}{figure}}
+ {\end{KFLT@marginfloat}}
+
+\DeclareDocumentEnvironment{margintable}{o}
+ {\begin{KFLT@marginfloat}{table}}
+ {\end{KFLT@marginfloat}}
+
+\DeclareDocumentEnvironment{keywrap}{m +m}
+{%
+\begin{BlockClass}{marginblock}
+\setlength{\linewidth}{#1}
+#2%
+\end{BlockClass}
+}
+{%
+}
+
+
}% AtBeginDocument
\endinput