{longtable} is a package for making tables that can be broken across pages.

learn more… | top users | synonyms

2
votes
2answers
70 views

Lots of text in one table cell

I need to place lots of text in one table cell. I tried to use longtable, but it seems to work, say, only on a row basis and gives terrible result in case when one row isn't fit in a page. Something ...
2
votes
1answer
35 views

How to combine ‘float’ and ‘longtable’ packages functionality

I want to use exact placement for my table. As I read on SO it can be done with [H] option for table environment provided by ‘float’ package. But this doesn't seem to work with longtable which I have ...
4
votes
1answer
36 views

How to use Spanish Unicode characters while wrapping text in a longtabu cell

Some time ago i referred to this stack exchange to solve the problem of wrapping long text in a longtabu cell. The provided solution worked, but now my requirements have changed to having to be able ...
11
votes
2answers
632 views

Longtable: page breaks within row possible?

I am editing a longtable. Some of my cells contain a lot of text. Page breaks seem to happen only where table rows end/begin. I'd like, however, for the rows to span pages; it's fine with me if, for ...
3
votes
1answer
74 views

how to make longtable continue a long row to next page?

I have a long table of 4 rows. I'd like help to make the table look better. (based on comments, this is not possible to do using longtable. Is there a different table environment or package I can use ...
3
votes
2answers
40 views

Problem with 'longtable' and the width of the table

I'm using the package longtable to define a table in two pages but it has too much width when I write long text in a cell that fills until the border of the page and doesn´t have room for all the ...
0
votes
0answers
13 views

How to combine bigdelim and alternate row coloring inside a longtable in LyX? [duplicate]

It seems that it's quite a conflict to use some big (multirow) delimiter (bigdelim) and applying alternate row coloring inside a longtable at the same time (using LyX). The following example ...
4
votes
3answers
166 views

Table environment that can break inside a cell

I am wondering if there is an environment for creating a table in LaTeX that will not only break at \hline, but instead can break in the middle of a cell. I have to write very long reports in one ...
1
vote
1answer
20 views

Longtable: Double header caused by a page break in front of the table

when i place a longtable at the bottom of the page a page break occurs and the table starts at the next page. This is absolutely correct and the expected behaviour. But instead of the first header i ...
5
votes
1answer
36 views

Using longtable inside xparse \NewDocumentEnvironment

I am trying to create a wrapper for the longtable environment and it works fine with the standard \newenvironment command. Now I want to use \NewDocumentEnvironment from the xparse package to allow ...
0
votes
0answers
30 views

Longtable captions do not wrap inside threeparttable environment

I'm using the threeparttable package to automatically wrap my captions to table width. However, I occasionally need to use longtable to split a table across multiple pages. When I do so, the caption ...
1
vote
1answer
36 views

Caption appears with ugly head at end of longtable

I want to put a lengthy caption at the end of a table, and, as currently formatted, the caption doesn't fit on the page with the last row of the table. The result is a rather ugly header on the last ...
2
votes
1answer
23 views

Using longtabu with multicolumn produces errors sometimes

I have a document which uses the longtable package as well as \multicolumn to have certain cells which span multiple columns. This seems to work just fine: \documentclass[10pt]{report} ...
1
vote
0answers
27 views

Row-wise and Column-wise break of extra wide tables, and add a proper label

There is a question "Column-wise break of extra wide tables" Column-wise break of extra wide tables and a very useful answer to it. \documentclass[twoside]{article} \usepackage[latin1]{inputenc} ...
0
votes
1answer
137 views

Adjusting longtable fontsize in latex

I am not very good at Latex. I have to write a table spanning multiple pages. The following code produces the a table exactly the way i want, however it reduces the font size. If i do not use the ...
0
votes
0answers
50 views

Command \longtable* already defined

When I compiling latex the following error occurred. Can any one help on this? ! LaTeX Error: Command \longtable* already defined. Or name \end... illegal, see p.192 of the manual. ...
7
votes
3answers
864 views

