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

learn more… | top users | synonyms

3
votes
1answer
2k views

Strange problem with `longtabu`

I would like to share with you a quite simple example LaTeX is not able to compile. I use the longtabu environment provided by tabu package. I am using commands from booktabs as recommended in the ...
2
votes
1answer
174 views

How to disable / suppress bad box warnings within a longtable?

I have a quite long (3 pages) longtable in landscape and it is generating me a ton of bad box warnings (overfull \vbox and \hbox messages up to 30.0000pt too wide). But the table is perfectly fine for ...
2
votes
1answer
59 views

Longtable overflowing with ESKDX

When I try to create a longtable with \linewidth width in portrait orientation it handles very strange. Here is the MWE ...
5
votes
2answers
81 views

How to generate a “<section>-continued” heading after page-break which works with longtable?

I have read the question and answers about the "-continued" heading. The code given in the answers doesn't help me. Thats why I am posting a follow-up-question here. I want to re-display the ...
1
vote
1answer
32 views

Configure long table caption

I have to prepare several long tables in a conference proceeding book. Editor told me that I had to suppress captions of long tables on odd pages. Is it possible? EDIT: Minimal working example here: ...
0
votes
0answers
14 views

Lasthead section in a longtabu environment

Longtabe environment has sections for first head and other head. I want to add third section for last head wich must be on the last page of a table with slighly different text. Is it possible? PS. ...
1
vote
1answer
37 views

longtable side by side

I've two longtables and I'd like to place them side by side. Tabular environments work very well, but I think it is not possible to place longtable side by side (why?). It needs to be a longtable or ...
4
votes
2answers
80 views

Formatting a longtable

I have a longtable, but I'm unsure how to do two things, listed below. NB: The MWE given at the bottom of this post is not an exact representation of how the table appears in my document. This is ...
4
votes
1answer
51 views

How to merge two rows of 2 columns into a single row of 4 columns without modifying the data entry?

At the beginning I designed a table with a huge number of rows of acronyms. The table has two columns and occupies \textwidth, as follows. \documentclass{article} ...
1
vote
1answer
18 views

Avoid multiple entries of caption in list of tables using pgfplotstable with longtable

I'm using pgfplotstable to display data from .csv files and it happens that displayed tables break over three pages. The problem is, that for every page an entry is placed into the list of tables. ...
3
votes
4answers
229 views

How can I make a long and wide table fit the text width?

My table is too wide and too long to fit in one page. I want to separate it in 2 pages. I used longtable package to separate it in two pages but I can't fix the width. Here is my table code, (it look ...
0
votes
0answers
43 views

Can someone help me please? it is about width of the table [duplicate]

