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

learn more… | top users | synonyms

1
vote
0answers
18 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
19 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
7 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\ ...
1
vote
2answers
207 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
40 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
16 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
26 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
0answers
65 views
+50

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
29 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
30 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
23 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
38 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
24 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
43 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
47 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
33 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
25 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
76 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
58 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
41 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
50 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
38 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
50 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 ...
1
vote
1answer
40 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
55 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
53 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
64 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
39 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
22 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
22 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
50 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
43 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
90 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
31 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
11 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
50 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
38 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
43 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
25 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} ...
1
vote
1answer
31 views

minipages in bidi-longtable

I have a bidi-longtable in a mixed language document (mainlanguage Arabic). I am using minipages in each cell of the table because I will need to do some complicated things later like footnotes. The ...
1
vote
1answer
80 views

How to span brackets on some rows in longtable?

The goal is to place a brackets into the table (longtable) to embrace some rows of this table: The solution which involves rdelim and \multirows command (described here: usage of \rdelim) gives not ...
0
votes
1answer
35 views

How to establish the width of a column in a longtable

I wrote a table by longtable. It works correctly but I would like to improve the layout of the width a column. In the figure below you can see the result: As you can see, the last colums is very ...
3
votes
1answer
57 views

Longtable in tcolorbox makes itemized lists unbreakable

Structure: Using tcolorbox to take advantage of page-breakable paragraph or list contents, I am trying to use a long table above this to align some summary information. But I am observing that if I ...
1
vote
1answer
34 views

PythonTeX + \InputIfFileExists for inputting rows in longtable creates spurious space before the end

TeX Live 2014 on Xubuntu 14.04 LTS. Minimal working example: \documentclass[11pt, twoside]{book} \usepackage{pythontex} \usepackage{booktabs} \usepackage{multirow} \usepackage{longtable} ...
4
votes
1answer
72 views

Longtable with threeparttable

Can anyone help me to figure out why this code does not work in Lyx? Despite using longtable, the table gets truncated at the end of page after overflowing the bottom margin. \begin{threeparttable} ...
1
vote
1answer
46 views

csv long table in landscape

I want to import a csv table, but the table has too many columns i.e. too wide. So I put it in landscape environment and use the \csvautolongtable. The specific code is the following: ...
1
vote
0answers
27 views

Landscape is not compiling to produce pdf if i use \input{chapters/ }

I'm writing my thesis by using \input{chapters/..} to add the chapters to the main .tex. While the PDF is produced in a separate .tex file, it is not produced when I'm compiling the main file. Here ...