Skip to main content

Questions tagged [longtable]

{longtable} is for questions relating to the use of the longtable package, which allows for making tables that can be broken across pages.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Compile tables translated from DOCX by Pandoc

Starting with a simple .docx file containing a table: Converted to LaTeX with vanilla Pandoc: pandoc ./Table.docx -o Table.tex Produces the following output: \begin{longtable}[]{@{} >{\...
Luís de Sousa's user avatar
0 votes
1 answer
22 views

Double longtable

I need to use tabular for 2 cases: one for numbered data(table float) and other for text data(I named quadro). Now Im need to use longtable for both, the way I thought to do that is load the longtable ...
Leonidas's user avatar
3 votes
1 answer
35 views

Segmented longtable(longtblr) across multiple columns

I am trying to create a checklist. As the rows of the checklist aren't to wide it would be nice to split the page into two columns. However longtable does not support 2 Column mode and longtblr works ...
N0W0RK's user avatar
  • 85
2 votes
2 answers
87 views

I'm trying to convert a long complicated word table to latex, and i find it hard to create the suitable code for it

I'm writing my thesis, and I need to write a long table with multiple merged cells in latex. I used several online table conversion tools but when the code is copied the table doesn't fit the page and ...
Mariam Hesham's user avatar
0 votes
0 answers
30 views

longtables is breaking my document

I am trying to embed the following longtable into my document. I am running Tex Live within a docker container, and using Latex Workshop in VS code. The chapter containing the longtable: \chapter{...
Sven D's user avatar
  • 1
1 vote
1 answer
38 views

text-wrap within cells when using different column types with longtable

I was working on the following table and try to figure out how to wrap the text inside the last two column while keeping it aligned to the left; I also wish, to have to content of the adjacent cell ...
Matteo's user avatar
  • 307
0 votes
0 answers
16 views

Longtable not running over pages in landscape

My problem is that when I do have text in the table as it is set up here the long table does not run over the page in landscape orientation. Any help? \documentclass[12pt, a4paper,margin=0.5in]{...
Paul A's user avatar
  • 1,117
3 votes
1 answer
35 views

Issues with siunitx, and longtable percentage column

On the line of some other tables I made, I have attempted to use the same approach for this one. However, in this case I have three columns with different type of numeric entries. The first one is a ...
Matteo's user avatar
  • 307
1 vote
0 answers
20 views

How to get repeated headings using longtable inside mdframed?

This is my first post. I have been trying to use longtable within the mdframed environment using each of \endfirsthead, \endhead, \endfoot and \endlastfoot. Within mdframed the headings and footings ...
Alex Morelli's user avatar
0 votes
1 answer
60 views

Can't fit big table (40 x 9) in Latex - Overleaf

Here is the code that I tried and for whatever reason the columns won't split correctly on mulitple pages. Please let me know how to fix this! \usepackage[normalem]{ulem} \useunder{\uline}{\ul}{} \...
joe's user avatar
  • 3
0 votes
1 answer
53 views

Longtable not splitting row across pages in LyX 2.3.7

I have documentation in which the contents of a table's cell might be longer than a page's length. Hence to enable splitting a cell across multiple pages, I have utilized longtable in the latex ...
Aryan's user avatar
  • 1
4 votes
1 answer
62 views

Unwanted line extension after tcolorbox in longtable

I am using tcolorboxes inside the longtable environment. This worked well, but with a recent (or maybe not so recent) change in one of the packages, an extension to the lontable-line after a tcolorbox ...
Manuel's user avatar
  • 363
0 votes
1 answer
25 views

Long Table Fit Within Margins in LaTeX [duplicate]

My table is currently exceeding the margins and I'm looking for suggestions to improve it. Below are my code and the resulting output. \documentclass{article} \usepackage[margin=2cm, a4paper]{geometry}...
HAITHEM's user avatar
  • 411
1 vote
1 answer
44 views

Longtable with long enumerated list spanning multiple pages

I need a table with a cell containing a very long enumerated list. Here's the code I'm using: \documentclass{article} \usepackage[a4paper, margin=1in]{geometry} \usepackage{longtable} \usepackage{...
Maury's user avatar
  • 11
1 vote
0 answers
28 views

Longtable row height limitation with rotated text

With the following code, I want to create a table that is rotated on the page, but the page itself is not rotated (it is for print in a book, so also the pdf cannot have rotated pages): \documentclass[...
edgar's user avatar
  • 21
3 votes
1 answer
89 views

Remove vertical line between two cells in a LaTeX longtable

I use this code in LaTeX to make a table: \begin{center} \begin{longtable}{|c|p{0.08\linewidth}|p{0.08\linewidth}|} \hline \multirow{3}{*}{Text O} & \multicolumn{2}{c|}{\multirow{2}{*}{...
Tari's user avatar
  • 31
0 votes
0 answers
45 views

longtable too much blank space [duplicate]

i'm using longtable but i got too much space , I don't want that , I don't want any space between rows \begin{longtable}{|p{6cm}|p{8cm}|} \hline \textbf{Cas d’utilisation } & S’inscrire \\ \...
d3ridi's user avatar
  • 1
1 vote
1 answer
58 views

Package array Error: Illegal pream-token (\caption): `c' used

I meet this error Package array Error: Illegal pream-token (\caption): `c' used." please help me fix it. Thank you \documentclass[a4paper,11pt]{article} \usepackage[english]{babel} \usepackage[...
thiennhan nguyen's user avatar
1 vote
0 answers
48 views

\input{} does not work inside \longtable{} [duplicate]

I want to create multiple reports with dynamic tables. When I try to insert columns with \input{inputfile.tex} it gives me the errors: "Misplaced \noalign. \midrule ->\noalign" and "...
HauptDa's user avatar
  • 11
0 votes
1 answer
35 views

vertical alignment of a tkzpicture in a longtable cell

I am struggling to get a tkzpicture vertical center or top aligned in a longtable cell with the text. Somehow it aligns on the bottom baseline: I am trying to get them to all top align. Simplified ...
Dirk-Willem van Gulik's user avatar
1 vote
2 answers
42 views

Longtable: White stripes in colored multirow cell

My problem comes whenever I create a longtable using this page: https://www.tablesgenerator.com/ and paste it into Overleaf. Most of it comes out well but in this case, a thin white/uncolored stripe ...
Alquídreo's user avatar
0 votes
0 answers
22 views

longtable overfull \hbox with S column and shifted text

I'm working on a longtable environment and already had a few suggestions on how to improve it an fix few issues. Now, I moved on and populated the table but I'm gettin an Overfull \hbox warning ...
Matteo's user avatar
  • 307
0 votes
2 answers
37 views

LaTeX table - Multirow Issues

I'm not very familiar with LaTeX and I'm having issues formatting a table. I'm using longtable and mulitrow, and the following portion of code is causing issues: REQ-015 & \multirow{1}{=}{Verified ...
tmcg's user avatar
  • 1
2 votes
2 answers
70 views

decrease table wrapped text spacing

I was working on some tables and thought about having the text for the leftmost index wrapped on two lines. However, I wish to have the linespacing for cells with text wrapped – Connected components ...
Matteo's user avatar
  • 307
2 votes
1 answer
79 views

advice and suggestions for table styles

Hi there I'm working on my thesis and looking for the best way possible to present tabular data. I don't have much experience with LaTex, hence, I though to seek for some ideas and hits on how to do ...
Matteo's user avatar
  • 307
0 votes
0 answers
17 views

Longtable border disappears and wrapping text in it

\documentclass[12pt] {article} \usepackage{multirow} \usepackage{longtable} \begin{document} \begin{longtable}{|c|c|c|c|} \hline \multicolumn{2}{c}{Conversion}\vline &\...
Manjoy Das's user avatar
2 votes
2 answers
148 views

Multicolumn & Multirow leads to an unwanted vertical line

What I wanted to get: What I'm getting: Minimum Working Example: \begin{longtable}{ | l | p{7cm} | l | p{6.5cm} | } \hline \multicolumn{2}{|c|}{\multirow{2}{*}{Índice}} & \multicolumn{2}{|c|}{...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
1 vote
1 answer
27 views

beamer frame label option prevents longtable table to split and shows only the first frame of the longtable

I am using longtable in beamer. I also need to \ref the frame where the longtable starts (to split on the successive frames). I used the label={} optional argument for the frame environment. ...
Arne's user avatar
  • 1,315
0 votes
1 answer
96 views

Longtable alternatives

I have a number of problems with this table. (1) Presently it does not span two pages, I'm aware I need to use the longtable package but I am aware there is a problem with this in the APA7 document ...
Dylan's user avatar
  • 3
1 vote
2 answers
76 views

Vertically align advanced longtable on only one cell on a specific column and row

I'm trying to develop a bit complex LaTeX longtable I already achieved most of it but I wanted to know besides the help that I want if what I'm doing is the best way or if there isn't a simpler or a ...
biscoito's user avatar
0 votes
0 answers
30 views

Making Minipages Breakable in Activity Report Template

I'm currently working on a report template where I use a table with minipages to represent tickets along with their descriptions. The minipage is utilized for the descriptions so that the ticket and ...
Immersion's user avatar
1 vote
1 answer
34 views

How to remove top and bottom whitespace of longtblr?

Similarly to How to remove top and bottom whitespace of longtable?, I would like to know how to remove top and bottom whitespace of longtblr, i.e. the whitespace between the text (both before and ...
Ommo's user avatar
  • 849
0 votes
0 answers
18 views

In a 2-column document, how to use "longtable" to create a long table that goes to other pages, but still on the same column?

I have a document with two uneven columns, and, in one of the two columns I have a long table. I have used longtblr to create the long table. However, would it be possible to use longtable, instead of ...
Ommo's user avatar
  • 849
1 vote
0 answers
118 views

Align columns in multiple tables - again

I want to align the columns of multiple longtables. David Carlisle already provided a solution over a decade ago, but it is not working (any longer), if the last table is narrower than the first one. \...
Pygmalion's user avatar
  • 6,309
0 votes
0 answers
16 views

How to reduce long table contents text size [duplicate]

I have created the following table for Overleaf. However, I want to use the \tiny or \scriptsize because this table spans several pages. I must also maintain the color scheme. I have tried numerous ...
Waseem's user avatar
  • 97
0 votes
0 answers
28 views

How to reduce long table contents text size

I have created the following table for Overleaf. However, I want to use the \tiny or \scriptsize because this table spans several pages. I must also maintain the color scheme. I have tried numerous ...
Waseem's user avatar
  • 97
0 votes
1 answer
51 views

With a wide longtable, how do I rotate the pages of the table to landscape with the page numbers still at the bottom of the page?

I have a similar question to this one asked a few years ago: single landscape page with page number at the bottom? Unfortunately the solution shown in that question doesn't seem to work any longer due ...
Char19's user avatar
  • 15
3 votes
1 answer
81 views

I have to generate a table that has paragraphs, however, the text overflows the margins of the page

I have to generate a table that has paragraphs, however, the text overflows the margins of the page. I just need the text to break onto the next page. I appreciate the help. This the code I am using: \...
Stephanie Solís's user avatar
2 votes
2 answers
102 views

Vertical alignment (centering) not working (multirow, longtable, booktabs)

I am having an issue that I cannot resolve, even after searching online, I apologize as I'm fairly new to Latex and this is basically my first table (which needs to span over multiple pages). As you ...
Mr42's user avatar
  • 23
1 vote
0 answers
24 views

Cannot use \cite in longtable in tufte-book class

I am trying to use \cite inside longtable environment in tufte-book class but for some reason it doesn't work and behaves strangely. Using \cite in longtable gives several errors including Missing ...
SolidMark's user avatar
  • 1,419
0 votes
1 answer
27 views

Vertical alignment to the top of the cell in longtable

I went through many of advices here, but I still have problem with the alignment of my longtable. I have this longtable: \begin{flushleft} \begin{longtable}[l]{p{10cm} l@{}} 30 \% akrylamidový ...
Klaudia Hladoníková's user avatar
2 votes
1 answer
104 views

Formatting 30 columns table - table header over multipages

I'm trying to build a big latex table. The table has 30 columns. I use \longtable in latex in this code for the table that I'm presenting to you. Can anyone help me reproduce the large table as in the ...
emile nana's user avatar
0 votes
0 answers
42 views

How to collapse a column in a longtable?

There are various solutions to hide (not collapse) columns in tables, but not collapse. However, in a longtable they do not work. Is there an other way to have tables spanning multiple pages neatly, ...
Erik's user avatar
  • 167
0 votes
1 answer
48 views

Clash of xcolor and colortbl over a longtable

The longtable below produces the following error: ! Undefined control sequence. \adl@@cr ...tempdima \xdef \adl@rowsL {\adl@rowsL (\adl@colsL /\...
Jelenak's user avatar
0 votes
0 answers
25 views

\longtable column is too wide. Why?

why is the second column too wide (cmidrule?)? What can I do about it? \documentclass[11pt,a4paper]{article} \usepackage{makecell} \usepackage[utf8]{inputenc} \usepackage[left=1.3cm,right=1.3cm,top=1....
Erik's user avatar
  • 167
1 vote
1 answer
63 views

How to have longer (3-4 Pages) and wider tables in Latex

I have following data Shahrawat, R., and Rao, K. D. & 2012& Insured yet vulnerable: Out-of-pocket payments and India’s poor& All ages& 2004-05& 124644& All Diseases&...
siri's user avatar
  • 37
0 votes
1 answer
54 views

how to specify line width and line color in longtable environment

In longtable environment (as i need to span the table over multiple pages). How to change specific table line color and line width ? for example, i am using this code, but the green line is exeeding ...
ssyakajam's user avatar
0 votes
1 answer
44 views

Column designator X with topiclongtable

I want to build a topic table in a LaTeX document, and the package topiclongtable seems to be apropriate for that, except that it does not accept the column designator X from the tabularx package. ...
Romildo's user avatar
  • 4,093
0 votes
2 answers
62 views

Longtable line thickness

I have a problem with the longtable line thickness. The header row left vertical line thickness is wrong. Unfortunately, I am not able to upload the screenshot due to the Imgur server error ("...
ab3001's user avatar
  • 63
3 votes
1 answer
81 views

longtable formatting issue. How to remove extra vertical dashes on the side when table cross page

When I run this MWE \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{xcolor} \usepackage{hyperref} \usepackage{longtable} \usepackage{pifont} %http : // ctan.org/pkg/pifont \newcommand{\...
Nasser's user avatar
  • 20.3k

1
2 3 4 5
52