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

learn more… | top users | synonyms

3
votes
1answer
60 views

Trying to use longtable

thanks for your help. I'm trying to pass this table into longtable and I really don't get how to do it, if anyone can help me. This is my graduation proyect and is my first time working with LaTeX. I'...
1
vote
0answers
36 views

Longtable twocolumn and onecolumn in same page

I am writing a twocolumn paper, however I need to add a longtable in my paper. and the final output should be like in the picture below.. I tried \onecolumn and \twocolumn trick but it forces ...
2
votes
1answer
23 views

single spaced longtable with apa6

I want to use the longtable package with the apa6 class. The package documentation indicates that longtable should not be called explicitly, but rather listed in the documentclass options. Since I'm ...
2
votes
0answers
36 views

Can I get table column headers on each page?

I am making one table out of many tables and would like the headers to be at the top of each page. I would use \endhead but I dont think I can put longtables in longtables. Here is what I mean. \...
0
votes
1answer
44 views

Ideal file path line breaking within a cell longtable tabu

I am creating a table which has file name, source and destination file paths, and a short description of each file. The description and flag fields have spaces so the line break can be automatic. MWE:...
2
votes
3answers
139 views

How to setup a longtable with booktabs and a colored (head) row

I'd like to make a longtable with the first (head) row colored in grey. Since booktabs inserts white space below the \toprule and above the \midrule, i need to insert a colored rule: \newcommand*{\...
1
vote
1answer
144 views

Table formatting - Best practice to get professional and consistent looking short and long tables

General Understanding Basically, what I'm trying to do is streamline the entire process of creating tables for one or possibly a number of scientif papers. The ultimate objective would be to find ...
0
votes
1answer
41 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
127 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
67 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} \usepackage{dcolumn,longtable,...
0
votes
3answers
33 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 automatically....
2
votes
1answer
101 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
72 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} \usepackage{...
1
vote
1answer
69 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
46 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 ...
4
votes
1answer
107 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
32 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
20 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
235 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|} \hline ...
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
53 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? \begin{filecontents*}{mytable.csv}...
0
votes
0answers
29 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
117 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
116 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
48 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
46 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
55 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
30 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
60 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
75 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
42 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
38 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): \documentclass[12pt]{...
3
votes
1answer
86 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
152 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
85 views

Longtable in landscape format [closed]

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
128 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
53 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
47 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
66 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
60 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} \usepackage[top=72pt,left=72pt,bottom=...
4
votes
2answers
113 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
116 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
102 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
68 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
43 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
34 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
62 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
55 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): ...
3
votes
1answer
168 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 ...