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

learn more… | top users | synonyms

2
votes
1answer
41 views

Longtable: wrapped text and justification of columns

I'm setting a manual line break in a longtable with endfloat. I have created a landscape environment called lgtable and registered it with endfloat so that when the table is sent to the end of the ...
0
votes
1answer
59 views

Help longtable ,landscape,footnotes

I am having a problem with footnotes in lanscape longtable. Below the code I am using ,but the footnote are not appearing at all.Also I tried to use minipage ,but it seems that it doesn't work. Thanks ...
1
vote
0answers
50 views

very long table - 31 columns to fit page

I'm a bit desperate after hours of trying without any success. I have an ouput from R, but the tables are way too wide, having 31 columns. Is there anyway of automatically splitting the table? Maybe ...
6
votes
0answers
92 views

Doing things to every page of a multi-page table

So, the designers did their job and specified coloured backgrounds and rounded corners for all tables. Like so: As described here, this requires doing nasty things like putting the whole table ...
1
vote
1answer
45 views

Flushright or left of a long Table [duplicate]

I have a very long table that cannot be displayed on the page because it is too long and the right hand side of the table has been cutoff. How can I modify the \begin{center} to something else so ...
1
vote
1answer
39 views

longtabu: put running total of some columns under the header on each page

so, I have a longtabu table spanning several pages. The table has a header, that needs to be repeated on each page. Some of the columns are numerical amounts, and I would like to put a row presenting ...
1
vote
1answer
73 views

Is it possible to change the spacing between particular columns of a table?

