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

learn more… | top users | synonyms

2
votes
1answer
53 views

Longtable cell width problem

I've got a slight problem with my longtable using the IEEEtran article class. I'm using something close to this MWE, the original one is 4-pages longer than this, and the MWE captures the problem. ...
1
vote
1answer
52 views

Vertical alignment (centering) of cells contents in longtable with “m”

I have a table which cells can have one or more lines of text. I want to center all cell contents vertically, while horizontally making text left aligned. So far I have come up with this code: ...
1
vote
1answer
58 views

How can I handle table record with many parameters without CSV?

I have the following situation: I get a record like this \row{day,dayShort,date}{come,go,break,breakGo}{hours,days}{project} from an external program. This program commits 30 or 40 records and I ...
1
vote
2answers
224 views

Fit longtable to width of latex document

I am having the problem of fitting a latex table to my document: \begin{longtable}{|p{2cm}|p{2cm}|l|l|l|p{2cm}|l|l|} \hline \textbf{} & {\ul \textbf{oenb\_dependent}} ...
2
votes
1answer
42 views

Problem with longtable headers

I have the following problem with a table in more than one page. I am using longtable, I need that in all the pages appear the same caption and also in the first page after the caption the word ...
1
vote
2answers
41 views

Long formatting yields awful table

I just tried to format my longtable but the end of the table leaves to much space between the last and the second last column. Since someone helped me to format the table I do not know how to change ...
2
votes
2answers
52 views

Help on converting tabularx to longtable

I have a table written inside a tabularx environment, but now is too large and I need to convert it in a longtable, preserving the same column distribution and width. I don't know how to adjust the ...
1
vote
1answer
28 views

I would obtain a size of caption of the first table like in the second table

\documentclass[a4paper,11pt,twoside,openright]{book} \usepackage[margin=1in]{geometry} \usepackage[utf8x]{inputenc} \usepackage[italian]{babel} \usepackage[T1]{fontenc} \usepackage{fancyhdr} ...
1
vote
1answer
36 views

Misplaced vertical line in longtable environment

\documentclass[12pt]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage{enumerate} \usepackage{graphics} \usepackage{epsfig} \usepackage{booktabs} \usepackage{array} \usepackage{latexsym} ...
3
votes
1answer
110 views

Long tables (spanning multiple pages), put side by side

I have looked in all previously related questions but I have not yet found the solution. The problem is the following: For a business report, the requirement is to report the data in two different ...
0
votes
0answers
46 views

table notes in threeparttable & longtable are not appearing properly

I am trying to add table notes to a longtable. The notes are not appearing right below the caption and they are not flushed left with the table. I am using pdflatex version 3.14, latex2e in ubuntu. ...
2
votes
0answers
96 views

Is it possible for a multirow cell to be split across pages when using longtable?

I am using a longtable for a table that spans multiple pages. To my limited understanding, cells cannot be split across pages. However, I was wondering if it's possible for a multirow cell to be split ...
2
votes
1answer
44 views

longtable leaves wrong margins inside list environment

Special situation, using longtable inside my custom class. When I use \longtable, \end{longtable} instead of \begin{longtable}, \end{longtable}, I get bad margins when the longtable is inside a list ...
5
votes
1answer
169 views

Longtable appears to prevent \enlargethispage from working

The following code works for me, but if I remove the comment and thus add the longtabu/longtable, then the \enlargethispage loses its effect. \documentclass{article} \usepackage{lipsum} ...
0
votes
1answer
37 views

Long table environment not working properly

I'm writing a long table but the contents of the long table are separately written. How can I embed it properly to work. Please run the code to see the self-explaining problem. ...
0
votes
1answer
105 views

How to avoid text from overlapping adjacent columns using `longtable`

I need to use the same format (or pretty similar) at the start of the \begin{longtable}{...} and preferably the same \mylenght defined from the suggested fixes to my previous problem: First problem ...
4
votes
1answer
76 views

Longtable - How to use it within a table environment?

I have the following latex code. My issue is that the table below does not fit the page. I would like to break the table on the "Panel C" row but I couldn't figure out how to do it while keeping the ...
1
vote
1answer
47 views

Center cells in longtable - all together

I would like to find an easy way to adjust cells in my longtable to centered, while still using the p{} definition of the columns. The code I'm using is: \documentclass[a4paper]{article} ...
0
votes
1answer
128 views

Longtabu still not able to shrink text to textwidth even after using X columns

My problem is very similar to this one: Longtabu not able to shrink text to textwidth where the table goes outside the page, even after I explicitly set the width to \textwidth. I also followed the ...
4
votes
1answer
97 views

Printing glossaries with long styles adds to the tables counter

I am using the glossaries package to print a list of acronyms and another one with symbols at the beginning of my document. Since I want my definitions to be aligned and occupy the whole width of the ...
6
votes
2answers
122 views

Fill empty vertical space in a cell

I'm trying to fill the space left in a cell originated by another cell with more height in the same row. \documentclass[a4paper]{report} \usepackage{longtable} \begin{document} ...
1
vote
0answers
81 views

Align by decimal point using long-table

I am have numbers with stars and want to align them by decimal. How is this possible within the longtable environment? \documentclass[12pt]{report} \usepackage{longtable} \begin{document} ...
1
vote
0answers
57 views

Very Wide Table Spanning Multiple Pages in LaTeX

I am writing a two column IEEE paper (standard IEETran). I want to create a table that spans multiple pages in LaTeX. I have tried longtable and that breaks pages rightly. However the problem is my ...
4
votes
1answer
236 views

Adjust longtables to textwidth

I would like to adjust my longtables in a document to the textwidth. What would be the best way to go about this? The code I'm currently using is: \documentclass{article} \usepackage{lipsum} ...
2
votes
1answer
94 views

How to fix longtable and bigfoot LaTeX packages conflict?

When I compile a single *.tex file on my local machine, it seems like the longtable and bigfoot packages conflict resulting in wrong "sticking" of the table header on the next page. Code: ...
1
vote
1answer
86 views

table on a double page

I'm having a really wide table with lots of rows. Transposing or splitting is not an option. Searching the internet did not lead to any usefull findings. is the a possibility to build a table like ...
3
votes
2answers
115 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
276 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
67 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
108 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
67 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
87 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
55 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
42 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
267 views

Error: \longtable* already defined [closed]

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
302 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
81 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
182 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 ...
1
vote
1answer
110 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
39 views

Redefine \cmidrule for longtable preventing page-break after \cmidrule [duplicate]

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
121 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
171 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
193 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
80 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
79 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
739 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
65 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
53 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
76 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
48 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 ...