Debian Codegraph @

texmf-dist/tex/generic/tex4ht/multirow.4ht

raw
1 % multirow.4ht (2021-06-20-09:36), generated from tex4ht-4ht.tex
2 % Copyright 2004-2009 Eitan M. Gurari
3 % Copyright 2009-2021 TeX Users Group
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <http://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2021-06-20-09:36}
21
22 \def\@xmultirow[#1]#2[#3]#4[#5]#6{%
23 \expandafter\multirow@piii#3\relax\end%
24 \multirow@dima=#2\ht\@arstrutbox
25 \advance\multirow@dima#2\dp\@arstrutbox
26 \ifdim#2pt<\z@\multirow@dima=-\multirow@dima\fi
27 \advance\multirow@dima \multirow@cntb\bigstrutjot
28 \if*#4\multirow@vbox{#1}{}{\hbox{\strut#6\strut}}%
29 \else \if=#4\multirow@setcolwidth{#6}%
30 \multirow@vbox{#1}{\hsize\multirow@colwidth\@parboxrestore}{\strut#6\strut\par}%
31 \else \multirow@vbox{#1}{\hsize#4\@parboxrestore}{\strut#6\strut\par}%
32 \fi \fi
33 \ifdim#2pt>\z@
34 \if#1t\relax\multirow@dima=\ht0\else
35 \multirow@dima=\ht\@arstrutbox
36 \ifmultirow@prefixt \advance\multirow@dima\bigstrutjot\fi
37 \if#1b\relax \advance\multirow@dima\dp\@arstrutbox
38 \ifmultirow@prefixb \advance\multirow@dima\bigstrutjot\fi
39 \fi
40 \fi
41 \else
42 \if#1b\relax\else
43 \advance\multirow@dima-\dp\@arstrutbox
44 \ifmultirow@prefixb \advance\multirow@dima-\bigstrutjot\fi
45 \if#1t\relax\advance\multirow@dima-\ht\@arstrutbox
46 \ifmultirow@prefixt \advance\multirow@dima-\bigstrutjot\fi
47 \advance\multirow@dima\ht0
48 \fi
49 \fi
50 \fi
51 \advance\multirow@dima#5\relax
52 \leavevmode\a:multirow
53 \setbox0\vtop{\vskip-\multirow@dima\box0\vss}\dp0=\z@
54 \ifmultirowdebug{\showboxdepth=5 \showboxbreadth=10 \showbox0}\fi
55 \box0\b:multirow
56 }
57 \NewConfigure{multirow}{2}
58
59 \Hinput{multirow}
60 \endinput
61