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

learn more… | top users | synonyms

0
votes
1answer
186 views

Problem with `longtabu` package not doing pagebreak

I wanted to insert some text in my longtabu table and was surprised that I don't get a pagebreak and the whole text is on the second page. The table doesn't even break the page on the second page. ...
1
vote
1answer
2k views

IEEEtran, longtable, switch to one column mode for the appendix

I've this very long table to put in the appendix of a 2 column, IEEEtran conference paper. I'm trying to use longtable, but apparently longtable has to be used in one column mode only. Is there a way ...
1
vote
1answer
44 views

I am getting error with my longtable when I use footnotes

Here is the code: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{booktabs,caption,fixltx2e} \usepackage{threeparttable} \usepackage[fleqn]{mathtools} \usepackage{float} ...
1
vote
1answer
469 views

An error using of tablenotes in longtable

I am trying to compile a longtable with table notes, but I am getting an error with the codes below: \begin{landscape} \thispagestyle{empty} \begin{threeparttable} ...
1
vote
1answer
97 views

What is wrong with my long table code?

I got the code for the table from excel2latex tool, then I noticed about I need \longtable package. After adding the longtable to table environment my code is giving error: \begin{landscape} ...
3
votes
2answers
114 views

remove white line with multicol in longtable

I've got in a longtable with one column split into two by multicol. Somehow multicol adds a white line before starting with the text. My MWE: \documentclass{article} \usepackage{longtable} ...
1
vote
0answers
86 views

Longtable strange formatting with macro in paragraph cell [closed]

I got an unexpected behaviour with a longtable in combination with a macro. I process a string using a macro and output the result in a paragraph cell of a longtable. In the output I see a strange ...
3
votes
1answer
307 views

Latex: Longtable always starts in a new page leaving the previous page nearly empty (IEEE format )

Im new to using LaTeX. I am writing a Longtable that spread across 2 pages. But LaTeX always adds starts the table in a new page and so I end up with a long break in the previous page. Same thing ...
1
vote
1answer
196 views

Can not force \newline within \longtable

\begin{table}[htbp] \begin{tabular}{p{3cm}|p{1.5cm}|p{8cm}} A \newline B & C \newline D & E \\ \end{tabular} I tried creating a table as shown in the above MWE, the table is longer than 1 ...
7
votes
2answers
178 views

Line down the side of the page

At the moment I'm using the {tabular} environment to distinguish examples in a document I'm writing: \begin{tabular}{r|p{11cm}} \emph{Example} & [Lots of text and equations] \end{tabular} It ...
3
votes
2answers
195 views

One verbatim column in pgfplotstable and a non-verbatim header

I wanted to create a pgfplotstable in which one column would be treated as verbatim. I first tried to straightforwardly use \verb but I almost expected this to fail spectacularly and it did. I found ...
2
votes
1answer
213 views

longtabu with multicols?

I want to place a very long table into my document, i.e. a table which spans multiple pages. The table has a rather narrow width, so it should be set in multicolumn mode (2 or 3 columns). The text ...
6
votes
2answers
453 views

longtable in beamer environment (lacks headers/footers)

In Beamer, I wish to use the longtable package to break up tables across multiple frames automatically. I am aware of the xtab package, which works fine in Beamer, but I prefer longtable as it is the ...
5
votes
1answer
102 views

How to implement the macros style with mixed chars and floats in a csv file?

I would like to implement macros to generate multiple tables in a document. Some inspiration comes from here: usage-of-longtable-or-equivalent-and-pgfplotstabletypeset The input csv file and ...
3
votes
1answer
74 views

Longtable vertical placement

I'm fighting with Google. I have a longtable with manual breaks, so in every page there is an empty space after the table, I want to vertically center the longtable. How can I do that?
3
votes
1answer
72 views

Different alignment in one column of longtable

I have a longtable with this row \begin{center} \renewcommand{\arraystretch}{1.75} \begin{longtable}{c|c|c} ... $x^\alpha$ & $\frac{x^{\alpha+1}}{\alpha+1}+c$ & ...
3
votes
1answer
47 views

