summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty35
1 files changed, 24 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty
index 1d7d306f0d3..5c6415ba6c0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty
@@ -17,21 +17,34 @@
%% version 2005/12/01 or later.
-\LWR@ProvidesPackageDrop{rotating}[2016/08/11]
+\LWR@ProvidesPackagePass{rotating}[2016/08/11]
\RequirePackage{graphicx}
-\LetLtxMacro\sidewaystable\table
-\let\endsidewaystable\endtable
+\LetLtxMacro\LWR@HTML@sidewaystable\table
+\let\endLWR@HTML@sidewaystable\endtable
+\LWR@formattedenv{sidewaystable}
-\LetLtxMacro\sidewaysfigure\figure
-\let\endsidewaysfigure\endfigure
+\LetLtxMacro\LWR@HTML@sidewaysfigure\figure
+\let\endLWR@HTML@sidewaysfigure\endfigure
+\LWR@formattedenv{sidewaysfigure}
-\newenvironment*{sideways}{}{}
-\newenvironment*{turn}[1]{}{}
-\newenvironment*{rotate}[1]{}{}
-\NewDocumentCommand{\turnbox}{m +m}{#2}
-\let\rotcaption\caption
-\let\@makerotcaption\@makecaption
+\newenvironment*{LWR@HTML@sideways}{}{}
+\LWR@formattedenv{sideways}
+
+\newenvironment*{LWR@HTML@turn}[1]{}{}
+\LWR@formattedenv{turn}
+
+\newenvironment*{LWR@HTML@rotate}[1]{}{}
+\LWR@formattedenv{rotate}
+
+\NewDocumentCommand{\LWR@HTML@turnbox}{m +m}{#2}
+\LWR@formatted{turnbox}
+
+\let\LWR@HTML@rotcaption\caption
+\LWR@formatted{rotcaption}
+
+\let\LWR@HTML@@makerotcaption\@makecaption
+\LWR@formatted{@makerotcaption}
\endinput
%%