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

learn more… | top users | synonyms

0
votes
1answer
56 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
92 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
82 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
81 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
57 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
40 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
27 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
58 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
51 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
138 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
52 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
102 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
36 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
39 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
98 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
43 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
148 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
42 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
131 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
81 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
32 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 ...
0
votes
0answers
38 views

Writing a macro to enclose cell values of a row in parenthesis

I asked this question How do I enclose each table column of a particular row in parenthesis around a month back, there was a suggested approach, but writing the latex macro is beyond my capabiiility ...
0
votes
1answer
56 views

Modify a tabular environment so that it can break over pages

I am working with a template which has the following new environment for defining a list: %% List environment %%%%%%%%%%%%%%%% \setlength{\tabcolsep}{0pt} \newenvironment{entrylist}{% ...
1
vote
0answers
36 views

What to change in longtable.sty in order to avoid confusing marks? [closed]

I have a document with hundreds of longtables throuhout it. While checking the final document it turned out that the headers are putting wrong section names just as described here. A possible solution ...
1
vote
1answer
48 views

I am trying to improve the look of the longtable

I am trying to improve the aesthetics of my long table. For each vial, I measured three masses. To avoid redundancy in my column titles, I was wondering if I could have an additional title on top of ...
8
votes
3answers
381 views

The longtable environment pushes content below it into the bottom margin of a page

When I have two floating environments on a page (one figure and one table), the longtable can push the content below it into the bottom margin of the page. Here is a minimal example: ...
4
votes
1answer
69 views

“dec sep align” from pgfplot does not align with the header properly

In my ME below, I am having a problem to get the header align properly with the text. I have looked at the documentation for the pgfplotstable, also from other posts from this forum like that posted ...
1
vote
1answer
113 views

“Continued on next page” in longtable environment part 2

I am attempting to get the effect of the table to show "continued on next page" and "concluded" like that shown here. I am calling a longtable saved in the data.dat file (given below). Can you ...
0
votes
1answer
31 views

pgfplot table cannot compile

I am working of the post found here that talks about importing a .dat file into latex and converting it into a table. The table that I have is a longtable. I am having a problem getting my code to ...
3
votes
2answers
84 views

longtable environment gives error

This post is building from the post found here, where the longtable environment is added. Can you tell me how to get this code to work properly, i.e. for the table to break properly over two or more ...
1
vote
0answers
18 views

Import large table in excel to latex [duplicate]

I have converted a large table in excel to latex. When I put the table in latex, I get part of the table. How to break up the table to span over two or more pages? Here is my code: ...
0
votes
1answer
52 views

Linebreak inside multicolumn [duplicate]

I have the following problem I want to create a table that use a \multicolumn, I want the following but I have this. This is the code that I'm using, Does anyone know how to do this? ...
0
votes
0answers
40 views

How to make multi-column multi-page tables with subtable labeling?

I need to make a multiple page table which contains a number of subtables. Preferably, the labeling of the subtables is done automatically. The subtables are somewhat narrow. So I need to be able to ...
6
votes
3answers
228 views

Two longtables side by side

I'm trying to add two tables side by side they need to be split, cannot be multi column like a & b & & & & c & d \begin{longtable}{cc} \begin{longtable} \hline ...
2
votes
1answer
33 views

How to fix default table number and description separator

I have 2 tables using different packages, but the caption gennerate different: When I use table with tabularx: Table 1 – A simple example When I use longtable: Table 2: A simple example ...
2
votes
1answer
128 views

Underfull \hbox (badness 10000) in longtable

I have 1 badbox: Underfull \hbox (badness 10000) in paragraph. I know where the badbox is from. If you change "BBBBBW" in the code to "BBBBB", the badbox will be gone. So maybe because LaTeX does not ...
0
votes
1answer
32 views

Framed longtable using fbox

To make a framed longtable I tried the following code using \fbox and \minipage: \documentclass[10pt,a4paper]{article} {\renewcommand{\arraystretch}{1.5}% \usepackage{longtable} ...
2
votes
1answer
46 views

Problem with caption when using longtable

When I try to add \footnotesize, the caption of the table will a little overlap with the table. Can someone help me? Thanks \documentclass[a4paper,man,natbib]{apa6} \usepackage[english]{babel} ...
3
votes
1answer
97 views

Adding a horizontal line to a multicolumn field in a longtable

I'm trying to add a horizontal line to the top of my table using a \cline. My table has 7 columns, however the first row only has one cell that spans columns 3-7. Here is a snippet of the beginning ...
1
vote
0answers
60 views

how to get longtable in mdframed to show more than firsthead?

I have a document that wraps tables (or rather, tabular/tabulary) with mdframed. This works quite happily whether the table is shown inline or floated to another page (mdframed inside the table*, ...
3
votes
2answers
187 views

Create a caption for table using the \csvautolongtable command from the csvsimple package

I successfully included a .csv table using the \csvautolongtable command from the csvsimple package (the table is more than one page, this is why I am using this command). Now I want to add a caption ...
0
votes
0answers
46 views

Partitioning wide and long table

Hi have this very long table, (24 x 35) and I need to place it in a paper I'm writing. Preferably I would like to split it in columns so that every new page starts with a new list of countries. I have ...
1
vote
1answer
71 views

How can I set the width of a column using multirow command with tabularx, sidewaystable and longtable?

I'd like to ask for a very big favor: I need to do a long table (more than 1 page) which needs to be in 90 degrees (sidewaystable) and well, I need to stablish the width of the columns while using ...
2
votes
0answers
576 views

{longtable} Package array Error: Illegal pream-token (1): `c' used. [closed]

I'm new to Latex and really learning the nuances as I go. My document was compiling fine, until all of a sudden, it wasn't. I'm using the {longtable} command. I get the following error message: ...
3
votes
1answer
61 views

Table numbering when combining ThreePartTable and “ltabulary”

I am trying to use a tabular environment that has the features of tabulary but allows for multiple page tables (this 'catch-all' solution is necessary as by latex code automatically generated so a ...
1
vote
1answer
177 views

How to create an environment to dump a longtable sideways after currentpage, which works under pandoc

Sorry for the long title (and even longer question), but this is a rather complex subject and requires a bit of elaboration. Goal: I want to define a pair of latex macros which I can write in the ...