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 ...
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}}
\...
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 ...
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, ...
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 ...
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{...
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 ...
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 ...
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 ...
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 \...
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, ...
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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ...
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}
...
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. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
longtable × 2321tables × 929
captions × 181
page-breaking × 156
tabularx × 134
landscape × 95
spacing × 89
multirow × 88
multicolumn × 83
vertical-alignment × 77
horizontal-alignment × 74
tabu × 64
width × 56
threeparttable × 49
floats × 41
line-breaking × 41
columns × 41
margins × 40
formatting × 38
longtabu × 38
color × 37
header-footer × 36
pgfplotstable × 36
footnotes × 35
booktabs × 35