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

learn more… | top users | synonyms

2
votes
1answer
529 views

Caption of longtable tables when using memoir

It seems the longtable package provides its own captions totally separate from the ones provided by memoir. There is a question on this site hinting at using the caption package for styling the ...
4
votes
1answer
340 views

longtable: Keeping some cells together on the same page

I'm using longtable in my CV to list work experience, so it can continue over multiple pages. However I like to keep some rows together, such as employer and job title, is there a way how I can do ...
4
votes
1answer
6k views

Cell shading without removing lines

I was wondering if there is any way to shade some cells in table without removing lines. I starged with this command \cellcolor[gray]{0.9} however upper line of the cell disapeard. Is there any ...
1
vote
1answer
435 views

Custom (or any) environment inside tabular adds unwanted vspace

I wanted to define my own version of a verbatim-like environment, that has some less line spacing and uses alltt instead of verbatim, so what I can use \(\cdots\) inside. What I tried was: ...
2
votes
3answers
4k views

Booktabs and longtable - strange spaces between lines

I needed to make some horizontal table lines bold so I used booktabs package. However if I use \toprule command to make line bold I get strange outcome - there are some spaces between bold line and ...
4
votes
2answers
422 views

Preserving table width and header, when using tables across multiple frames in Beamer

When using the beamer class, how can I create a table which preservers the contents of the header and the width of the columns across multiple pages, without naming this width explicitly? longtable ...
4
votes
1answer
455 views

Why longtable adds vertical skip after head on subsequent pages and how to fix this?

Why longtable adds vertical skip after head on subsequent pages and how to fix this? \documentclass{article} \usepackage[a6paper,margin=4mm]{geometry} \usepackage{booktabs,caption,longtable} ...
6
votes
1answer
12k views

Help on converting table to longtable

How can I convert the following table to longtable with the same result (but being able to break across pages)? \begin{center} \renewcommand*{\arraystretch}{1.5} \begin{table}[h] \begin{tabular}{ ...
5
votes
1answer
6k views

Multirow and lines - how to draw line going through selected columns

I was wondering if it is possible to draw line which goes through some columns in table(not all columns). I have a table which looks like that \begin{longtable}{|c|c|c|c|c|c|c|c|c|c|c|c|} ...
5
votes
1answer
644 views

longtable: how to avoid duplicated midrules below table title?

I want to typeset a longtable which is structured by midrules, as the rows are divided in groups. If it happens (which is in general desirable!) that a group is not split by a page break, in other ...
2
votes
1answer
301 views

A few problems using longtable

I am quite new to LaTeX but I love its typographic clearness and I'm using it to create pdf for some geometric drawings, nothing involved with scientific writing. Now I'm working with some Lissajous ...
4
votes
1answer
171 views

How to avoid duplication of longtable setup code

I have many longtable's in my document. Everything is the same across all the tables, except for the caption and the content (of course). How can I avoid duplicating the stuff required to set up ...
2
votes
1answer
287 views

Using parindent within the longtable environment

Here is a simple test case of the problem I'm having: \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{p{2in}|p{5in}} foo & \parindent=1in bar \\ ...
6
votes
2answers
6k views

How to change font size of longtable-lines without changing font size of caption?

I'd like to change the font size of all contents of a longtable to footnotesize. However the rest of the document and also the caption (!) shall be (stay) in normal size. (pdflatex is used) How can I ...
0
votes
1answer
542 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
332 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
213 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
258 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
462 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
149 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
759 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
798 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
1k 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
729 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
623 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
950 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?
18
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
185 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
599 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
373 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
589 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
746 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
6k 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 ...