I am struggling to make a longtable fit on A4 pages in portrait mode. The problem is that the table is too wide. I am not allowed to use smaller fonts (that would solve my problem but it's not an ...
0
votes
0answers
41 views

Can I have a multipage table with fluid column width? [duplicate]

I have a few tables with lots of text in two columns, so I used tabulary to have fluid column width. But then I noticed that I have a table which is longer than one page (I am using a standard article ...
3
votes
1answer
60 views

! Misplaced \omit. Longtable Error and Caption Misalign Extra alignment tab has been changed to \cr

The issue that I am having with the image of my longtable is that the caption is not centered and I have vertical lines that appear above my table. I have looked up other posts about my errors but non ...
2
votes
1answer
58 views

Latex longtable not working?

I have some data I have put in Latex in order to make a table for a report. The table would extend over two pages but my longtable code seems not to make it to the second page. The code I am using is ...
0
votes
1answer
33 views

Longtable caption too separated

I'm using \longtable for a wide table (wider than the example) and the caption appears too separate from the table. I know I could use the option skip like \usepackage[skip=0pt]{caption}, but this ...
3
votes
1answer
513 views

Package array Error: Illegal pream-token

I get the following error: Package array Error: Illegal pream-token (\renewcommand): `c' used \renewcommand When I run my minimum working example: \documentclass{article} \usepackage{hyperref} % ...
3
votes
1answer
40 views

Itemize environment of longtables?

I want to make a list of longtables. The example shows that the table is not indented and the bullet point is not next to the table. How can I do this? It works if I use a tabular environment but I ...
3
votes
2answers
74 views

Table: problem in right most vertical line :(

\documentclass[11pt,a4paper,onesided]{report} \usepackage[utf8]{inputenc} \usepackage[showframe, nomarginpar, left=1.5in, right=1in, top=1.5in, bottom=1in,]{geometry} \usepackage{array} ...
4
votes
2answers
68 views

Heading of paragraph on left side

I want to list something in my document. Each point in the list has a short heading (one word, for example "Usecase"). This word should be on an own column to the left of the text which gets added ...
3
votes
2answers
238 views

Very long table with 25 columns

How can I make a table with 25 columns and 30 lines in one page or more? Result is Thank you
4
votes
1answer
78 views

multicolumn in longtable with span dependant on number of columns

How can I use \multicolumn in a longtable environment to span all columns except for one? The \LT@cols counter is probably the way to go. However, doing arithmetics in LaTeX seems somewhat ...
5
votes
2answers
93 views

How to split long table into two columns ?

I have a table which is very long, so I have used long table to split it across multiple pages, now that still it is spanning many pages, I want to further split the table into two columns in each ...
3
votes
1answer
52 views

My longtable is not fitting in the pagewidth

It looks like this question has been asked many times, but I was unable to solve my problem as I am new to latex. I have the following longtable in my .tex document \begin{longtable}{@{}lll@{}} ...
6
votes
1answer
106 views

How do I remove the space before the first item and after the last item of an enumerate list inside a longtable?

I have several longtables in one document and they all have a fairly big gap before the first item and after the last item of every enumerate-list. Does anyone know how to get rid of that? ...
2
votes
1answer
132 views

Underfull \vbox (badness 10000) detected at line

I have a not-that-complicate table like below, but I always got a error "Underfull \vbox (badness 10000) detected at line 127", hopefully you can reproduce it. Does anybody know the reason and how to ...
4
votes
0answers
49 views

Long table doesnt print out all items [closed]

I hope someone could help me with this, since I'm new to latex and I have very little latex knowledge which help me to solve this problem. I've been struggling googling the answer for days already. ...
0
votes
2answers
62 views

Creating a table within a longtable

I have created a longtable by using information from the question asked here. Now I want to create a table with two columns with 3 rows each within the right part of this long table. A pictorial ...
1
vote
1answer
69 views

longtable wrong caption

What is the right way to put the caption with longtable? My numbering starts at 2 and I don't have nested tables. This is corrected if I put \caption{Bla} before \end{longtable}, but it will always ...
4
votes
2answers
67 views

Change the font size in longtabu table

I was searching here to find a way to change the font size from normal to \footnotesize for the longtabu tables. However, the answer in longtable question didn't work in my case. They made corrections ...
4
votes
1answer
284 views

longtable caption formatting

I'm having some troubles with captions in longtable tables. I'm trying to typset for a thesis (so am using a class that I didn't write) and my school requires double spacing for body text but single ...
2
votes
1answer
48 views

Splitting a code listing inside a longtable

Is there a way to have code listings split across multiple pages when included inside a longtable? For example, the following code: \documentclass{article} \usepackage{listings} ...
5
votes
1answer
85 views

Table widths have changed - rerun LaTeX

I have an application which stores LaTeX documents, and then (when the user clicks on a link) renders them into PDF files to be downloaded or viewed. This works well in general, but I'm running into ...
0
votes
1answer
126 views

Adjusting longtable fontsize in latex

I am not very good at Latex. I have to write a table spanning multiple pages. The following code produces the a table exactly the way i want, however it reduces the font size. If i do not use the ...
3
votes
2answers
74 views

Rotated multipage table at start of chapter

I'm working on an article in which I have to put a large and wide table. This table is directly at the start of a new chapter. Because it is very wide, I want to rotate this table (or use it in a ...
2
votes
0answers
47 views

Longtable overflowing with ESKDX

When I try to create a longtable with \linewidth width in portrait orientation it handles very strange. Here is the MWE ...
4
votes
1answer
99 views

balanced longtables, multicol and page breaks

For a long time, I have been looking for a nice way to have balanced tables inside a multicol environment. Especially, I would like to have automatically balancing multicol-tables inside a table ...
6
votes
1answer
231 views

How to solve longtable is not in 1-column mode error?

I'm trying to compile a document with the example code for longtable but I get an error saying that longtable is not in 1-column mode. Suggest me the correct way?
3
votes
0answers
62 views

Word wrapping for long strings with no spaces in a long table

I have the following tex: \documentclass{article} \usepackage{color} \usepackage{longtable} \usepackage{dcolumn} \usepackage{graphicx} \newcolumntype{d}{D{.}{.}{2}} \begin{document} \centering ...
2
votes
0answers
26 views

How to use maximum space of page to include long tables

I am writing a report and facing similar problem. I want to included a long table (spreading over many pages) in the appendix of the report. The tale contains around 100 columns but only four rows. I ...
0
votes
1answer
65 views

Longtable fill entire page

I'm using the longtable environment inside the landscape environment, as I have a large table, which spans several pages. However, I would like my table to fill out the entire page with little to no ...
3
votes
1answer
69 views

Spacing text in table cells

How do I to space these two cells on this way? And not on this way: Code: \begingroup \setlength{\LTleft}{-20cm plus -1fill} \setlength{\LTright}{\LTleft} ...
2
votes
1answer
163 views

Dynamic table column generation

I'm trying hard in finding a way to streamline my table generation. As you can see in the attached code, the problem is related with the code "\@for \el:=#1\do{\textbf{\el} &}", where "&" ...
4
votes
1answer
130 views

longtable vertical column separators

I have a quite complex longtable design and I would like to add white column separators. I can add black separators using | but the placement of the lines does not seem ideal either. ...
5
votes
1answer
106 views

Fit coloured longtable to pagewidth

There is a similar question and solution posted here. However, I can't use this solution as I have a coloured table, and the given solution causes white gaps between each column. Is there a way to ...
5
votes
1answer
115 views

Vertically align individual cells in a table

I am wanting the ability to vertically align any cell within a table. This appears possible but only on a per column or row basis. At the moment I can horizontally align the contents of individual ...
1
vote
0answers
117 views

How to disable / suppress bad box warnings within a longtable?

I have a quite long (3 pages) longtable in landscape and it is generating me a ton of bad box warnings (overfull \vbox and \hbox messages up to 30.0000pt too wide). But the table is perfectly fine for ...
3
votes
1answer
46 views

Adding longtable to \listoftables

How to add a longtable into a listoftables, please ? I've filled my longtable, but, the listoftables still empty. How to deal this please ? The code tht I've used : \begingroup ...
0
votes
0answers
36 views

Landscape longtable display only one page

I really try to display this table as landscape, but I always get only first page of it. \documentclass[a4paper,12pt,titlepage]{article} \usepackage[english, czech]{babel} \usepackage[T1] {fontenc} ...
1
vote
1answer
42 views

Strange behaviour with longtable

Consider the code \documentclass{report} \usepackage[margin=2cm,showframe]{geometry} \usepackage{longtable} \usepackage{lipsum} \begin{document} \lipsum[1-2] \begin{longtable}{p{8cm}} \lipsum[3-5] ...
3
votes
1answer
67 views

Extra alignment tab has been changed to \cr end template?

I get the error mentioned in the title of the question. \begin{table*}[!ht] \centering \caption{\textit{first scenario : heuristic methods}} \label{Table2} \resizebox{2\columnwidth}{!}{% ...
2
votes
2answers
60 views

Creating table without problem of exceeding page

I would like to create a table like this, but the first row is too long and exceeded the width of page. How can I create and fix this problem in latex?
2
votes
3answers
75 views

cannot create longtable

could you please help me with the following matter? I am trying to create a long table using the longtable environment. But I keep getting errors. Thank you. Here is my code: \documentclass[11pt, ...
2
votes
1answer
61 views

Bad pagebraks in longtable (empty table on second page)

I have some strange problem with my longtables. In some tables there is a pagebreak after the last row and on the second page there is the table header printed again without following content. I use ...
2
votes
0answers
33 views

How can I import an excel table into latex longtable [duplicate]

I want to import some data from excel which is in table form (raw from that it not formatted) and I want to import into a longtable with the appropriate formatting (if indeed it can be done in one ...