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

learn more… | top users | synonyms

0
votes
1answer
63 views

Apply a figure caption inside of a longtable

I'm using the 'longtable' environment to display a number of figures. I'd like to include a caption at the bottom of the first page as a Figure caption, not as a table (so that it also shows up in ...
0
votes
0answers
11 views

Longtable headings don't appear with fullwidth package

I'm writing a document with long and wide tables spilling over the margin area in a two side document class. I'm using the Marco Daniel's fullwidth package. Using longtable (and even longtabu) the ...
3
votes
1answer
63 views

Indentation of a longtable

I have a table without borders, spanning two pages, the text contained in which I want to start with the same indentation as my hanging footnotes. I have a rough solution, but it relies on inserting ...
1
vote
1answer
37 views

Longtable spacing

I am using longtable and I cannot find a way to adjust its column spacing. I want a table like this: But I am getting this: This is what I am doing for defining table size: ...
1
vote
2answers
49 views

Border of pictures are not coming in longtable

\begin{longtable}{|lllllllll|} % [ht] \caption{Create } \\ %\label{step 3} \hline \multicolumn{3}{|l|}{\textbf{Prefix}} & ...
3
votes
0answers
33 views

How to divide a long tabular into 3 columns per page? [duplicate]

I'm making a set of very long (1000 rows each) data tabulars. I'm using the longtabu environment, since it can split over pages. My problem is that each of the tables is around 16 pages long, and ...
2
votes
1answer
39 views

Mixing m and X in tabularx

I have a problem with tables containing m and X columns. I need one column which should be vertically centered and another one which should fill the available horizontal space. My problem is that the ...
1
vote
1answer
15 views

Boldface “Table” in caption of longtable, using the svjour3 document class

I am using the svjour3 class to submit a tex document to a Springer journal. In this class, table captions appear like this: Table 1 An example of a Table caption If I use longtable however, I ...
1
vote
1answer
13 views

Multirow line width

I'm having an issue with this code \begin{table}[H] \begin{longtable}{| p{4cm} | p{2cm} | p{7cm} |} \hline \multicolumn{3}{| p{14cm} |}{\cellcolor{lightgray} \centering \textbf{Iniciar ...
0
votes
0answers
22 views

longtable overwrites bottom margin

I'm a newer Latex programmer. I'm working on an existing project (I must fix some problems) and I have a problem with a longtable. It overwrites the bottom margin and i lose one rows (in this case ...
1
vote
0answers
49 views

How to make glossary use the full textheight?

I am using the package glossaries to create a glossary in my document. My glossary is too long to fit on one page, therefore LaTeX automatically continues the table on the next page. However, the ...
2
votes
1answer
25 views

Is there an incompatibility between collcell, longtable, and/or arydshln?

In the past (may be last year or so), I have used these three packages together successfully (and produced a conditionally colored long table). That tex file still compiles nicely; however, the ...
0
votes
1answer
47 views

Command to automatically start new row

I need not trivial help. I have a command with parameters. This command fills in and prints the following table: \begin{longtable}{|p{3.2cm}|p{2.5cm}|p{2.5cm}|p{2.3cm}|} \hline Some Text: & ...
1
vote
0answers
24 views

Paragraph between longtable title and main table?

First: I am very new to LaTeX. Therefore, please assume I know next to nothing about LaTeX - because I probably know next to nothing about LaTex! Problem: How can I add multiple paragraphs of text ...
2
votes
1answer
54 views

Adding a different colored line to each row of a table

It is possible to get colored \hlines with the example provided below. However, there are several issues with this implementation: It needs a \newcommand for every color, which then has to be used ...
1
vote
1answer
34 views

Longtable's caption mixed with footnotes

I use longtable for building tables in my text works & caption in the bottom. I like this multipage table environnement. But sometime, I see a problem : awful ! My caption is mixed with footnotes… ...
2
votes
1answer
44 views

tex4ht: How to create fixed width table columns

I used tex4ht. I need to create longtable with fixed width of column. However specified width is ignored. Example: \documentclass[9pt,oneside,a4paper,english,notitlepage]{book} ...
0
votes
0answers
22 views

How to center the caption under longtable?

I have to use the document class and style of the university to write my msc thesis. But they seems to put the caption under longtable on the right instead of centered. Under the normal table it works ...
4
votes
1answer
35 views

Cycle Columns With Longtable

I'm constructing a longtable with paired data sets that spans several pages. However, once I reach the end of the first column on page 1, the data continue into the first column of page 2. Is there ...
3
votes
1answer
27 views

Longtable alignment with caption

I try to make a table with a caption and I have some issues with the layout. How can I force the table to fit in the width of the caption? The last column is sticking out. And how could I adjust ...
1
vote
3answers
79 views

Making a longtable that does not interfere with table numbering

I would like to use longtable to make list of abbreviations in the front matter of my thesis. I did not caption it, so it (rightly) does not show up in my list of tables. However, it does throw off ...
1
vote
1answer
33 views

Strange alignment problems in longtable

I have written a few environments for formatting use cases. For some reason I am having strange alignment issues in my longtable. I think that there is some invisible placeholder in there messing it ...
1
vote
1answer
31 views

longtable+ltxtable = ! Extra alignment tab has been changed to \cr

How to fix it? I lost any & or newline ? The error: ! Extra alignment tab has been changed to \cr. <recently read> \endtemplate l.16 h1 & h2 & h3 \\ The ...
3
votes
1answer
43 views

Is there a way to insert \caption{} inside a multicolumn on top of a longtable?

I have a coloured table and I'd like it to be sort of uniform and have the \caption inside the coloured space serving as a title as well. I can insert the table number with \thetable but then I'd have ...
3
votes
2answers
40 views

How to \caption a longtable imported from a file by \input{file} and use a smaller font?

I'm generating a boring longtable from a database into a file. My goals are: Import the generated longtable into another document. The longtable data is dynamic and must be imported periodically. ...
1
vote
1answer
48 views

how to compile a latex file containing only a table and references inside the table

I have a latex file (supplement.tex) with only a table in it. This table is a supplement to a paper, and I need to use references inside this table. The complete list of references are already listed ...
2
votes
1answer
50 views

A conflict between caption & longtable packages raises the “overfull \hbox” warning!

Note: This is not a duplicate, as I've already searched most of the suggested duplicates in search of an answer, but it proved to be of no avail! Therefore, please help! Problem: Overfull \hbox ...
2
votes
2answers
47 views

How to color column heads determined width makecell

In my answer to question How do I repeat the first table row on every page using longtable inside of tcolorbox? I suggest to (between others) to use makecell package to define head of table and ...
6
votes
1answer
98 views

How do I repeat the first table row on every page using longtable inside of tcolorbox?

I'm using the \endfirsthead and \endhead but the first row is not repeated for some reason. Here's a piece of my code, I'll appreciate any help. \documentclass[12pt]{article} \linespread{1.2} ...
1
vote
0answers
19 views

Problems with longtable: Continuing borders, controlled wrapping & general tips

I've got the following longtable: \documentclass{report} \usepackage[latin1]{inputenc} % Deutsche Umlaute mit Schriftsatz latin1 \usepackage{ngerman} % allows index generation ...
1
vote
1answer
49 views

Show table caption only on first page [duplicate]

I have a \longtable that splits over two pages and currently shows the label and caption at the top of each page. Can I change this so that the caption and label to only appear on the first page and ...
2
votes
3answers
36 views

Make last column take all remaining space in longtable

I want to create a table using longtable where all columns have a fixed length except the last one, which should take all remaining space. The table itself should be full page width. I tried the ...
3
votes
2answers
99 views

Footnote in multirow & longtable doesn't print

Why footnote is printed with multirow when I use mpsupertabular environnement and not in the longtable, & how may it run ? Thanks for yours solutions. Here an exemple : the note 3 isn't printed : ...
1
vote
2answers
73 views

Using long table to split a table across multiple pages

I am using the excel to latex add in to generate tables from excel, however, when the table is too long it is not split automatically between 2 (or more pages). Is there any easy way to do this? I ...
0
votes
1answer
52 views

Adjust Longtable to textwidth

I have a problem with the adjustment of my longtables to textwidth. I use tables with a different number of columns, and apparently LaTeX fails to adjust them to the same width. All Longtables with ...
1
vote
0answers
51 views

Space between \hline\hline in `longtable`

I'm trying to use one longtable in my thesis while all others are created with table and tabular environment. I tried to find help visiting this link. But there only one type of table (longtable) is ...
0
votes
1answer
45 views

Make all longtables in a document full page width

I have a set of documents with lots of tables using the longtable package. I am looking for a way to force all tables full page width. I know that this can be done by setting this in the preambles: ...
2
votes
2answers
449 views

Adding a caption to a graphic inside a longtable

I have the following longtable : \begin{longtable}{|p{10cm}|} \hline some text \includegraphics[width=10cm,keepaspectratio]{\basedir some.png} some text\\ \hline ...
0
votes
1answer
38 views

How to detect pagebreaks and insert text at the top of the typeblock on each new page?

I have a document which pulls in an external .tex file which is procedurally generated from a database and then interpreted into a multiple page table-like graphic written in TikZ. However, when I ...
4
votes
1answer
43 views

csvsimple and longtable (automatic headerline)

Helping a other communitymember (see using csvreader to read from csv giving invalid output) on a csvreading task I have tried to solve a problem, like the following... ...
0
votes
0answers
13 views

Colorizing lines in a longtable, but not the caption [duplicate]

I'm trying to colorize lines in a longtable, which is working except it is colorizing also the caption, like this - \documentclass[a4paper,12pt]{report} \usepackage[table,hyperref,dvipsnames]{xcolor} ...
2
votes
2answers
83 views

using csvreader to read from csv giving invalid output

I am trying to output a *.csv file to LaTeX, but I keep on getting invalid output. I am using mactex on a yosemite environment. code.csv: code,subcd CITY,LIMA CITY,PUEBLOLIBRE CITY,JESUSMARIA ...
1
vote
2answers
94 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. ...
2
votes
0answers
26 views

Longtable not starting immediately after section tittle [closed]

I have been trying to fix this problem by reading many posts for the last two day and I have not been successful. I have a long table that spreads over three pages and I want to start after the ...
4
votes
1answer
58 views

Landscape-oriented table over multiple pages

I would like to spread my vertical table over multiple pages. I tried it with sidewaystable and longtable, but that put everything on one page. Another idea would be just to create x tables, where x ...
2
votes
1answer
33 views

In Longtable, In multirow greater than \textwidth

MWE \documentclass[a4paper,12pt]{book} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} \usepackage{array} \usepackage{longtable} ...
1
vote
1answer
44 views

Creating a large horizontal table

i want to create a horizontal table, which gives an overview over other studies in my field. I tried the following: \documentclass{article} \usepackage{hyperref} \usepackage{pdflscape} ...
0
votes
1answer
42 views

Add extra space between groups of rows in a longtable except at a pagebreak

I am working on a table where I need to add extra space between groups of rows. I have currently been doing this by ending all but the last row within a group with \\* (which prevents a page break at ...
1
vote
2answers
62 views

Longtable, even pages starting left, have margins [Title changeable]

That my whole codes compiled, some pages are below. odd page even page My problem, the longtable does not start left in even pages. That I want, add to the marginparwidth and marginparsep. Here ...
0
votes
1answer
65 views

Longtable & scalebox

I have a very long table which i decided to make smaller using scalebox (successfully) and also split into two pages using longtable. However, no matter how hard I try, I cannot run those two things ...