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

learn more… | top users | synonyms

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 ...
3
votes
4answers
224 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 ...
1
vote
1answer
17 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. ...
1
vote
1answer
51 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
33 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
52 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
56 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
40 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
60 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
51 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
66 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
54 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
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
61 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
37 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
84 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
45 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
51 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
80 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
44 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
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
82 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
60 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
72 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} ...
1
vote
0answers
46 views

longtable next to longtable [no multicolumn]

I'd like to place multiple tables (two or three) next to each other, with the following requirements: They need to be able to span accross pages They need to be aligned next to each other I need to ...
2
votes
2answers
86 views

Lots of text in one table cell

I need to place lots of text in one table cell. I tried to use longtable, but it seems to work, say, only on a row basis and gives terrible result in case when one row isn't fit in a page. Something ...
2
votes
1answer
46 views

How to combine ‘float’ and ‘longtable’ packages functionality

I want to use exact placement for my table. As I read on SO it can be done with [H] option for table environment provided by ‘float’ package. But this doesn't seem to work with longtable which I have ...
4
votes
1answer
44 views

How to use Spanish Unicode characters while wrapping text in a longtabu cell

Some time ago i referred to this stack exchange to solve the problem of wrapping long text in a longtabu cell. The provided solution worked, but now my requirements have changed to having to be able ...
3
votes
1answer
109 views

how to make longtable continue a long row to next page?

I have a long table of 4 rows. I'd like help to make the table look better. (based on comments, this is not possible to do using longtable. Is there a different table environment or package I can use ...
3
votes
2answers
54 views

Problem with 'longtable' and the width of the table

I'm using the package longtable to define a table in two pages but it has too much width when I write long text in a cell that fills until the border of the page and doesn´t have room for all the ...
0
votes
0answers
14 views

How to combine bigdelim and alternate row coloring inside a longtable in LyX? [duplicate]

It seems that it's quite a conflict to use some big (multirow) delimiter (bigdelim) and applying alternate row coloring inside a longtable at the same time (using LyX). The following example ...
1
vote
1answer
24 views

Longtable: Double header caused by a page break in front of the table

when i place a longtable at the bottom of the page a page break occurs and the table starts at the next page. This is absolutely correct and the expected behaviour. But instead of the first header i ...
5
votes
1answer
39 views

Using longtable inside xparse \NewDocumentEnvironment

I am trying to create a wrapper for the longtable environment and it works fine with the standard \newenvironment command. Now I want to use \NewDocumentEnvironment from the xparse package to allow ...
0
votes
0answers
46 views

Longtable captions do not wrap inside threeparttable environment

I'm using the threeparttable package to automatically wrap my captions to table width. However, I occasionally need to use longtable to split a table across multiple pages. When I do so, the caption ...
1
vote
1answer
48 views

Caption appears with ugly head at end of longtable

I want to put a lengthy caption at the end of a table, and, as currently formatted, the caption doesn't fit on the page with the last row of the table. The result is a rather ugly header on the last ...
2
votes
1answer
35 views

Using longtabu with multicolumn produces errors sometimes

I have a document which uses the longtable package as well as \multicolumn to have certain cells which span multiple columns. This seems to work just fine: \documentclass[10pt]{report} ...