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

learn more… | top users | synonyms

0
votes
1answer
29 views

Table shifted to right + bottom - cannot begin table from top of page and left margin

I wanted to check if Latex is an option for outputting nicely readable large tables in genetic papers. Well, I'm still hesitating if I should go along and invest more time in experimenting with it. ...
2
votes
2answers
107 views

Longtable doesn't fit page size

I have a longtable and it doesn't fit the page size. How to fix it? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % Включаем пакет для поддержки русского ...
2
votes
1answer
40 views

How to merge cells in longtable?

I need to create a table which looks like this using longtable : How to create 5th column correctly? Code which I have right now: \documentclass[12pt]{article} ...
0
votes
3answers
31 views

Table row placement in case of linebreaks

I have a table with three columns which include a description, a short abbreviation, and a value. The description might be a very long entry, so I use the p columntype to break the lines ...
2
votes
1answer
53 views

How to modify the layout of a longtable using pgfplotstable

In order to prepare a long series of industrial reports containing complicated long tables, I am combining samples of code I have found on the site, and this looks promising. In my field, cells need ...
1
vote
0answers
54 views

Geometry: strange behaviour after \restoregeometry in afterpage environment (and longtable)

I have some strange problem tying place a "fake float" with large tables. Here is a MWE: \documentclass[twoside, a4paper]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
1answer
55 views

How to avoid ltablex from splitting a table?

I'm using the ltablex package because I have some large tables which have to splitted on multiple pages. But I have much more small tables (with tabularx), which don't need to be splitted. But they ...
2
votes
0answers
34 views

Big space between longtable/longtabu and the preceeding section header

If I add a longtable or longtabu environment directly after a \section command a very big space is set between the header and the table. In case of the second example where some text is in between ...
1
vote
0answers
19 views

Spanning a table horizontally over pages without rotation or using landscape

I have a very wide table, which I like it to span horizontally through pages. \documentclass[runnngheads]{book} \usepackage{longtable} \begin{document} \begin{longtable}{*{25}c} ...
0
votes
2answers
28 views

Linebreak in a longtable

I use the longtable package to create a table that covers multiple pages, but the problem is that the linebreake does not function correctly.This is my code: \documentclass[12pt]{article} ...
0
votes
1answer
12 views

multicolumn doesn't count columns property in pgfplotstable

