Skip to main content
The 2024 Developer Survey results are live! See the results
5 votes
Accepted

Create a phone-book using LaTeX

Both, bullets as well as wrapping is possible when you use p{} as column type. I am not 100% sure what you mean with question 1., but the rest works rather simple: \documentclass[dvipsnames,10pt]{...
Arne's user avatar
  • 1,390
4 votes
Accepted

Aligning the columns of longtable

This is standard tabular preamble syntax as extended by the core latex tools package. c is a centred column with single line content set its natural width. p{2cm} is a \parbox[t]{2cm} column with ...
David Carlisle's user avatar
4 votes
Accepted

cleveref not working for label after caption in longtable

The problem is that cleveref patches \refstepcounter to update its data, but in a current LaTeX longtable doesn't use \refstepcounter directly (it does it avoids that hyperref anchors are set in the ...
Ulrike Fischer's user avatar
2 votes
Accepted

Wide Landscape Table to Fit Page Margins

I suggest you employ the xltabular package, which combines the capabilities of the longtable (ability to span more than one page) and tabularx (ability to set a target width -- here: \linewidth) ...
Mico's user avatar
  • 515k
2 votes
Accepted

siunitx how to align decimals to thousands in tables to fit page format

I suggest you create two longtable environments, with the same overall layout except for how many integer and decimal digits should be displayed: Mainly S[table-format=5.0] in the first table, and ...
Mico's user avatar
  • 515k
1 vote
Accepted

Center longtable in landscape environment horizontally when viewed in portrait mode

If I understand you correctly you want vertical centering (so not \centering, even if that worked with longtable) \documentclass[twoside]{book} \usepackage[T1]{fontenc} \usepackage[margin=2.5cm]{...
David Carlisle's user avatar
1 vote

How do I get my caption at the bottom of a longtable in ThreePartTable , as I keep getting a noalign error?

How to remove errors in your code example I already mentioned in my comment. Sorry, I do not entirely understand your comments, so below is MWE (which instead of longtable, threeparttablex and ...
Zarko's user avatar
  • 300k
1 vote
Accepted

How do I get my caption at the bottom of a longtable in ThreePartTable , as I keep getting a noalign error?

The error should be clear: the error ! Misplaced \noalign. \addlinespace ->\noalign {\ifnum 0=`}\fi \@ifnextchar [{\@addspace }{\@addsp... means that you didn't terminate ...
egreg's user avatar
  • 1.1m
1 vote

Displaying a large table over several pages with text wrapping of cells in a larger document

My main suggestion is that you switch from longtable to xltabular, which combines the capabilities of longtable (span multiple pages) and tabularx (set a target width -- usually, but not necessarily --...
Mico's user avatar
  • 515k
1 vote

Wide Landscape Table to Fit Page Margins

An alternative solution is employ tabularray package. IN the second column I'd use X[j] column type, which enable break long text into more lines. Also I'd condense linespread for text in cells end ...
Zarko's user avatar
  • 300k
1 vote

Cross out if no table entry in a longtable environment

If someone have the same issue: I switched from longtable to supertabular. With that it works fine. \documentclass[]{scrartcl} \usepackage{longtable} \usepackage{hhline} \usepackage{tikz} \...
Viggo's user avatar
  • 65
1 vote

Color issue with the combination of the longtable, rowcolor, and makecell

One more solution with use of tabularray package. From other it differ In the following: added is new package tblr-extras for writing captions with style defined by caption package added is option ...
Zarko's user avatar
  • 300k

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