Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-swfigure.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `swfigure')
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 \LWR@ProvidesPackageDrop{swfigure}[2020-11-10]
20 \NewDocumentEnvironment{DFimage}%
21 {O{SW} m O{#4} m o D(){0.8} D<>{0} D||{0.25} D!!{}}%
22 {%
23 \begin{figure}
24 \centering
25 \includegraphics{#2}
26 \caption[#3]{#4}
27 \IfValueT{#5}{\label{#5}}
28 \end{figure}
29 }%
30 {}%
31 \endinput
32 %%
33 %% End of file `lwarp-swfigure.sty'.