lvjr / tabularray

Typeset tabulars and arrays with LaTeX3
https://ctan.org/pkg/tabularray
253 stars 22 forks source link

borders of tabular environment in a cell of tabularray are lost #447

Closed tajpulo closed 11 months ago

tajpulo commented 11 months ago

Example

\documentclass{article}
\usepackage{tabularray}
\usepackage{graphicx}

\begin{document}

      \begin{tblr}{colspec = {X[10em,m,c] X[m,c]}, width = {\linewidth}}
          {
            \begin{tabular}{c|c}
             $ x $ & $f(x)$ \\
            \hline
             $-2 $ &     \\
             $-1 $ & $5$ \\
             $ 0 $ &     \\
             $ 1 $ &     \\
             $ 2 $ &     \\
             $ 3 $ & $-3$
            \end{tabular}
          }
        &
          \raisebox{-.5\height}{\includegraphics[width=0.7\textwidth]{example-image-a}}
      \end{tblr}

\end{document}

Compiled with: lualatex --halt-on-error --interaction=nonstopmode mwe.tex

Expected behavior

Borders of tabular like | are respected and shown.

Actual behavior

image

muzimuzhi commented 11 months ago

Can't reproduce, both locally and using Overleaf's texlive 2023. image

Does zooming in makes the missing horizontal line correctly rendered?

tajpulo commented 11 months ago

No, it is a valid point, but not a rendering issue.

But I might just be subject to deprecated versions. debian ships an old texlive-full installation and thus upgrading should fix it then. If you think so too, please close the issue. For now, I attach relevant version numbers:

muzimuzhi commented 11 months ago

But I might just be subject to deprecated versions.

You reminded me. I think this is a duplicate of #31, which has been fixed since release 2022C (2022-07-01).

Overleaf's texlive 2022 mirror provides tabularray v2022B, hence can reproduce the problem. The problem disappeared after uploading tabularray.sty at v2022C.

muzimuzhi commented 11 months ago

Duplicate of #31

tajpulo commented 11 months ago

Then sorry for the noise and thank you very much for your efforts 😊