Tabularray – “Package tabularray Warning: Table width is too small, need 5.6181pt more!” & Text missing from cell

tablestabularray

I am getting the error "Package tabularray Warning: Table width is too small, need 5.6181pt more!", which gave little results when searching for. I have previosly used the package without problem.

Also, the text "Fixed" does not appear in my table. Could this be connected to the error, or is something else wrong?

See the code and a screenshot of the table below:

\documentclass{article}
\usepackage{tabularray}
\usepackage{float}

\begin{document}

    \begin{table}[H]
    \centering
    \begin{talltblr}[
        caption = {The three different terminal models currently avaliable}
    ]{
      colspec={cccc},
      row{1}={font=\bfseries},
      hlines,
      vlines
    }
        & Standard & {High \\ Performance} & {Flat High \\ Performance} \\
        Antenna & \SetCell[c=3]{c} Electronic Phased Array \\
        Antenna size & 513x303mm & \SetCell[c=2]{c} 575x511mm \\
        Orientation & \SetCell[c=2]{c} {Motorized Self Orienting} & Fixed \\
        Environmental rating & IP54 & \SetCell[c=2]{c} IP56 \\
        Snow Melt Capability & {Up to 40mm / hour} & \SetCell[c=2]{c} {Up to 75mm / hour} \\
        Operating temperature & \SetCell[c=3]{c} {$-30^\circ C$ to $50^\circ C$} \\
        Field of View & $100^\circ$ & \SetCell[c=2]{c} $140^\circ$ \\
        Average Power Usage & 50-75W & \SetCell[c=2]{c} 110-150W \\
        Other & & & {Wind rating: \\ Survivable: 280 kph+} \\

    \end{talltblr}
  \end{table}

\end{document}

Screenshot of the table

Best Answer

You use only c columns in your table. This type of columns gets its width from the content. In the end your content is wider than the available text width, thus you get this warning. To avoid this, you can use at least one X column so that tabularray can resize the table to fit in the available text width.

"Fixed" is not visible in your table, because you placed it in the cell directly after a multicolumn cell, which is going to be merged with the cell before it. You need to add one more & after the multicolumn cell so that the Fixed is placed in the cell after the two merged cells.

\documentclass{article}

\usepackage{tabularray} 

\begin{document}
       \begin{table}[htbp]
       \centering
       \begin{talltblr}[
           caption = {The three different terminal models currently avaliable}
       ]{
         colspec={XXXX},
         columns={halign=c},
         row{1}={font=\bfseries},
         hlines,
         vlines
       }
           & Standard & {High \\ Performance} & {Flat High \\ Performance} \\
           Antenna & \SetCell[c=3]{c} Electronic Phased Array \\
           Antenna size & 513x303mm & \SetCell[c=2]{c} 575x511mm \\
           Orientation & \SetCell[c=2]{c} {Motorized Self Orienting} & &Fixed \\
           Environmental rating & IP54 & \SetCell[c=2]{c} IP56 \\
           Snow Melt Capability & {Up to 40mm / hour} & \SetCell[c=2]{c} {Up to 75mm / hour} \\
           Operating temperature & \SetCell[c=3]{c} {$-30^\circ C$ to $50^\circ C$} \\
           Field of View & $100^\circ$ & \SetCell[c=2]{c} $140^\circ$ \\
           Average Power Usage & 50-75W & \SetCell[c=2]{c} 110-150W \\
           Other & & & {Wind rating: \\ Survivable: 280 kph+} \\
   
       \end{talltblr}
     \end{table}
   
\end{document}

enter image description here