Consider the following MWE where I would expect the multicolumn to span the number of columns in the pgfplotstable/longtable combination. \multicolumn{\pgfplotstablecols}{r}{{\small\tablename\ ...
0
votes
2answers
228 views

How to generate a table as below?

I try to generate a table like this using {longtable} and {supertabular} but failed. Anybody can help? \documentclass{article} \begin{document} \begin{supertabular}{|c|c|c|c|c|} ...
4
votes
1answer
43 views

Cut an email if the string size is upper than a value

I've a really long document that I generat with a python script. A big part of the doc uses longtable with an email adress: \begin{longtable}{p{0.3\linewidth}p{0.3\linewidth}p{0.3\linewidth}} value ...
0
votes
2answers
29 views

pgfplotstable and longtable table counter problem/caption positioning [duplicate]

Consider the following MWE which uses pgfplotstable and longtable to output some csv file content. The table counter are incrementet twice for each table added. Why? ...
0
votes
0answers
27 views

Longtable not split across multiple pages [duplicate]

I took inspiration from Make a table span multiple pages to create the following table: Gist: https://gist.github.com/orschiro/8bef30b180c2d3f493dc (I had to paste it into a public Gist as the code ...
1
vote
0answers
73 views

Lines on the right

I'd like to have vertical lines on the right of my documents (to indicate what the references for that part are). I've tried doing it with a longtable containing my whole document (in the left column, ...
0
votes
1answer
115 views

Tablespecification and complex column

Based on 2 former questions I have found another problem, I am not aware about that this could be a problem. Question 1: Conditional complex column type Question 2: Generic table definitions But I ...
1
vote
1answer
51 views

How to define caption width in longtable?

I have a longtable within a landscape environment. Not sure the landscape is relevant but ... \begin{landscape} \begin{longtable}{lll} \caption{bla bla bla long ...} table & table & table ...
1
vote
0answers
41 views

Using longtable with reledmac and rledpar

My system is XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). I am typesetting a facing page bilingual edition of the Bhagavad-Gita. Left pages would be original Sanskrit text followed by ...
0
votes
0answers
27 views

Extra page appended after long table even if it fits on one page

I'm new to LaTeX, but have greatly enjoyed the ability to create custom PDFs using pdflatex. I'm currently generating a report with several longtables. If the longtables fit on one page, however, it ...
0
votes
0answers
43 views

Extra large row longtable in tcolorbox

I use longtable into a tcolorbox to spread it on multipage. I manage to do it but, I think that there is a best way for the size calculation : p{\linewidth-55mm-6\tabcolsep}} I want to know if ...
1
vote
0answers
28 views

change line spacing/spanning in table within multirow

I usually use \begin{spacing}{x} to change the line spacing in the text, however, it does not work in the header of longtable, is there any solution? Another question is that, I use |m{16pt} @array ...
2
votes
2answers
55 views

Longtable and List of Tables - How to add “Table” before numeration?

Im using a template for my Msc thesis and everything was ok, until I used the longtable, to create tables in multiple pages. When I use the normal TABLE, the caption appear like this in the LIST OF ...
4
votes
1answer
66 views

How to get a footer line in a longtable

I'm trying to do this \documentclass{article} \usepackage{longtable} \title{A longtable example} \begin{document} \begin{longtable}[h!]{|c|| c|| c|| c|| c|| c|| c|} \hline \hline {Data} & ...
2
votes
1answer
37 views

Longtable: Variable or switch to determine if row is the first or last one of the current page

I am currently struggling with the longtable package and horizontal lines that should visually separate rows. The thing is that I do not want to display bottom lines on the last row of each particular ...
1
vote
1answer
34 views

Landscape longtable does not break

I am trying to fit a long table in multiple landscape pages by using longtable, and I would like it to break between columns (here I reduced its number of rows for simplicity): ...
3
votes
1answer
82 views

Longtable problem

I am still struggling with my tables. My new problem is that I have a long table that should be split on more pages. I am trying to use the package longtable. The code I wrote so far is: ...
2
votes
1answer
94 views

How to remove cell padding in longtable environment?

I have a table that spans multiple pages. So naturally I used the longtable environment in the landscape mode. The table works fine but output has large amount of vertical cell padding and sometimes ...
2
votes
0answers
60 views

Longtable in landscape format

I am writing my PhD thesis and I have the following problem: I use \documentclass[12pt, a4paper, titlepage]{book} \usepackage{lscape} \usepackage{longtable} In Appendix, I need to switch to the ...
0
votes
2answers
83 views

topsep not working for itemize in longtable environment

My CV uses longtable for each "experience" block, so for example "Work Experience" is one longtable, "Research Experience" is another. I now need to write a few lines of description to elaborate on ...
3
votes
1answer
52 views

Bottomrule not working in a self-made environment 2

I'm making a table with threeparttablex and longtable packages. When I use caption, I get an error with \hline and \thead commands. So, I had to disable the three following lines. But I need these ...
1
vote
0answers
43 views

How does a new blank frame come out after inserting a longtable

\begin{frame}[allowframebreaks=1]{result} \begin{table}[H] \centering \begin{longtable}{rlr} \toprule classifier & preprocess & error rate(\%) \\ \midrule LMS & ...
2
votes
2answers
63 views

Bicaption for longtables doesn't work

I'm trying to use bicaption for longtable, but I get this error: ! Misplaced \noalign. \caption ->\noalign \bgroup \@ifnextchar [{\egroup \LT@c@ption \@firstofone ... l.26 ...
0
votes
1answer
51 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} ...
4
votes
2answers
85 views