datatool with longtable

I have a CSV file that has many rows. I want to typeset these rows into a table using longtable and datatool package. However just before before the "lastfoot" (which says concluded) I am getting ...
0
votes
0answers
20 views

How to prevent longtable to put header alone in one page

How to prevent longtable to put header alone in one page like in image below. I used endhead to prevent this but this will print the header on each page. Sorry I don't give MWE because I haven't ...
1
vote
2answers
51 views

How to split a long table into pages with multicolumn in each page?

I have a very long table (64 rows) with 14 columns. I split it with lontable package, but it keeps error for multicolumn syntax. Any suggestion please? part of the table is here: And I couldn't ...
2
votes
2answers
25 views

Table column partially colored and how to vertically center text inside table

I have this MWE: \documentclass[a4paper,12pt]{article} \usepackage{color} \usepackage{colortbl} \usepackage{longtable} \usepackage{tabularx} \usepackage[table]{xcolor} \usepackage{multirow} ...
1
vote
0answers
27 views

longtable counter

please forgive me if this has already been answered, but i could not seem to find a resolution on any of the boards. i have a longtable that spans multiple pages. I would like to add a footnote at ...
1
vote
1answer
18 views

Longtable LoT 'Table' caption

I am writing my master thesis using the provided styles by the faculty. Some of my tables were too long, so I used longtable package. However, in list of tables, tables created with longtable don't ...
0
votes
1answer
25 views

Longtable in two pages

I have a table over two pages. Every question of my table is separated with \miderule. However one question is quite long. I want this to span over two pages but because I structured it with midrule ...
5
votes
1answer
54 views

How to generate a “<section>-continued” heading after page-break which works with longtable?

I have read the question and answers about the "-continued" heading. The code given in the answers doesn't help me. Thats why I am posting a follow-up-question here. I want to re-display the ...
6
votes
2answers
50 views

Prevent page break after \midrule in \longtable

I'm trying to tell longtable to only issue a page break at one specific point (by using \\*. Putting a \midrule anywhere near that point causes a page break after the midrule, and not where I want it ...
1
vote
1answer
98 views

Really big table troubles

I have a really big problem here. I have to insert a big table in a document. No matter how I tried to make it smaller, my boss does not want it to be changed. He made it using word, and I have to ...
1
vote
0answers
35 views

Longtabe + multirow + page break

I have with longtabu and multirow. Latex does not display them properly in a page break. \begin{longtabu}{| X[2,l] | X[2,l] | X[2,l] |} \captionsetuptableBegin \caption{Main Objects} ...
0
votes
1answer
66 views

hyperref for longtable jumps to first page of PDF [closed]

I have have longtable in my document, but when I click the caption name in the list of tables, or any reference to the table (using \ref{tab:table label}) it takes me to the first page of the document ...
2
votes
2answers
47 views

Long table to fit on 2 pages

In a middle of a page I have a long table with a lot of maths formulas and I would like to make it fit on 2 pages automatically. Here the code : \documentclass[11pt, a4paper]{article} ...
2
votes
1answer
49 views

longtable: alternating column names/splitting wide table across pages

Need to split some wide tables across multiple pages using longtable. The code below provides an example of what I’m trying to do. Some of the column names need to vary by page. Specifically, ...
3
votes
2answers
43 views

Moving a table all the way to the left side of the Page

I'm having trouble with a table I have made. It is too long and goes off of the page to the right. I have already made the font smaller and made the page landscape. What I need to do is have the ...
3
votes
3answers
2k views

Longtables and caption: spacing problem

I have been using the \longtable environment and I have an issue with the captions. All captions appear at the bottom of each part of the table, which is the result I wanted. However, there is a quite ...
2
votes
1answer
47 views

How to color a single cell in a longtable [duplicate]

We are using XeLaTeX and the longtable package to visualize information, one of those reports must have a colored cell. A single cell, not the entire row. An example output is here: Is there a way ...
3
votes
1answer
32 views

