2

I am trying to figure out how I can remove the table label (i.e. "Table 1.1") within the longtblr environment, that appears automatically even if I do not specify a caption.

\documentclass{report}
\usepackage[letter,margin=20mm]{geometry}

\usepackage{tabularray}
\usepackage{xcolor}

\begin{document}
\begin{longtblr}{
  colspec =  {t{8mm} t{10cm} t{5cm}},
  rowhead = 1,
  hlines,
  vlines,
  %row{even} = {gray9},
  row{1} = {olive9},
}
\textbf{Step} & \textbf{Description} & \textbf{Figure}\\
\end{longtblr}

\end{document}

enter image description here

5

1 Answer 1

3

Refer the answer here -- https://tex.stackexchange.com/a/624912/197451

enter image description here

Add the folllowing code to eliminate the caption Table 1:

\DefTblrTemplate{firsthead, middlehead,lasthead}{default}{}

enter image description here

Complete MWE

\documentclass{report}
\usepackage[margin=20mm]{geometry}

\usepackage{tabularray}
\usepackage{xcolor}

\begin{document}
        \DefTblrTemplate{firsthead, middlehead,lasthead}{default}{}
    \begin{longtblr}{
                                    rowhead = 1,
                                    colspec =  {t{8mm} t{10cm} t{5cm}},
                                    hlines,
                                    vlines,
            %row{even} = {gray9},
            row{1} = {olive9},
        }
        \textbf{Step} & \textbf{Description} & \textbf{Figure}\\
                Step1   & Column2 & Column3         &   Column4       \\
    \end{longtblr}
    
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .