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

learn more… | top users | synonyms

0
votes
1answer
537 views

longtable example+error:Package longtable Error: Column widths have changed in table…

I'm trying to use a longtable in landscape. I obtain a compilation error (I use XeLaTex) and I don't know where is the problem. The code is: \begin{landscape} \begin{longtable}{ccccccc} \caption{My ...
2
votes
1answer
330 views

Variable Column Names using longtable?

I've been using the longtable package in order to create a multiple page table. However, I want all of my column names to be different and am having a hard time getting it to work properly. While ...
2
votes
0answers
3k views

How to make a given table line bold

Hi is it possible to make a chosen line of table (created by longtable) bold ?? I saw this question Make first row of table all bold but the answer refers to array package. It is possible to ...
2
votes
1answer
208 views

longtable - strange lines at the end of table

I have strange problem with longtable package. Almost all my tables looks great but some of have strange lines at the end of tables. Please take a look at the picture I create the table like that ...
3
votes
1answer
3k views

Longtable - aligning caption to left [duplicate]

Possible Duplicate: Formating captions in longtable tables Is it possible to align longtable caption to the left side of paper ? Standard table and tabular command align caption to the left ...
10
votes
2answers
1k views

Strange line spacing effects in longtabu

I got some strange effect with longtabu: As you can see the line with λ seems to be closer to the above line than to the one below of it. I cant’t figure out why … This is the code with which I ...
1
vote
1answer
1k views

Same Header on different slides with beamer and longtable

When using the Longtable package in a LaTeX Beamerdocument, how can I create a table header shown on every slide containing table contents? The following approach seems not to work: ...
4
votes
3answers
3k views

Longtables and caption: spacing problem

I have been using the \longtable environment and I have an issue with the captions. All captions appear at the bottom of each part of the table, which is the result I wanted. However, there is a quite ...
2
votes
1answer
251 views

Aren't the sectioning commands supposed to work inside longtable?

Using sectioning commands such as section, subsection inside a longtable produce the following error: ! LaTeX Error: Something's wrong--perhaps a missing \item. Is this normal? Here is the code ...
1
vote
1answer
453 views

How can I set the maximum number of rows in a page for longtable?

Making a complicated table is a pain in LaTeX. I am using a longtable in my TeX and need to change the maximum number of rows in a page. Is there any way to set the maximum number of rows in a page?
1
vote
1answer
146 views

How can I set the maximum number of rows in a page for longtable?

Making a complicated table is a pain in Latex. I am using a longtable in my tex and need to change the maximum number of rows in a page. Is there any way to set the maximum number of rows in a page?
3
votes
2answers
2k views

table overflows the page

I use \documentclass[a4paper,14pt]{report} and the longtable package. Also I have \usepackage[left=3cm,right=1cm,top=2cm,bottom=2cm,bindingoffset=0cm]{geometry} in the preamble. I have some ...
4
votes
1answer
739 views

Figure filled with longtable

I am currently creating a figure which is filled by longtable inside, why I do this is because I need the caption to be figure, while on the other hand, I need the table environment. The thing is, ...
0
votes
1answer
780 views

Enumerate within a longtable

I have been looking through a couple questions, but cant seem to find the answer to my question. I am trying to create a two column table that spans several pages consisting of two enumerate ...
-1
votes
1answer
328 views

How can I duplicate the example in longtable.pdf?

How can I duplicate the example in longtable.pdf? I see several features in the example table from the longtable package documentation pages 2 & 3. I want to build an example from that table. I ...
4
votes
4answers
1k views

How to obtain width of longtable?

I need to create multiple tables of the same width, one of them needs to be a longtable due to spanning multiple pages. I could set the width of all of them to a predefined value. However, I would ...
4
votes
1answer
997 views

line-breaking in longtable

I'm using the longtable environment with the field p{0.5\textwidth}. The text on that field is set with very odd spacing, because latex attempts to justify it both for the left and right column ...
2
votes
1answer
724 views

How to remove colon(:) on longtable suffix caption

Using svmono package and \renewcommand\tablename\{Tab.}. When I use table, the caption shows “Tab.1 Bah Bah”. But if I use longtable, the caption shows “Tab.2: Bah bah”. How to remove colon as “Tab ...
3
votes
1answer
616 views

Margin notes *and* footnotes in a table environment

I am working on a translation. The original text has marginal notes, and I also need footnotes for commentary. Some of it needs to be tabulated in big two-column tables. So I use \longtable because ...
0
votes
1answer
944 views

Table works for one page, but not for multiple

I have a longtable, that is inputted to the main-file using LTXTable, but it does not work, when the longtable is more than one page long. The latex-code for the table can be found here: ...
3
votes
1answer
1k views

How can I split long tables in Emacs org-mode latex export?

In LaTeX, when tables get very long one can use the longtable package. But what about org-mode latex export in Emacs? Is it possible to have org-mode split long tables?
17
votes
2answers
3k views

How to make longtable respect \nopagebreak in the beginning?

For the book I am typesetting now I need a table environment with the following abilities: Span over multiple pages; Allow \nopagebreak between two lines Do not ignore \nopagebreak before the ...
6
votes
1answer
8k views

Formating captions in longtable tables

I'm typesetting my dissertation using Springer's svmono class. The class defines its own formatting of table and figure captions. I have a couple of multipage tables which I typesetted using longtable ...
32
votes
2answers
11k views

How to repeat top rows (column headings) on every page

I have a big table which contains hundreds of rows. I want to repeat the top two rows on every page of the table. How can I do it in TeX?
2
votes
3answers
273 views

How to set the width of the cell and allow it to take multiple lines?

I have a table below \documentclass[a4paper,12pt]{article} \begin{document} \begin{quote} \begin{tabular}{|c|c|c|c|c|} \hline \multicolumn{4}{c}{Table title}\\ \hline Fuze Type ...
4
votes
3answers
184 views

Table environment that can break inside a cell

I am wondering if there is an environment for creating a table in LaTeX that will not only break at \hline, but instead can break in the middle of a cell. I have to write very long reports in one ...
3
votes
2answers
3k views

Two-column longtable or tabular

I'm using longtable to store a glossary-like list of abbreviations used in my document, and as it only has two columns, but is two pages long, I was wondering if there was a way to make it wrap into ...
6
votes
0answers
226 views

Is there a “widetable” counterpart to “longtable”? [duplicate]

Possible Duplicate: Table and multi-page I have some tables with 25 columns that don't fit on the page, even after rotating with sidewaystable. I know about longtable but what I would need ...
4
votes
1answer
322 views

Use a longtable in Lyx

The following compiles well in Kile but when imported into Lyx the title is duplicated and the "continued on next page" incorrectly appears at the end of the table. %% LyX 1.6.7 created this file. ...
2
votes
2answers
598 views

How to set the height for a specific row in a “longtable”?

I have a "longtable" and I need a couple of rows to be "taller" than the others. Is it possible to specify a fixed height for a specific row?
3
votes
1answer
370 views

Adding information on each page in “longtable”

At some point in my document I'm using a "longtable", which is spread among different pages. What I'd love to do is to add some text on each of these pages, possibly on the top of the table. Any ...
2
votes
2answers
582 views

How to avoid orphan line of multipage tabular?

There is an orphan line on page 2. How to get rid of it? Minimal Code \documentclass{article} \usepackage[a4paper,margin=5cm,landscape]{geometry} \usepackage{longtable,array} ...
1
vote
1answer
737 views

ltablex + \caption[]{…} = error or bug?

I'm writing my thesis with the document class scrbook from koma-script and want to use the package ltablex (= longtable + tabularx) for setting long tables with automatic page break calculation. Now, ...
7
votes
2answers
6k views

I don't use \centering, but why must I use \arraybackslash in my table?

I don't use \centering or \Centering in my table below. But I will get errors if I don't insert \arraybackslash. Question: What is \arraybackslash for? It seems so mysterious for me. Why must I ...
5
votes
1answer
1k views

Adding vertical stretch at a table row?

I have a longtable that is used to produce checklist forms. The basic layout is shown below, The second page (if there is one - some forms are quite short) would be better if it had the bottom ...
6
votes
1answer
5k views

\midrule before \endhead in longtable environment with booktabs package

I am trying to use longtable with repeating headers on each page. For example: Column 1 & Column 2 & Column 3 \endhead \midrule results in an ugly multi-page table. The horizontal rule ...
10
votes
3answers
3k views

How do I create a really long table in a two column layout?

I have a table that has about 130 rows. I tried using the longtable package, but it does not work with two column documents. The table will be starting near the top of the left column, and it should ...
6
votes
2answers
1k views

How to disable pagebreak on \hline in longtable?

How to disable pagebreak on \hline in longtable? This is an example illustrating my problem: \documentclass[12pt,a4paper,oneside]{letter} \usepackage{longtable} \begin{document} ...
13
votes
1answer
2k views

How to remove top and bottom whitespace of longtable?

I am using longtable instead of tabular environment and noticed that it puts some additional whitespace at the top and at the bottom of the table. Is there some way to remove it (something less hacky ...
4
votes
2answers
2k views

How to avoid exceeding TeX capacity when using multi-page tables?

I'm using the longtable package (together with xcolor for alternating row colors and booktabs for elegant table headers) to generate a huge table. And by huge, I mean it has more than 900 lines and ...
31
votes
3answers
7k views

How can I make a table that takes up more than a single page?

I've got data that I need to include in a table, but there's a lot if it. I've played with the font size and table formatting as much as I can, but the table still won't fit on the page. Is there ...