Automating hline in longtable spanning many pages

Typesetting a document with lots of multipage longtables, How is it possible to automate a \hline at end of page. \documentclass[12pt]{article} ...
2
votes
2answers
169 views

How to make a wide longtable fit on page?

I'm new to LaTeX, and copied over a table from Excel into TeXShop (mac) using the macro. I set it as a longtable because it spans two pages, but with regard to width, the table isn't fitting. Also, ...
3
votes
1answer
89 views

Write an extremely wide equation in LaTeX

How do you write an extremely wide equation in LaTeX without any type of breaks/align/. Do you need a special type of class? Can one use A3 or bigger format? It's not for printing rather just to ...
1
vote
2answers
77 views

Different vertical alignment with multirow

I have longtable with multirow: \documentclass[a4paper,12pt]{report} \usepackage{multirow} \usepackage{longtable} \usepackage{makecell,array} \begin{document} { ...
6
votes
2answers
110 views

Long text in multirow

I have long text in a multirow cell. And the text takes more rows than the rows in the second column. \documentclass[a4paper,12pt]{report} \usepackage{multirow} \usepackage{longtable} ...
3
votes
2answers
75 views

Rotated multipage table at start of chapter

I'm working on an article in which I have to put a large and wide table. This table is directly at the start of a new chapter. Because it is very wide, I want to rotate this table (or use it in a ...
0
votes
2answers
71 views

Longtable & siunitx

So this is the first time I am attempting to use the longtable package and for some reason, I can't even get MWE to run - Pdflatex gets stuck after loading the booktabs package. I honestly can't see ...
5
votes
1answer
117 views

Vertically align individual cells in a table

I am wanting the ability to vertically align any cell within a table. This appears possible but only on a per column or row basis. At the moment I can horizontally align the contents of individual ...
4
votes
1answer
57 views

Caption of table is too small and does not align with other captions of tables

I am making a paper and for one table I have to use the longtable package, after struggling a lot I am almost done with this table. One problem left, the caption does/header of the table is too small ...
3
votes
1answer
71 views

Caption in the outer margin using longtable within a tufte-latex document

The tufte-latex class has a page layout with a wide margin on the side; the class redefines the figure and table environments so that the captions are put in the margin, side to side with the floating ...
1
vote
0answers
54 views

Longtabu, \tabucline placed on wrong page

See the following longtabu axample: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{tabu} \usepackage{lipsum} \begin{document} \tabulinesep=1.5mm % <---- ...
2
votes
2answers
54 views

Displaying caption of a long table on multiple pages

I'm trying to display a table on three pages. What's the best way to display captions on these three pages and how to do that, please? \documentclass{report} \usepackage{longtable} \begin{document} ...
2
votes
1answer
129 views

Split lines, keep a table/aligned text within textwidth and span several pages

I have a very long table that I use to align some text, therefore I don't need it to be (specifically) a table (please consider that in the answers). I am using supertabular for the table to span ...
2
votes
1answer
67 views

In list of tables,longtable caption repeats equal to the number of pages occupied by a long table

In list of tables,longtable caption repeats equal to the number of pages occupied by a long table. i only want to show the caption and pagne number once for a whole long table.
2
votes
1answer
44 views

Using a fp variable in a longtabu header

So, I am using the tabu package (which I need to use over tabular others for several reasons) to make a long table spanning several pages. This table contains currency amounts in a column, and I'd ...
2
votes
2answers
70 views

Is it possible to pagebreak a longtable if the next “n” amount of rows won't fit on page?

I want to produce a longtable where some "elements" consist of multiple rows (see picture). I want the longtable to pagebreak if the next element doesn't fit in the table. Is there a way to tell ...
0
votes
1answer
93 views

Creating a table fitting one column of a two column style page

I want to create a table, in a two column style page (IEEEtran) but I want the table to fit only one of the columns. The table which I make is exceeding the single column width of the page. Please ...