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

learn more… | top users | synonyms

1
vote
0answers
32 views

Longtabel LTXtable and rowcolors

When i use longtable the rowcounter seems not to work properly so \rowcolors{4}{black!5}{white} does not work as it should. the same problem was in all tabular environments and could be solved by as ...
2
votes
1answer
57 views

Longtable forces unwanted new blank page

I have a weird problem with the longtable environment. Once the table finishes near the end of the page, it forces the generation of a new blank page which is left totally empty. Here's the MWE: \...
1
vote
1answer
35 views

How working position label longtable?

2 problem: How align "continued table" and \caption text in left? \raggedright not working in this situation. How delete empty line before enumerator? Source code: \documentclass{article} \...
0
votes
1answer
106 views

SAS to LaTeX: Environment longtable undefined

My general problem is that, after oh so many hours, I cannot find a way to bring SAS output into LaTeX. I have one way where SAS spits out a table using the sas package, where it gives you tables in ...
0
votes
1answer
32 views

Need help converting table to longtable

How convert the following table to longtable with the same setting. I have problem with enumerate and correct size row and {tabular} not working in longtable \documentclass{article} \usepackage{...
0
votes
0answers
26 views

Longtable with different headers on different pages

I am compiling a longtable and would like my column headers to be repeated across multiple pages. However, my column headers change midway through the table. Therefore, is there a way of repeating ...
2
votes
1answer
25 views

pgfplotstable and longtable with caption is shown multiple times in tableslist

I'm visualizing a csv file using pgfplotstable and longtable as followed: \newcommand{\powerTable}[3]{ \pgfplotstabletypeset[ string type, col sep = comma, skip rows ...
0
votes
0answers
19 views

Extra \hline on bottom of a landscape page

I am getting an extra \hline on the bottom of a landscape page but can't to seem find where in my code. \newlength{\mtL} \setlength{\mtL}{.82\paperheight}% the next hsize \addtolength\mtL{-\headwidth}...
0
votes
0answers
13 views

Longtable vertical lines disappearing [duplicate]

Hi guys I'm having trouble with vertical lines in my longtable. Whatever margins I try for the columns all the vertical lines disappear or reappear. \setlength{\extrarowheight}{8pt} \begin{center} \...
0
votes
0answers
55 views

Single column table, spanning multiple pages, on two column document

As the title says, I would like to create a single column table, that spans multiple pages, on a two column document. On top of that, the table uses multicolumns. Below is my MWE: \documentclass[11pt,...
4
votes
1answer
46 views

Longtable does not fit the page margins

I am trying to fit a long table within the page margins. I tryied to follow the suggestions provided to other users on the same topic, but nothing seems to work. Any help would be more than ...
2
votes
2answers
86 views

How can I align text of cell at center of rectangle?

I want to make a longtable and I want to align text at each cell of the first and the third columns at center of center of rectangle. For example Fisrt and 2 points as picture, but I cannot align. ...
3
votes
2answers
62 views

How can I convert a longtable into enumerate?

I have a longtable and this is my code \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{fourier} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{...
0
votes
0answers
45 views

Is it possible to wrap a table around another table (or any float/text/minipage)?

Is it possible to wrap a table around another table (or any float/text/minipage)? I.e. the table width is adjusted so another thing indents the table. Imagine text wrapping a float, but instead of ...
1
vote
1answer
31 views

Long table - How can I shrink it without destroying the formatting and how can I wrap the titles of the columns?

I have this long table and I am struggling to find a way a) to wrap the titles of the 3rd and 4th column into two lines (Transmitted data that was unencrypted & Third party domains)and b) I ...
2
votes
0answers
50 views

longtable overwrites page number

In my thesis I need to display a lot of long tables for which I use the longtable environment. Most of the time it works perfectly, but sometimes for some reason it doesn't split the table and the ...
3
votes
2answers
46 views

Longtable - Caption too short

I'm using longtable. But the caption is too short that it splits up my 12 word caption into two lines centered, only 1/3 of the table width. I would like to show the caption in one line. Any advice? ...
1
vote
1answer
41 views

How do I include the word “Table” in the LoT for longtables?

I'm working on my thesis using a package provided by the University. When I compile my document, the LoT is displayed as follows: Do you know how can I include the word "Table" for the appendix C ...
1
vote
0answers
36 views

How to center a longtable in scrbook

During a thesis project (in an scrbook) I try to center a longtable with data and graphics, which is always misaligned. On the search for a solution I stumbled upon a longtable MWE, that worked nicely....
1
vote
1answer
27 views

Vertical alignment of attributes on long table

I have created a longtable of 4 columns. As shown below. I would like to have the attribute on the first column, in this case "Business" vertical (sideways)instead of horizontal. What is the easiest ...
0
votes
1answer
39 views

How to convert this long array into a longtable with four colums?

I have a long array \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \...
2
votes
0answers
91 views

How to place multiple tablenotes on appropriate page with longtable?

I am trying to get footnotes (footnotes 2 and 3 in MWE) at the bottom of the table on the appropriate page with longtable. But with MWE I have provided I am able to get footnote only at the end of the ...
5
votes
1answer
87 views

inconsistent table number

I have the following problem: I placed two tables of the same kind following each other but the second table has inconsistent number: The first table has the number 2.1 (chapter 2, Nr. of the table 1) ...
2
votes
2answers
34 views

too big distance between the lines in a table with Arabic letters

I use the package semtrans in order to print Arabic letters in a Table in my document. My problem is that line spacing between two lines of Arabic letters (probably because of the used font) in the ...
4
votes
2answers
44 views

Help with longtable

I have this very long-table. I want to break it in two pages, specifically at Panel C - meaning that Panel C and Panel D should appear in a new page. I have tried to delete \begin{table} and replace ...
0
votes
1answer
54 views

Using \endhead is causing my table to not align

I attempting to use longtable to layout some tabular data. This works great: \begin{longtable}{l | l l | l} Year & To & From & Task \\ 2015 & Jan 8 & ...
1
vote
0answers
49 views

Problem in combination of longtable and stepcounter{rowcount}

I am making a longtable consisting of 3 columns: linenumber of the text in the table, column with a short abbreviation and a column with possible a lot of text. Since the third column contains a lot ...
4
votes
1answer
48 views

scrheadings and longtable not working together

I need pretty urgent help (thesis hits the printer in two days!) getting scrheadings and longtable working together. The problem is if I have scrheadings enabled, the longtable tables will not align ...
1
vote
0answers
67 views

R xtable and table width

I have to fit a table with many columns to the width of a page, using xtable and longtable environment. My R code is library(xtable) data <- matrix( data = 1000000000, ncol=14, nrow = 100) x....
0
votes
0answers
20 views

Longtable in pgfplotstable

I'm trying to get pgfplotstable in combination with a longtable to work. The data is read from a file "Errordata.dat". The file is saved as ANSI-formatted. 1,2,3,4,5,6,7,8,9 1,2,3,4,5,6,7,8,9 1,2,3,4,...
6
votes
1answer
54 views

longtable extends unnecessarily to a second page

The following code displays what I think is a minor but annoying bug. The longtable shown extends to the second page, but there are no columns on the second page, so it is unnecessary to extend the ...
3
votes
2answers
115 views

Why does a loop fail to repeat when filling longtable contents?

The following works: \documentclass{article} \usepackage{longtable} \begin{document} \newcount\n \n=0 \begin{longtable}{ccc} \loop \ifnum\n<10 \advance\n by1 hello \repeat \end{...
2
votes
0answers
73 views

longtable with pgfplotstable - adding predefined rows and breaking manually

Based on this link pgfplotstable; longtable with caption and repeating header I wrote this MWE: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{multirow} \usepackage{...
1
vote
2answers
67 views

Spacing too tight between rows of a longtable, revtex4.1 document class

I am writing the supplemental material of a paper using the revtex4-1 document class, and I would like to include a long table of numbers that takes more than a page. I read the ReVTeX manual and ...
0
votes
0answers
63 views

How to use longtables in a beamer environment

I have a problem when I use the longtable package in a beamer environment. This is my code : \documentclass[12pt]{beamer} \documentclass[aspectratio=169]{beamer} \usepackage{graphicx} \usepackage{...
0
votes
1answer
45 views

Using of \multirow with alignment in longtable

I've made a longtable and now try to add sells "lang1-2-3-4" like here: Could you please correct my code for longtable. \documentclass[a4paper,12pt]{article} \usepackage[T1,T2A]{fontenc} ...
1
vote
0answers
25 views

Set rowcolors to one specific longtable

I have several longtable defined in my tex file, and I have set alternate colors to the table with \rowcolors{2}{gray!5}{white} in the preamble of the file. The problem with this solution is that all ...
0
votes
1answer
36 views

Problem with the longtable width

How can I set the longtable width to be like the textwidth?. \begin{center} \begin{longtable}{@{}cccccccc@{}} \caption[Feasible triples for a highly variable Grid]{Materiales y medios de ...
0
votes
0answers
24 views

Cellpadding for longtable wanted

When using the tabular environment I used \renewcommand{\arraystretch}{2} in order to get a decent cell-padding. I now switched to longtable environment and there the command has no effect. Anyone ...
0
votes
0answers
22 views

How can I fill the entire page height with text from the longtable before spanning the row to a new page? [duplicate]

I have a long table which spans over a few pages. However, every time I insert a new row which can't fit the remaining height of the page, it automatically adds that row to a new page. My question is ...
2
votes
0answers
37 views

Why text beyond the bottom of the page [duplicate]

I encountered a very strange problem. I wrote an enumerate after a long table, the enumerate text will be printed outside the bottom of a page, and some item text can not be shown. I simplified a ...
0
votes
0answers
17 views

Pagebreak problem with longtable and huge cells [duplicate]

I have a huge table which needs to be split among multiple pages. I tried to apply some solutions I found in various posts on t.SE but I cannot get it work properly. Unfortunately I had to remove 2 ...
0
votes
0answers
30 views

How to break table at end of page

I have the following table representing my acronyms. Due to the length of the table, the table does not break at the end of the page. \documentclass[12pt,a4paper, draft, oneside]{book} \begin{...
2
votes
1answer
36 views

longtable, footnote, m type and arydshln

The longtable package allows to use footnote inside a longtable, as in this MWE \documentclass{article} \usepackage{array,longtable} \begin{document} \begin{longtable}{m{1cm}|m{2cm}} \footnote{...
0
votes
1answer
42 views

AMSMath package not working for csvautolongtable package

I have the following table: ID,Ln,La,N$_{I}$,Period$_{I}$,$\sigma_{I}$ 4,05:18:11.71,-00:01:35.7,13,45,3.56,1e-4 .... I am trying to create the table with the following code: \documentclass[...
1
vote
1answer
62 views

Underfull \hbox warning about alignement in a csvsimple table

The following csvsimple table keeps returning warnings of the type: Underfull \hbox (badness 10000) in paragraph at lines: \csvreader[no head, longtable=|p{\dimexpr 0.2\linewidth-2\tabcolsep}|p{\...
1
vote
1answer
55 views

How to use \footnotesize on longtable content and keep caption \normalsize?

This makes \normalsize-d caption, but table index stays \footnotesize-d. How can I fix that? Text before the long table {\footnotesize \begin{longtable}{lll} <data> \caption{\normalsize My ...
0
votes
1answer
46 views

How can I color a multirow and multicolumns table?

I have this table. I want to color the left column (the two cells with the word Template) of blue. Also I want to color the first row, all the cells from Lineal to Tesla of grey color, and if it is ...
1
vote
1answer
44 views

Split justified text between two pages with longtabu

I would ask how to split justified text between two different pages using longtabu. For now, if a single row exceed the space of the page, the entire text will be printed in the next page, leaving a ...
1
vote
0answers
44 views

Longtable in memoir keeps causing trouble. How to make it span multiple pages (and more)? [closed]

I'm trying to make a longtable and make it span two pages in memoir. I've tried for many days but it doesn't work, so I hope I can get some help here. Maybe I have conflicting packages or there is a ...