6
votes
Long table with all Mathematics columns
In addition to following @PeterGrill's suggestion to load the array package, you may want to give some thought to give the longtable more visual appeal. Importantly, it isn't necessary -- or even ...
4
votes
Accepted
How to split a table across pages using longtable?
(updated the answer to switch from a longtable setup to a tabularx setup)
If you eliminate the line breaks in columns 2, 3, and 4, you can typeset the entire table on a single page.
The following ...
3
votes
How to split a table across pages using longtable?
You're wasting precious space with the long headers, which can be split across lines.
For the last column, I like Mico's idea to print the sequence in monospaced type, which guarantees alignment. The ...
3
votes
Can not manage table dimension, please help
My main suggestion is not to insert line breaks by hand. Instead, use an xltabular environment and let LaTeX do the tedious job of finding linebreaks.
The following example uses an xltabular ...
3
votes
Accepted
Can not manage table dimension, please help
You tagged this longtable (for multi-page tables) but it seems you want to squeeze it in to one page.
Just choose a suitable font size and column widths, and remove all the nested tabular.
If you ...
3
votes
Accepted
Add the word "Supplementary" in the caption title of longtblr
I would like to add the word "Supplementary" just before the word "Table". How can I do it?
tabularray, specifically with longtblr as well as talltblr works along templates. Each ...
2
votes
Length and align left margin of longtable
It makes little sense to specify w{r}{0.2\textwidth} as the column type for the third column of the table at hand. Instead, just use r.
\documentclass[10pt]{book}
\usepackage{newpxtext,newpxmath}
\...
2
votes
Accepted
Length and align left margin of longtable
both questions have the same answer, you can set \setlength\tabcolsep{0pt} to make the cell padding 0, or remove each case with
\multicolumn{3}{@{}l@{}}{
and
{@{\extracolsep{\fill}}
p{0.2\textwidth}
...
2
votes
How to split a table across pages using longtable?
Edit:
Meanwhile OP changes in his/her question the data in the last column. This changes are now reflected in this answer too. Also is added the image of case, when table is broken between two pages.
...
2
votes
Accepted
Symmetric Tufte-book with Longtable Captions?
This is just David's answer made symmetric, so you will need to make the same adjustments for vertical positioning, if you want them:
\documentclass[symmetric]{tufte-book}
\usepackage{booktabs}
\...
2
votes
Long table with all Mathematics columns
May I offer one improvement for the table? I personally dislike the left alignment of each column. I would suggest to centre columns w.r.t the headers, however make the content of each cell left or ...
1
vote
Accepted
Using \isodd in a longtable
\ifthenelse isn't expandable, so it stops TeX looking for things such as \noalign (which is implicitly used by \rowcolor) or \multicolumn.
You can use the primitive test.
\documentclass{article}
\...
1
vote
Accepted
Long table with all Mathematics columns
with use of the tabularray package
since table is quite narrow, added is example where table is split on half and then write in parallel:
\documentclass[a4paper,12pt]{article}
%--------------- show ...
1
vote
Accepted
\documentclass{wlscirep}: the caption title of longtblr is not bold as the caption title of table
As described in this answer, you can try to define a theme that enables bold caption tags.
\documentclass{wlscirep}
\RequirePackage[font=small, labelfont=bf, labelsep=period]{caption}
\begin{document}...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
longtable × 2529tables × 1025
captions × 199
page-breaking × 164
tabularx × 144
landscape × 108
multicolumn × 94
spacing × 93
multirow × 91
vertical-alignment × 81
horizontal-alignment × 77
tabu × 64
width × 56
threeparttable × 53
margins × 49
floats × 47
formatting × 43
columns × 43
longtabu × 43
line-breaking × 42
header-footer × 39
color × 38
booktabs × 38
pgfplotstable × 36
footnotes × 35