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

learn more… | top users | synonyms

4
votes
1answer
719 views

Problem with fontsize when using longtable

I am using longtable package to make my large table span two pages. However I have set the font size with \fontsize to my table to be quite small. The only problem is that when the table is finished, ...
3
votes
1answer
84 views

Is there an `\firsthline` option for longtable?

I've been trying to use a command as \firsthline within a longtable environment. \cline does not work, neither \toprule does. This is my code example: \begin{longtable}{lp{99mm}} \caption{Work ...
4
votes
1answer
233 views

How to remove multiply-defined label in pgfplotstable using longtable

I need to add caption to a longtable possibly with a label to reference in text, however SIAM format fails when it encounters multiply-defined labels because of the repeated caption. Is there an easy ...
2
votes
1answer
421 views

How to adjust space between columns in longtable environment?

In the regular tabular environment, we can use \setlength{\tabcolsep} to specify the size of the space between the columns, but this doesn't work in longtable. Is there a similar command? ...
1
vote
1answer
80 views

Linebreaking in table goes across columns

First time poster so please be kind. Here is my MWE: \documentclass[10pt]{article} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{verbatim} \usepackage{xcolor} \usepackage{graphicx} ...
3
votes
1answer
152 views

Using longtable with \cmidrule: page-breaking issues

Here's a (minimal?) working example that illustrates both the issues I am having: \documentclass{article} \usepackage{longtable,booktabs,lipsum,array} \usepackage{pgfplots} ...
5
votes
3answers
2k views

Set longtable to fit the page-width

I would like to set a longtable to fit correctly the page-witdh. From now, I've this situation: and the related tex code is: \usepackage{array} \usepackage{multirow} \usepackage{longtable} ...
1
vote
1answer
406 views

Dashed hline in longtabu (arydshln conflicts, does not work?)

I have a large table with the following requirements: Spans multiple pages (currently using longtable) The last column's text must wrap (using tabu's longtabu environment as tabularx does not ...
0
votes
1answer
62 views

Remove justification from a longtable? [duplicate]

Using : \documentclass[12pt,a4paper]{report} \usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry} \usepackage{longtable} \begin{document} ...
0
votes
1answer
254 views

create long table within multiple pages

need to create long table within multiple pages.My code gives 3 errors "Error: Package array Error: Illegal pream-token (\renewcommand): `c' used." and "Error: Misplaced \noalign. " and "Error: ...
3
votes
1answer
15k views

LaTeX split long table in multiple pages and resize the width

I am trying to find a way to fix the width of my table to the margin of a portrait page (not landscape) while continuing the table in another page since it is very long. I can adjust the width by ...
3
votes
1answer
144 views

Inaccurate table numbering with LyX

I'm using LyX to create some tables, but the numbering is complete borked. In the LyX window, the table numbers are accurate. However, when I render to a PDF, they are evens only: 2, 4, 6 etc. (I'm ...
0
votes
2answers
184 views

Fixed right margin of longtable

I have several equations in my paper, with variables explained below in the form of longtable (so it can be split into two pages). I want my table to be as wide as the text. I try to use \LTright but ...
3
votes
1answer
993 views

Alternate Row colors in longtable

I am using the method proposed by Nikos Alexandris in "How to apply alternate row coloring in a longtable in LyX?" works to a limited extent but the shaded rows does not fill the whole width of page. ...
5
votes
1answer
227 views

Space between \hline\hline in longtable using package colortbl

When I use a \usepackage{colortbl} a space between \hline\hline in \longtable dissapears. I haven't find any solution how to put the space back, so I hope you'll help me to find it. ...
2
votes
3answers
157 views

Automatically enumerate for two columns and longtable