When using the 'longtable' package, how can I have the table title on the second page indicate that it's a continuation from the previous page?

\documentclass[letterpaper]{article} \usepackage{longtable} % Longtable package \usepackage[margin=1in]{geometry} % Margins \usepackage{booktabs} % Nicer horizontal lines ...
4
votes
2answers
64 views

Forcing case in table

I was wondering if it was possible to force the case for a specific column in a table? Let's say the 3rd column of the following table to be lowercase. \documentclass[10pt,a4paper]{article} ...
2
votes
1answer
89 views

Column format in longtable

I'm using longtable and I was wondering if there was a possibility to set font format for 1 specific column. For example, I would like to have the forth column in italic. \begin{longtable}[1]{llllrr} ...
2
votes
1answer
89 views

Long table with tiny sized for columns gives misaligned headers

This code gives me misaligned headers. Any idea how to fix it? \documentclass{article} \usepackage{longtable} \usepackage{array} \begin{document} \begin{center} ...
9
votes
2answers
162 views

Boldfacing an entire row in a longtable environment

I have a really long \longtable - some 150 rows. I need to make certain rows (~80 of them) boldface and leave the other ones normal. But just putting {\bf a & b & ... & z} \\ causes an ...
7
votes
1answer
318 views

\usepackage[group-separator={,}]{siunitx} Not working with longtable?

I have a table with very long counts (in the millions), so I would like to add commas. I have tried to use siunitx in a variety of ways in the preamble: \usepackage[group-separator={,}]{siunitx} ...
1
vote
1answer
73 views

How can I position long tables at multicolumn

I am trying to print two long table which are can't be fit into one page side to side at multicolumns. The problem is whenever realize the table which is continuing along pages with longtable and ...
3
votes
1answer
435 views

Caption spacing - table vs longtable

