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

learn more… | top users | synonyms

3
votes
2answers
49 views

Change \endhead in the middle of a longtable

I am creating many longtables in my document, where one table represents the results of a specific topic. Normally the header of the longtable consists of the name of the topic, N and some cmidrules. ...
0
votes
0answers
11 views

Longtable in a knitr (PDF) document: using xtable (or kable)

I am new to knitr and I have had some very basic latex knowledge in the past, so I googled already hoping to find a solution that was already posted somewhere. However, I was not able to solve my ...
3
votes
2answers
43 views

Tabu table is too wide though there is enough space to shrink

I'm trying to make this table to fit to \textwidth. The first column has column type X from tabu package which should make it work. But it does not. Adding the "to \textwidth" option dosen't have any ...
1
vote
0answers
24 views

Long and wide subtables

I'm not a LaTeX expert. I'm using it to write my thesis. Here's my problem. I have a set of tables and subtables, wich are very wide and long, so I'm using \begin{table}[H] ...
0
votes
0answers
28 views

package longtable produces strange errors

Community, I am writing a Paper in Latex for with the De Gruyter open style. In general I have a two-column Layout but i need to exclude two big tables that should be horizontal on full pages because ...
2
votes
1answer
41 views

Problem with “underfull vbox” warning

I've a problem with the following piece of code: %%%PREAMBOLO%%% %Classe Documento \documentclass[10pt, a5paper]{article} %Pacchetti per Layout Pagina \usepackage{geometry} ...
1
vote
0answers
28 views

How to make sections in longtable nomenclature

I am using a longtable in my nomenclature to auto-adjust the aligning to the widest label width and would also like to have sections of different types of entries similar to the one here where they ...
1
vote
0answers
18 views

Undesired page-breaks, mdframed and long table

I have a problem. I am creating MSDS sheets using LaTeX, (actually a web-application that creates a LaTeX code). The basic setup of the sheet is such that for each section (there are 16 sections) a ...
1
vote
1answer
33 views

Error: \longtable* already defined

Sorry, I realize this is a duplicate question, but I can't comment on the other one (not enough points? BS.) and there is no official answer anyways. I'm using: ...
3
votes
1answer
55 views

longtable inside adjustbox

The following longtable (or longtabu) is too wide. Naive as I am, I have put the table into a adjustbox, but it does not compile. \documentclass{article} \usepackage{longtable} \usepackage{tabu} ...
0
votes
1answer
58 views

Is There a Way to Automatically Break up Overly Wide Tables in LaTeX

My application automatically generates code to be processed by pdflatex based on tabular data it records. I can't make a lot of assumptions about the data. How many columns there will be and what sort ...
0
votes
2answers
37 views

Centering longtable

I use longtable for some very long tables showing evaluation results. They look ok, but I have two problems with them: For some reason, I don't understand, the table seems to be too wide. When I sum ...
0
votes
1answer
28 views

Problems with Hyperref, Endfloat, Longtable and Appendix

I am struggling with my table references in combination with endfloat and longtable. Somehow, they are not referring to the right table. I get the following problem reported (I think that this is the ...
0
votes
0answers
18 views

Redefine \cmidrule for longtable preventing page-break after \cmidrule

Is there a way to redefine the \cmidrule command in such a way that no page-break is allowed after \cmidrule in longtable? To be more specific: I use both the \midrule and the \cmidrule command from ...
2
votes
2answers
27 views

Left margins are different for longtable and tabular

I would like to use a tabular and a longtable in my document, but the left margins are not aligned. \documentclass[letterpaper,11pt]{article} \usepackage{longtable} \begin{document} ...
3
votes
1answer
84 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
38 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
63 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
33 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 ...
10
votes
2answers
264 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} ...
3
votes
1answer
55 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
30 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
34 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
26 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
43 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
40 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
64 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
38 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
62 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
41 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
45 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
89 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
47 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
19 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
28 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
96 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
52 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
52 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
23 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
28 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
32 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
30 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
47 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
97 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
63 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
33 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
94 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
40 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 ...