Skip to content

Commit

Permalink
fix: expand \box_wd:N <box>
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Mar 31, 2024
1 parent ec066c3 commit 913756c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabularray.sty
Original file line number Diff line number Diff line change
Expand Up @@ -3712,7 +3712,7 @@
{
%% Note that font = \boldmath will increase cell width (issue #137)
\hbox_set:Nn \l_tmpa_box { \l__tblr_f_tl \l__tblr_c_tl }
\tl_set:Nx \l__tblr_w_tl { \box_wd:N \l_tmpa_box }
\tl_set:Nx \l__tblr_w_tl { \dim_eval:n { \box_wd:N \l_tmpa_box } }
}
{
\__tblr_get_cell_size_with_box:
Expand Down Expand Up @@ -3759,7 +3759,7 @@
\end{varwidth}
\end{tblrNoHyper}
}
\tl_set:Nx \l__tblr_w_tl { \box_wd:N \l_tmpa_box }
\tl_set:Nx \l__tblr_w_tl { \dim_eval:n { \box_wd:N \l_tmpa_box } }
}
\cs_new_protected:Npn \__tblr_get_cell_size_with_hbox:
Expand Down

0 comments on commit 913756c

Please sign in to comment.