Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-multirow.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `multirow')
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 \LetLtxMacro\multirow\relax
21 \LWR@ProvidesPackagePass{multirow}[2021/03/15]
22 \newcommand{\LWR@multirowborder}{}
23 \newcommand*{\LWR@multirow@par}{%
24 \LWR@htmltag{br /}%
25 }%
26 \NewDocumentCommand{\LWR@HTML@multirow}{O{c} m o m o +m}%
27 {%
28 \LWR@traceinfo{LWR@HTML@multirow #1 #2 #4}%
29 \booltrue{LWR@usedmultirow}%
30 \LWR@maybenewtablerow%
31 \LWR@tabularleftedge%
32 \LWR@htmltag{%
33 td rowspan=\textquotedbl#2\textquotedbl\ %
34 class=\textquotedbl{}td%
35 \LWR@getexparray{LWR@tablecolspec}{\arabic{LWR@tableLaTeXcolindex}}%
36 \LWR@addcmidruletrim%
37 \LWR@addleftmostbartag%
38 \LWR@printbartag{\arabic{LWR@tableLaTeXcolindex}}%
39 \textquotedbl%
40 \LWR@tdstartstyles%
41 \ifstrequal{#1}{c}{\LWR@tdaddstyle\LWR@print@mbox{vertical-align:middle}}{}%
42 \ifstrequal{#1}{b}{\LWR@tdaddstyle\LWR@print@mbox{vertical-align:bottom}}{}%
43 \ifstrequal{#1}{t}{\LWR@tdaddstyle\LWR@print@mbox{vertical-align:top}}{}%
44 \ifdefvoid{\LWR@multirowborder}{}{%
45 \LWR@tdaddstyle%
46 \LWR@print@mbox{border-\LWR@multirowborder:} 2px dotted black ; %
47 \LWR@print@mbox{padding-\LWR@multirowborder:} 2px%
48 }%
49 \LWR@addcmidrulewidth%
50 \LWR@addcdashline%
51 \LWR@addtabularrulecolors%
52 \LWR@tdendstyles%
53 }%
54 \LWR@getexparray{LWR@colbeforespec}{\arabic{LWR@tableLaTeXcolindex}}%
55 \begingroup%
56 \LetLtxMacro{\\}{\LWR@endofline}%
57 \booltrue{LWR@in@multirow@par}%
58 #6%
59 \endgroup%
60 \LWR@stoppars%
61 \boolfalse{LWR@intabularmetadata}%
62 \renewcommand{\LWR@multirowborder}{}%
63 \LWR@traceinfo{LWR@HTML@multirow done}%
64 }%
65
66 \LWR@formatted{multirow}
67 \AtBeginDocument{
68
69 \NewExpandableDocumentCommand{\LWR@HTML@multicolumnrow}{m m O{} m O{} m O{} +m}{%
70 \booltrue{LWR@usedmultirow}%
71 \LWR@tabularhtmlcolumns{\arabic{LWR@tableLaTeXcolindex}}{#1}
72 \LetLtxMacro{\\}{\LWR@endofline}%
73 \LWR@domulticolumn[#3][#4]{#1}{\arabic{LWR@tabhtmlcoltotal}}{#2}{#8}%
74 \LetLtxMacro{\\}{\LWR@tabularendofline}%
75 \defaddtocounter{LWR@tableLaTeXcolindex}{#1}%
76 \defaddtocounter{LWR@tableLaTeXcolindex}{-1}%
77 \booltrue{LWR@skipatbang}%
78 }
79
80 \LWR@expandableformatted{multicolumnrow}
81
82 }% \AtBeginDocument
83 \begin{warpMathJax}
84 \CustomizeMathJax{\newcommand{\LWRsubmultirow}[2][]{#2}}
85 \CustomizeMathJax{\newcommand{\LWRmultirow}[2][]{\LWRsubmultirow}}
86 \CustomizeMathJax{\newcommand{\multirow}[2][]{\LWRmultirow}}
87 \CustomizeMathJax{\newcommand{\mrowcell}{}}
88 \CustomizeMathJax{\newcommand{\mcolrowcell}{}}
89 \CustomizeMathJax{\newcommand{\STneed}[1]{}}
90 \end{warpMathJax}
91
92 \endinput
93 %%
94 %% End of file `lwarp-multirow.sty'.