Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-plext.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `plext')
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@loadbefore{plext}
19
20 \LWR@ProvidesPackagePass{plext}[2017/07/21]
21 \let\tate\relax
22
23 \DeclareExpandableDocumentCommand{\rensuji}{s o m}{#3}
24
25 \DeclareDocumentCommand{\layoutfloat}{d() o m}{}
26
27 \DeclareDocumentCommand{\DeclareLayoutCaption}{m d<> d() o}{}
28
29 \LetLtxMacro\pcaption\caption
30
31 \DeclareDocumentCommand{\layoutcaption}{d<> d() o}{}
32
33 \let\captiondir\relax
34 \RenewDocumentEnvironment{LWR@HTML@minipage}{d<> O{t} O{} O{t} m}
35 {\LWR@HTML@sub@minipage{#2}{#3}{#4}{#5}}
36 {\endLWR@HTML@sub@minipage}
37
38 \RenewDocumentCommand{\LWR@HTML@parbox}{d<> O{t} O{} O{t} m +m}
39 {
40 \LWR@traceinfo{parbox of width #4}%
41 \begin{minipage}[#2][#3][#4]{#5}%
42 #6
43 \end{minipage}%
44 }
45
46 \RenewDocumentCommand{\pbox}{d<> O{0pt} O{c} m}{%
47 \global\booltrue{LWR@minipagefullwidth}%
48 \parbox{#2}{#4}%
49 }
50
51 \endinput
52 %%
53 %% End of file `lwarp-plext.sty'.