# Tag Info

## Hot answers tagged longtable

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 ...
• 20.1k

### Longtable multirow problem

With longtblr defined in the tabularray package \documentclass{article} \usepackage{geometry} \usepackage{tabularray} \UseTblrLibrary{booktabs, siunitx} \NewTableCommand\mc{\SetCell{c}} \...
• 255k
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 ...
• 255k

### 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, ...
• 440k
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 ...
• 255k
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{...
• 49.5k

### 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 ...
• 440k

### 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 ...
• 255k

### 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 ...
• 859
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 \...
• 12.8k
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, ...
• 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} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ...
• 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} ...
• 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. ...
• 440k

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