Skip to content

Commit

Permalink
test multicolumn
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Jul 30, 2024
1 parent 25d4998 commit e94c4f7
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions experiments/multirow-cell.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% !Mode:: "TeX:UTF-8:Main"
\DocumentMetadata{testphase={phase-III,table},uncompress}
\DocumentMetadata{testphase={phase-III,table},uncompress,pdfversion=2.0}
%\input{regression-test}
\documentclass{article}
%\usepackage{hyperref}
Expand Down Expand Up @@ -57,8 +57,9 @@
\seq_gput_left:Ne\g__tag_attr_class_used_seq
{\pdf_name_from_unicode_e:n{rowspan-\int_eval:n{#1}}}
\seq_get_right:NN\g__tbl_struct_cur_seq \l__tbl_tmpb_tl
\tl_set:Ne \l__tbl_tmpb_tl { \int_abs:n{\l__tbl_tmpb_tl} }
\prop_get:cnNTF
{ g__tag_struct_\l__tbl_tmpb_tl _prop }
{ g__tag_struct_\int_abs:n{\l__tbl_tmpb_tl}_prop }
{ C }
\l__tbl_tmpa_tl
{
Expand Down Expand Up @@ -152,6 +153,17 @@
\usepackage{graphicx}
\begin{document}
\tagpdfsetup{table/header-rows={1,-1}, table/header-columns={1,-1}}

\begin{tabular}{lp{3cm}ll}
text & \multicolumn{2}{c}{multi}& colhead\\
\multicolumn{2}{c}{\tagpdfsetup{table/multirow={2}} xxx}
& text & colhead\\
& text & text & colhead\\
head & head & head & colhead\\
\end{tabular}

\end{document}

\begin{tabular}{lp{3cm}ll}
text & \multicolumn{2}{c}{multi}& colhead\\
\tagpdfsetup{table/multirow={2}}
Expand Down

0 comments on commit e94c4f7

Please sign in to comment.