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

learn more… | top users | synonyms

3
votes
1answer
65 views

How to make a longtable has rounded corners?

I try this, but it does not work \begin{table} \caption{A table with rounded corners} \centering \begin{tikzpicture} \node (table) [inner sep=0pt] { \begin{longtable}{l|l} ...
2
votes
2answers
19 views

How do I change the style of a longtable caption?

I have \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{|c|c|} \caption{A caption.}\label{tab1} \\ \hline 1 & 2 \\ \hline 3 & 4 \\ \hline \end{longtable} ...
2
votes
2answers
49 views

From table to longtable

I have tried to convert this table to longtable but did not succeed and am hoping that you can help. The longtable-package is loaded already. \documentclass[a4paper,oneside,abstracton]{scrartcl} ...
1
vote
0answers
28 views

Longtable Duplicate Separator at Page Break

I have a longtable spreading over 2 pages. Unfortunately, since I decided to use the booktabs package, I get a duplicate line separator between the table header of the second page and the next table ...
2
votes
1answer
38 views

Appending an empty row after every 5 or 10 rows in LaTeX table

I wonder how to append an empty row after every 5 or 10 rows in LaTeX table. Here is my MWE in .Rnw format. Any help will be highly appreciated. Thanks \documentclass{article} \usepackage{longtable} ...
3
votes
1answer
51 views

Longtable and automatic spacing

I am using the longtable environment in combination with the siunitx package for 3 of my 10 columns. Unfortunately, when compiling the spacing of those three columns is not automatically adjusted. ...
1
vote
1answer
26 views

vertical alignment of minipages in two columns in a longtable

I began to learn latex and I use it to prepare a CV. I made good experiences by organizing my CV with a longtable, in order to define the widths and the alignments of the different text blocks. In my ...
3
votes
1answer
32 views

How do I put align elements into fixed columns?

I want an "align" equation in one column and a text table in the other column. In LaTeX, it seems that "tables" and "columns" are separate but overlapping mechanisms. In LaTeX, "columns" seem to be ...
2
votes
2answers
23 views

Get rid of text over footer after figure and long table

The document is otherwise exactly what I want. The text respects the footer on every page but one. On this one page, the first thing is a figure, followed by a longtable (that doesn't actually ...
3
votes
2answers
39 views

Page numbering wrong with longtable and captions

I'm attempting to make a product catalog/price sheet. I am using longtable, since it's not uncommon for tables to span more than 1 page. Everything works great, but it seems when a longtable starts on ...
4
votes
1answer
31 views

Decrease spacing between lines of paragraph in longtable.

I used the suggestion from Adding row spacing to a longtable? to decrease the row spacing in my longtable. \documentclass{article} \usepackage{longtable} \begin{document} ...
2
votes
0answers
57 views

How to break tablenotes (page break) in longtable with threeparttablex?

How can I break my TableNotes in ThreePartTable (it is a landscape table)? \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[top=2.975cm, bottom=2.975cm, left=2.975cm, ...
2
votes
2answers
35 views

Align the sep-lines when using tabular inside a longtable

When I create a tabular inside a longtable, although the column width of longtable and tabular are the same but the seperate lines aren't align. \documentclass[10pt,twoside]{article} ...
2
votes
2answers
52 views

Change longtable's font size without changing the caption

I'm trying to put quite a long table in my thesis. To save some space I want to reduce the row height, the column separator and use a smaller font size in the table. The problem with the following ...
1
vote
0answers
31 views

\newline not working with longtable?

This table comes from SAS output. The \newline is not working correctly. E.g. "Percent trimmed in tail" ought to be Percent Trimmed In tail but it is showing up as Percent Trimmed In Tail Here ...
1
vote
0answers
32 views

How can I break lines automatically in tabular to fit to page width? [closed]

I expect to break a long text automatically in tabular. After searching this site, there are several ways: (i). Use p{dimension} in tabular, answered here \begin{table}[h] \begin{tabular}{|l|l|} ...
2
votes
1answer
77 views

Longtable smaller size, less space between columns and lines

I created a table from a Stata output, which is longer than one page. I used the package longtable, but the table is too long and width for the page and doesn't adjust. I want to have the table on one ...
2
votes
0answers
45 views

Cutting a table along columns

How do I split a table by its columns? \documentclass[a4paper,10pt]{scrartcl} \usepackage[utf8]{inputenc} \begin{document} \begin{center} \begin{tabular}{llllllllllllllllllll} very long text & ...
1
vote
1answer
17 views

Allow page break in table in customized environment

\documentclass[12pt]{report} \usepackage{amsmath,enumerate} \usepackage[top=1cm,bottom=1.5cm,left=1cm,right=1cm]{geometry} \usepackage{booktabs} \usepackage{longtable,tabu} % allow page break ...
0
votes
0answers
24 views

Longtable headings doesn'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
84 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
42 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: ...
2
votes
1answer
46 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
22 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 ...
3
votes
0answers
34 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 ...
1
vote
1answer
18 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
28 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
28 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 ...
1
vote
1answer
39 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
2answers
95 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 ...
0
votes
0answers
24 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 ...
2
votes
1answer
54 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} ...
3
votes
1answer
31 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
85 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
36 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
47 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
41 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. ...
2
votes
2answers
62 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 ...
1
vote
0answers
22 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 ...
6
votes
1answer
102 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} ...
2
votes
3answers
49 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 ...
1
vote
2answers
102 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
83 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 ...
2
votes
1answer
62 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 ...
0
votes
1answer
53 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: ...
1
vote
0answers
59 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 ...
3
votes
2answers
104 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 : ...
0
votes
1answer
61 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
1answer
55 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 ...
0
votes
1answer
40 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 ...