Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty

raw
1 %%
2 %% This is file `lwarp-rotfloat.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `rotfloat')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18
19
20 \LWR@ProvidesPackageDrop{rotfloat}[2004/01/04]
21
22 \RequirePackage{float}
23 \RequirePackage{rotating}
24 \RenewDocumentCommand{\newfloat}{m m m o}{%
25 \IfValueTF{#4}%
26 {%
27 \DeclareFloatingEnvironment[fileext=#3,within=#4]{#1}%
28 }%
29 {%
30 \DeclareFloatingEnvironment[fileext=#3]{#1}%
31 }%
32 \csletcs{sideways#1}{#1}%
33 \csletcs{endsideways#1}{end#1}%
34 \csedef{LWR@floatstyle@#1}{\LWR@floatstyle}%
35 \csedef{LWR@floatstyle@sideways#1}{\LWR@floatstyle}%
36 \cslet{listof#1s}\relax%
37 \cslet{listof#1es}\relax%
38 \cslet{listofsideways#1s}\relax%
39 \cslet{listofsideways#1es}\relax%
40 }
41
42 \endinput
43 %%
44 %% End of file `lwarp-rotfloat.sty'.