Longtable spacing: \LTpre and \LTpost don't seem to work, boldface adds extra space

I use XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). I am typesetting a book with lots of sloppypar with longtables. I followed this thread to use \LTpre and \LTpost to reduce spacing ...
4
votes
2answers
76 views

LaTeX: Forcing a very wide longtable to fit textwidth

All, Having been through everything I can find here and trying all of them - I'm still stuck. I have a very wide multipage landscape table that I want to throw in a thesis appendix. I just can't ...
1
vote
1answer
75 views

Auto-linebreak in table - tabular/longtable

I have the following longtable where i want the third column to do an auto-linebreak, instead of me having to do it forced. Is there any way to do this? This is a image of how the long table looks, ...
2
votes
1answer
55 views

Deluxetable column header carrying over to next table

I have two tables, one is a deluxetable and the second is a landscaped longtable. The column header from the first table is being carried over to the second table, such that the second table has two ...
1
vote
0answers
36 views

Last page not rotated when using longtable and (pdf)lscape

I have a very long table (multiple pages) in a paper that I'm writing, which contains +20 tables. The problem occurs when I use both landscape and longtable together - namely, the last page of the ...
0
votes
0answers
26 views

Landscape, multipage table in document with two text columns (pasa class document)

I am writing a paper which has a style file with a 2-column text layout. I need to insert a table in landscape mode and spanning multiple pages. I have tried various combinations of landscape, ...
2
votes
1answer
57 views

Useing \begin{longtable} inside \begin{table} to keep captions and list of tables working

To make a long story short, we have: \begin{table} \input{table.tex} \caption{The table too long for one page} \end{table} And the table.tex file has a \begin{longtable} format in it. I will ...
1
vote
0answers
47 views

How to position braces (decorations) in longtable?

I am trying to put braces into longtable (to span them on some rows). But if a table position on odd and even pages differs, there is a problem with vertical alignment of these braces (decorations): ...
0
votes
0answers
18 views

Is it possible to avoid opagebreak with longtable?

I know that longtable is is used to allow the table split over multiple pages, but I'm wondering if exist a command that avoid this behavior without changing the package. any help is appreciated Dom ...
3
votes
1answer
125 views

Longtable exceeds page length

Situation: I am using rmarkdown and xtable to iterate the creation of several tables, and output them in Latex to create a PDF. Given that most tables are long, Im using Longtable package. Also, i ...
4
votes
1answer
42 views

Reference to longtable wrong if \numberwithin{table}{section} is activated

I've encountered something weird while using the longtable package together with \numberwithin{table}{section} or \counterwithin{table}{section}: if a longtable is the first table in a section, it ...
0
votes
0answers
14 views

Is there an example using tabularx, longtable and spreadtab together? [duplicate]

I can't manage to get a working table with: multi page support / page breaks using the whole page width provide a sum at the bottom of the table / last row Is there a simple example on how to do ...
2
votes
1answer
93 views

How to fix misplaced \noalign on afterpage with \clearpage and too high longtable head?

TeX Live 2014 on Xubuntu 14.04 LTS. Minimal working example: \documentclass[11pt, oneside]{report} \usepackage{afterpage} \usepackage{booktabs} \usepackage{longtable} \begin{document} \afterpage{ ...
0
votes
1answer
41 views

How to define a table with colored sections

I need to write a table like the image below in Latex. This table represents the data structure of a message, which some specific data of the message and other fields that are inserted into two ...
2
votes
1answer
51 views

longtable and for loop problem

Can anyone explain me the difference betweeen the following to tables? Why has the second one an additional line with one column? \newcounter{kartonnr} \newpage \begin{longtable}{|p{1.5 cm}|p{.8 ...
1
vote
1answer
35 views

Space between two consecutive hhlines

While using the longtable and hhline packages, I would need to have space between two consecutive hhlines as in the following MWE \documentclass[10pt]{article} \usepackage{longtable} ...