My table is too wide and too long to fit one page. i want to seperate it to 2 pages. i used longtable package to seperate it two pages bu i cant fix the wideness. her is my table code, (it look a ...
1
vote
1answer
53 views

How to create a table with long text and which packages use

Please, Help me inserting a table like this. I could not prepare this table easily because the long text i have to insert into the columns. I have been trying from some examples of stackechange but ...
0
votes
0answers
35 views

Centering defined width columns with long table [duplicate]

I have been trying to get a long table with specified column widths and centered text. I found away to do this (>{\centering}p{1cm}) which works until I apply centering to the last column, at which ...
2
votes
2answers
57 views

Longtable with two column

I need a longtable with only two columns. I saw this topic Two column list with and I managed to convert into longtable. \documentclass{article} \begin{document} ...
3
votes
1answer
57 views

Need help starting long, text-heavy table

I am new to LaTex and trying to teach myself. Currently I am trying to write a unit plan for graduate school (MA in Math Ed), which would look something like that provided image. One question, one ...
1
vote
1answer
20 views

Put longtable caption in marginpar and keep compatibility with caption package

After some research I found a way to place the caption of a longtable (ltablex) into the left marginpar, aligned with the top of the table. Therefore, i adapted this solution stackexchange.com: ...
1
vote
1answer
43 views

Longtable new column widths on each page

Let's assume that I have a longtable of two pages. On the first page there are only short cells but on the second page there are some longer ones. Here's an example: \begin{longtable}{|l|l|l|l|} ...
1
vote
1answer
72 views

Errors in table, missing \endgroup inserted <inserted text> \endgroup

Below is the latex example i am working on, it should generate two tables. One table with two columns, the other table is just one column. And i have a software program it makes any word in the table ...
5
votes
4answers
88 views

Longtable issue

I have a long table spread over multiple pages that I code using the package longtable package. A sample of my code is this: \documentclass[a4paper]{article} \usepackage{longtable} \begin{document} ...
4
votes
1answer
70 views

In table cell, how to break long words after “::” or “_”?

I have a software program can generate tables which may be very long and may contains words with many letters,so i use longtabu package. Some words may look like this: AAA_BBB_CCCC_DDDDD_CC ...
6
votes
2answers
53 views

Vertical alignment of images in longtable

I am trying to create a longtable where the first column contains only images. The longtable is defined as (with only one row): \begin{longtable}{m{0.2\linewidth} m{0.7\linewidth}} \hline ...
-2
votes
0answers
76 views

How to break lines in a cell of table? a very long word contains “::” or “_” [duplicate]

I use "longtabu" package to create a table. The reason I choose longtabu is, first it can deal with very long table, second it can automatically break lines to fit the width of a cell. But I got a ...
0
votes
0answers
48 views

In table, how to make one column has different font size for different line?

I use longtabu to create a table, below is the realted code \begin{longtabu} to \textwidth {|>{\footnotesize}X[1 , p ] |>{\footnotesize}X[1 , p ] | >{\footnotesize}X[1 , p ]|} I want the ...
0
votes
2answers
67 views

Several caption problems in longtable and tabulary

I'm trying to typeset some multipage tables with tablenotes and repeating captions on each page. I found this question, which marries the longtable environment with tabulary. This is quite nice, ...
1
vote
1answer
58 views

Longtable, landscape in tufte-latex

I am using tufte-latex to write a document. I want to include a table which has many columns and rows in the document. For this purpose I am using longtable and landscape environments to produce the ...
0
votes
2answers
512 views

Fit to landscape longtable generated with xtable and sweave

I read many TEX questions/answers on fitting a table to your page width, but cannot figure out how to do apply it in my context (using xtable/sweave). Everything that I tried (using adjustbox, tabu) ...
0
votes
0answers
37 views

longtable multirow problem with cmidrule and nopagebreak

I'm trying to reimplement the David Carlisle solution given here for breaking long tables over certain rows (breaking in \hline commnands instead \cline ones). This solution is complemented with the ...
2
votes
2answers
68 views

What do I need to change if I change table to longtable?

I just used excel2latex to import a table, but the table is too long and across pages. I tried several times but found the table is shrunk and I don't know how to center all the contents of the cells. ...
0
votes
0answers
62 views

Advantages of longtabu? compared with longtable

I know to use longtabu, we need to have the packages tabu and longtable. What are the advantages of longtabu? By now, i just found longtabu can break lines automatically in a table cell, but seems ...
0
votes
1answer
18 views

Converting -sidewaystable- with -dcolumn- to -lscape- -longtable- in order to span multiple pages

I would to like to change my question from the previous one (Subtable as sidewaystable over three pages): Instead of putting subtables I would just like to have one table spanning over multiple pages. ...
0
votes
0answers
38 views

Subtable as sidewaystable over three pages

I am trying to create a sideways table over three pages. So my question is first: Is it better to use "one" sidewaystable that "continues" over several pages or to split them each up into subtables ...
1
vote
2answers
85 views

How to automatically break “a long word with underscore” in a cell of table, using longtabu package?

I use longtabu package for creating tables, because the table can be very long (several pages) and i need automatic linebreak(or wordbreak) if the sentence(or a single word) in certain cell is too ...
1
vote
1answer
35 views

converting threeparttable tabular to threeparttablex and longtable

I am trying to convert an existing threeparttable to a threeparttablex table with longtable so I can break the table over multiple pages, but I'm having some trouble. Specifically, I'm getting an ...
1
vote
0answers
47 views

long table working in TexNiccenter but not in R Studio GUI

I'm having a weird error where my code is working just fine in TexNiccenter but unable to compile within the R studio GUI (probably not an R studio problem just R problem). Here's some background: my ...
1
vote
1answer
32 views

Latex Longtable - Caption starts at margin

I am having a problem using longtable \caption. The captions are not set to \textlength and run into the margins. I would like the multi-line captions to be restricted to \textlength and centred under ...
1
vote
0answers
52 views

Longtable: how to force a page break?

I am writing an application and I have to complete a table similar to this: and since the descriptions in the second column will be lengthy, I have decided to use longtable. Some of the ...
0
votes
1answer
44 views

Latex longtable misalignment after pagebreak

I have a longtable spanning multiple pages but the verticle alignment is forced at the pagebreak, so the first page is pushed down to the bottom while the second page is glued to the top. How can i ...
2
votes
1answer
32 views

How to right-align whole longtables

Say I have the following document: \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{|lr|} \hline A & 1\\ B & 2\\ C & 3\\ \hline ...
4
votes
2answers
81 views

Colorbox not working with longtable

I have some tables that I want to entirely color in light grey, but the same command lines that work for the tabular environment (see second table example) do not work for the longtable environment ...
5
votes
1answer
45 views

Table does not align properly after \newgeometry settings

I have a huge longtable and used \newgeometry to make it fit the page. After the table there is a short text (which I could align successfully) but another small table that comes after the text won't ...
0
votes
0answers
273 views

Adjusting longtable fontsize in latex [closed]

I am not very good at Latex. I have to write a table spanning multiple pages. The following code produces the a table exactly the way i want, however it reduces the font size. If i do not use the ...
16
votes
1answer
22k views

Make a table span multiple pages

I have a table that takes up a full page, but I want it to start on a page that already has some text and then continue onto the next page (i.e. it's ok if the table gets broken up and spans two ...
0
votes
0answers
19 views

How to continue a very long table on multiple pages? [duplicate]

I have a long table in latex. I used the commands: \begin{table}[ht] \begin{center} \begin{tabular}{cccccccc} (..the table..) \end{tabular} \end{center} \end{table} However the table length ...
3
votes
1answer
83 views

How to right-justify URLs inside a table?

I have a table containing a URL, and I want the URL to break so that the URL is right-justified along with the other text. In my example below you can see that the last few lines are not ...
2
votes
1answer
61 views

How to make automatically line break when use longtable?

I use longtable package to produce a table covers two pages, but if there are too many words in one column, the sentence can not switch to the next line automatically, see picture, the 4th column. ...
1
vote
1answer
37 views

Prevent longtable to split cells while using \hline

although the question seems to be trivial and to be answered several times, I have not found a solution yet :-( I'm using a longtable to describe a set of computer benchmarks. Each benchmark entry ...
2
votes
0answers
73 views

Any alternatives for longtable package? (produce tables can continue to the next page)

I have a program and I want to output the program results as PDF. I am considering to use LATEX to do the work. My results may contain many big tables, I just realized it is not so direct to output ...
1
vote
0answers
27 views

Longtable with dynamic footer

In the example below, what I want is for the foot row, which longtable adds on every page break, to be the opposite background color of the row above it. It seems that the footer code is evaluated ...
4
votes
1answer
52 views

equal column spacing in longtable

Does anyone know how to get equal spacing between columns in longtable? My code is attached below. Thanks. Franz \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} ...