if I use both table and longtable in one document, the spacing between the caption and the table (the empty space after the caption) is different for table and longtable. I would prefer minimal (and ...
2
votes
0answers
307 views

change Linespread in longtable and table

In my document i am using a \linespread{1.5} for the whole document, but I would like to have a \linespread{1} for tables and long tables. How can I change it?
2
votes
2answers
93 views

Using seqsplit with multicolumn

I want to create a longtable with headers centered, columns left or right aligned. Thanks to my previous question: Right aligning two columns next to each other in longtable and its great answer, I've ...
5
votes
2answers
152 views

Is the longtable enviroment limited? I have a several pages long table

I am writing a long table with several complex things inside. When I realized I needed a multiple page table I tried to change table to longtable, but it just gives me a lot of errors. How can I ...
2
votes
1answer
183 views

Right aligning two columns next to each other in longtable

Reading this other thread, I found how to right align a column in longtable. However if I want to right align two columns that are next to each other: ...
5
votes
2answers
127 views

Setting widths in a longtable not working

I want to create a longtable that spans several pages, with column widths set to cms by me: \documentclass[12pt]{article} \usepackage{longtable} \usepackage{seqsplit} ...
4
votes
2answers
601 views

Longtable with multicolumn and parbox spacing issues

I've been trying to build a "complex" table of a certain size but I still have some problems with the spacing. As you can see in the attached pictures, some lines overlap the table row dividers, other ...
3
votes
1answer
160 views

using TikZ with multipage table

I am using tikz files to insert figures . I would like to add 3 figures one after the other with the same figure caption: I use this code: the problem is that the last figure is at the bottom of the ...
6
votes
1answer
187 views

Strange vertical space before the caption of a longtable with KOMA-Script classes when xcolor is loaded

When using one of the main KOMA-Script classes — scrartcl, scrreprt, scrbook but not scrlttr2 —, the vertical position of the caption in a longtable environment changes when one loads or unloads the ...
2
votes
1answer
167 views

Longtable and multicolumn

I've been having some issues with the longtable package. I'm creating a table for some UML Case Details but there must be something that I cannot find which is continuously giving me an error ...
0
votes
1answer
100 views

Remove header in a3 pages inside a4 doc

I have a longtable in a3 pages within an a4 document. I want to remove the headers since these pages are going to be one sided and the header is for a two sided document. I have tried different things ...
2
votes
2answers
255 views

Code listing spanning multiple pages with captions at top

Is it possible to span a lstlisting environment or lstlistinginput on multiple pages, such that the caption is repeated on each page (the listing counter stays the same), as well as being able to ...
1
vote
0answers
168 views

Problem with Longtable \endfoot in wrong place [closed]

thank you all in advance for any help you can give me with this problem... I'm using longtable to split a couple of tables over several pages - these will be in the appendix of my thesis... my ...
5
votes
1answer
241 views

Keeping two rows on one page using longtable

I am creating a longtable which spreads over multiple pages. The problem is that the coefficients and standard errors which are in two consequential rows sometimes get separated. How to I hold those ...
5
votes
2answers
183 views

Different caption alignment on different longtable pages

I'm using longtabu(longtable) for splitting a table on 2 and more pages, and i want to show different captions on pages. This works fine, however i need the first caption to be aligned left, and the ...
2
votes
0answers
83 views

How to make a doublesided longtable with a doublesided header?

I'm currently struggeling to extend a onesided longtable with fixed column widths to a double-sided layout (where the position of the columns changes depending on even/odd pages). My current approach ...
1
vote
1answer
183 views

Problem with landscape table layout following a normal table in a document

I have landscape tables which span multiple pages and are laid out as three part tables with a notes section at the bottom. The landscape tables in the document are fine at the beginning of the ...
2
votes
2answers
287 views

Table captions continued

I am writing an article which has a long table with many rows. I would like to divide this table for multiple pages but I can not change the captions of these tables like "Table 1: Blablabla" and for ...
8
votes
1answer
399 views

Vertical spaces above and below longtabu

This is, in a way, a follow-up-question to New table-environment, spaces and enclosing { } in a new environment, which has already been answered conveniently by @egreg. Please compile this MWE to ...
6
votes
1answer
109 views

How to remove the white space on the top of the following table?

How to remove the white space on the top of the following table? \documentclass[preview,border=0pt,varwidth]{standalone} \usepackage[table]{xcolor} \usepackage{array} \usepackage{longtable} ...
2
votes
1answer
81 views

specifying a longtable not to split

I am using longtable in my report as I have many tables that are longer than a page. To make it consistent, I am using longtable for all the tables. Many times because of page settings, a small table ...
3
votes
3answers
1k views

Itemize inside longtable

I have the following (Non-working) example. \renewcommand*{\arraystretch}{1.8} \begin{longtable}{lcl} \caption{Summary of proven determinants for falling}\\ \toprule ...
2
votes
1answer
301 views

Vertical alignment of table rows with images. PDF vs. HTML generated by htlatex

I have a table with 2 columns. Left column is text and the right column has an image. I wanted the row to be aligned at the top. So that the text and the image start at the same horizontal level. ...
2
votes
1answer
75 views

longtable on dedicated tables page

I have written a document that includes many tables, so I have chosen to place all tables at the end of the document, invoked via the [p] option in the table environment. I now have to include a long ...
4
votes
1answer
63 views

Longtable monospace font

How do I format all the text in a longtable to monospace. Adding \texttt{ before or after the \begin{longtable} and a } at the end gives me a Runaway argument? { \begin {longtable}{lll} ! Paragraph ...
0
votes
1answer
108 views

How can i convert the tabular into longtable [duplicate]

I have this report and i can be as long as 40 pages. My current setting is cutting it on one page only. I am very new to latex and i am just copy pasting from internet. If you guys can fix that. ...
6
votes
1answer
346 views

Differences between longtable and xtab

I have a pretty simple table that needs to span multiple pages. This seems like a job for either the supertabular/xtab package or the longtable package. The voting on the answers to this question ...