Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-picinpar.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `picinpar')
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 \LWR@ProvidesPackagePass{picinpar}% No date is assigned.
19 \long\def\LWR@HTML@window[#1,#2,#3,#4] {%
20 \if #2r%
21 \begin{BlockClass}[float:right](note){marginblock}%
22 \else%
23 \begin{BlockClass}[float:left](note){marginblock}%
24 \fi%
25 #3\par%
26 #4%
27 \end{BlockClass}%
28 }
29
30 \def\endLWR@HTML@window{}
31
32 \LWR@formattedenv{window}
33 \def\LWR@HTML@framepic#1{%
34 \begin{BlockClass}{framebox}
35 \expandafter\box\csname #1box\endcsname%
36 \end{BlockClass}
37 }
38 \LWR@formatted{framepic}
39 \def\LWR@HTML@wframepic#1{%
40 \begin{BlockClass}{framebox}
41 \expandafter\box\csname #1box\endcsname%
42 \end{BlockClass}
43 }
44 \LWR@formatted{wframepic}
45 \long\def\LWR@HTML@@makewincaption#1#2{%
46 \begin{BlockClass}{figurecaption}
47 #1: #2
48 \end{BlockClass}
49 }
50 \LWR@formatted{@makewincaption}
51 \long\def\LWR@HTML@figwindow[#1,#2,#3,#4] {%
52 \window[#1,#2,{#3},{\def\@captype{figure}%
53 \wincaption#4\par}] }
54
55 \def\endLWR@HTML@figwindow{\endwindow}
56
57 \LWR@formattedenv{figwindow}
58 \long\def\LWR@HTML@subtabwindow[#1,#2,#3,#4] {%
59 \window[#1,#2,{#3},{\def\@captype{table}%
60 \wincaption#4\par}] }
61
62 \newcommand*{\LWR@HTML@tabwindow}{%
63 \StartDefiningTabulars%
64 \LWR@HTML@subtabwindow%
65 }
66
67 \def\endLWR@HTML@tabwindow{%
68 \endwindow%
69 \StopDefiningTabulars%
70 }
71
72 \LWR@formattedenv{tabwindow}
73
74 \endinput
75 %%
76 %% End of file `lwarp-picinpar.sty'.