4 votes
Accepted

LaTex: Table numbering begins at 2

longtable implements its own captioning command, which allows the table number and caption be printed on every page. To make this work longtable increments the table counter. (Try putting a table ...
user avatar
  • 20.1k
4 votes

Longtable multirow problem

With longtblr defined in the tabularray package` \documentclass{article} \usepackage{geometry} \usepackage{tabularray} \UseTblrLibrary{booktabs, siunitx} \NewTableCommand\mc{\SetCell{c}} \...
user avatar
  • 255k
3 votes
Accepted

Long Table border not complete?

As I mentioned in my comment, first vertical line in table is present, but apparently in your pdf viewer is not visible. If you will zoom beginning of table, it will become visible also in it. Off ...
user avatar
  • 255k
2 votes

Long Table border not complete?

As @Zarko has already pointed out in a comment, the "disappearing lines" issue you've encountered is a browser-issue artifact. Since the gray columns and rows don't do much anyway, ...
user avatar
  • 440k
2 votes
Accepted

Table pagebreak with tabular

One way is to split long cells, i.e. make more rows, reduce \itemsep and linespread in lists, reduce font size to \small` for example like this: It is (still) not perfekt, but empty space below of ...
user avatar
  • 255k
2 votes
Accepted

Usage lstinline in longtable

If I use \documentclass{article} \usepackage{enumitem} \usepackage{longtable} \usepackage[table,xcdraw]{xcolor} \usepackage{tabularx} \usepackage{longtable} \usepackage{colortbl} \usepackage{...
user avatar
  • 49.5k
2 votes

convert a table to a longtable to span across multiple pages

I would employ the xltabular package and its xltabular environment. I would assign the X column type to the third column. I'd further use a ragged-right layout rather than a fully justified layout for ...
user avatar
  • 440k
2 votes

convert a table to a longtable to span across multiple pages

Edit: Long tables should not be incapsulated in floating environment. For them have been developed many package, from the (oldest) longtable to the (newest) tabularray. The main difference between ...
user avatar
  • 255k
2 votes

convert a table to a longtable to span across multiple pages

Yes, you are correct, the package, as well as the environment, is called longtable. It provides many options for repeating head rows, foot rows, a caption etc. (see the documentation). For instance, I ...
user avatar
  • 859
2 votes
Accepted

Longtable caption shifted by increased \arraystretch (line spacing)?

This is not surprising, as with longtable, the caption is typeset as a row in the table, so the \arraystretch is also applied to it. A possible solution could be to shift the caption upward with a \...
user avatar
1 vote

Adding notes with threeparttable, but not as an item

With talltblr defined in the tabularray package this can be simple to achieve: \documentclass{article} \usepackage{microtype} \usepackage{xcolor} \usepackage{tabularray} \UseTblrLibrary{booktabs, ...
user avatar
  • 255k
1 vote
Accepted

Vertical alignment in cell of longtable

You can remove the space around the enumerate with the options: topsep=0pt, partopsep=0pt, before=\vspace*{-\baselineskip}, after=\vspace*{-\baselineskip} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ...
user avatar
  • 19.5k
1 vote

Replace \tabularnewline with \hline?

I would not experimenting what you try to do. Better and far more simple is use tabularray package. Using it your code will become very short and clear: \documentclass{article} \usepackage{tabularray} ...
user avatar
  • 255k
1 vote
Accepted

Longtable multirow problem

Some suggestions: I suggest you use the xltabular package and its eponymous environment instead of a longtable environment. That way, you can set up automatic linebreaking in the header cells. ...
user avatar
  • 440k

Only top scored, non community-wiki answers of a minimum length are eligible