I’m in the middle of creating a test that has several pages. The example below illustrates its structure. \documentclass[a4paper,9pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, ...
5
votes
1answer
166 views

Indented box that split in multiple pages

I am doing a document with exercises and corrections. I would like the corrections to be easily remarkable so that no student read it by accident and get its exercise spoiled. I have written an ...
3
votes
1answer
113 views

How to wrap web address in table?

All of my text in my table wraps except for line 13, which I have copied below. The website runs off to the side of the page. I'd like it to wrap the web address. Can anyone help? ...
7
votes
1answer
781 views

Is it possible to use tabularx inside a longtable environment?

Is it possible to use tabularx inside a longtable environment? If not, is there any way I can get the "X" funcionality of tabularx with the option of long tables ---In order for me to be able to ...
0
votes
0answers
144 views

longtable continues in header/footer [closed]

I generate a long table in LaTeX. But the table continues in the header and footer and some of the content of table is hidden/overshadowed by the header and footer. Is there anyway that it can clear ...
1
vote
1answer
61 views

Make a particular column of a longtable borderless

I am using longtable package to create tables as the number of rows are large and doesn't fit in a single page. This works fine for me. I now need a particular column not to have top and bottom border ...
3
votes
2answers
347 views

Extra alignment tab with longtable

I am using longtable and I am getting the error ! Extra alignment tab has been changed to \cr. I have attempted to fix it but nothing I have tried seems to be working. Below is the code for the table ...
1
vote
1answer
318 views

Longtable with multicolumn and multirow not working

I'm using a table generated from Excel2Latex in my document. Despite using longtable, the table gets truncated at the end of page after overflowing the bottom margin. Min. working example provided ...
6
votes
1answer
265 views

Continue long table beside on the same page

I have a datatable in a CSV file and print it with pgfplotstable. I can split long datatables by making pgfplotstable use longtable instead of tabular environment; so far so good. My problem is that ...
2
votes
1answer
107 views

Fit a page to table

How can I fit a page to show an entire table (all I've seen here is the opposed, fit the table size to the page size. But, as I'll not print the result, I want to do the opposite) This is a sample of ...
2
votes
1answer
453 views

Placement of tablenotes in longtable with threeparttablex

How can I prevent a pagebreak of the tablenotes within ThreePartTable (threeparttablex) in the following MWE (btw it's a landscape table)? \enlargethispage seems to have no effect. ...
4
votes
2answers
266 views

Appendix with mostly tables—problems with floats and longtable

I am sectioning my appendix with \chapter and \section, I sometimes have to add some text sections and then the following table is placed after the next page. I don't know how to prevent these table ...
2
votes
2answers
802 views

Dificult using LTXtable

I have a script in R that build a report in LaTeX. Sometimes, this report has very long and very wide table, so, after some research I decided try ltxtable. My problem is that I didn't get how it ...
1
vote
0answers
165 views

Wide table spanning multiple pages using longtable and landscape packages [duplicate]

I am using the longtable and landscape package in the hope it would allow my very wide table to be read easily across multiple pages without breaks. However, it only spans one page and any extra ...
2
votes
1answer
1k views

Struggling with landscape/longtable/ThreePartTable

I have a table for my thesis which needs to be landscape breaking across pages and preferably with threeparttable. I found that threeparttablex works with longtable so I switched to that. I have two ...
2
votes
2answers
1k views

How to make a table smaller?

I am going make a table smaller in a paper which I am going to submit to a journal. I used \small but it does not make it small enough ?
0
votes
1answer
284 views

LaTeX table is cut off, with extra page of output that is blank. How to fix?

I am trying to make a table, but when I make the PDF, the top and bottom of the table are cut off. I am also getting a blank page of output in the beginning, but I can deal with that. I have tried ...
1
vote
1answer
83 views

Consecutive longtables giving “…alignment error…”

in the appendices of my thesis I have two long tables for which I use the longtable package. Separately they work fine, no errors, but when I have after each other I get errors such as: Extra ...
3
votes
1answer
104 views

Table width and height woes for multipage landscape table

I'm writing up my thesis and trying to convert a table to LaTeX (http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3523805/table/T1/). It's rather large so I'm using the lscape and the longtable library. ...
2
votes
0answers
180 views

Supertabular across pages [closed]

I am using the supertabularenvironment to split tables over pages. Does anybody know, how I can give LaTeX a hint, where to break the table and turn to the next page? There are some rows, which should ...
4
votes
2answers
586 views

Longtable column problem: column alignment changes

I'm setting up a big table (few hundred pages) with similar data as presented. I've used longtable in the past with good success, no problem. However, when I try to do the same again, I get the ...
3
votes
1answer
156 views

Bottom table alignment for rotated column headers

I've been struggling to appropriately align rotated text using longtable, array and rotating packages. I basically want column headers to be aligned at the bottom, however, LaTeX centres them even ...
1
vote
1answer
464 views

Big Table with line and pagebreaks

For a technical documentation (two columns: function name left, description right) I need a way for automatic line and page breaks in a table environment in case the descriptions get a bit longer. I ...
15
votes
1answer
335 views

How to make a long table split on even/odd pages?

On an A5 document, I want to print a long table, split on several pages (using longtable I know) but I also need the 2 columns of that table to be on each side of the document: left column on even ...
2
votes
1answer
243 views

Local footnotes with letters in longtable

I have a document which has four numbered footnotes ("1" to "4") in the pages preceding a longtable. The table is split over two pages. A footnote inserted in the table with \footnote{} is numbered in ...
1
vote
1answer
179 views

Is it possible to put a long table (longtabu) into a adjust box (adjustbox)?

I am wondering as the title says whether it is possible to put a long table, especially for me a longtabu into a adjustbox? My code throws an error but I guess this is the same issue as is with ...
2
votes
1answer
2k views

Long table (longtabu) and font style issues

I use the longtabu environment for my tables to span it across several pages. This works great, however, I always change the font size and type as you will see in my example. This worked also very ...
2
votes
1answer
66 views

How to deal with cases that cell is too long to display?

Some times I met a problem: some cells is too long to display. I have to break manualky. So my question: Is there a method making it automatically? I have tried supertabular and longtable, but they ...
3
votes
1answer
973 views

Sideways table with rotated header on multiple pages

I am trying to have a sideways table on multiple pages with the header rotated at 90 deg. I have used landscape and longtable for the rotation and multipage span (sidewaystable doesn't work with ...
4
votes
1answer
527 views

longtable list of tables caption problem

I am writing a MS dissertation, and using a long table in my thesis. I have a problem related with the caption of the long table in list of tables(LoT). Table 4.1 which is seen below, is a long table ...
1
vote
1answer
115 views

Table column spacing / headings

I don't seem to be able to reduce the space between columns with \setlength\tabcolsep; it looks like siunitx package does not go along with tabcolsep. Further, I'd like to centre the subheadings of ...
3
votes
1answer
226 views

longtable captions in marginpar

I used floatrow to put all my captions (figure, table, listing) into the margin. The only captions left that i'm unable to put there belong to the longtable environment. Is there a way to put the ...
2
votes
2answers
482 views

longtable and rowcolors

I tried to use the longtable with the row color and I just simply can get it to work. When I try to do: \documentclass[10pt, landscape]{report} %Packages \usepackage[utf8]{inputenc} ...
2
votes
1answer
772 views

Float table with subfloat extend to multiple pages LyX

I have a float (table) which contains several subfloats. The last of these subfloats does not fit on the page and is cut off. I would like it to extend to the next page. I know of longtable but that ...
4
votes
1answer
318 views

longtable does not work on ieeeconf, but works on Document class article

I am trying to add a long table of figures into latex. I am able to successfully add in \documentclass[12pt]{article}. But when I try adding it in the following document class, I get error: ...