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

learn more… | top users | synonyms

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
82 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
86 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
31 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
40 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
48 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
54 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
18 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
52 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
114 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
68 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
51 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
50 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
41 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
24 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
23 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
19 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
16 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
28 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
35 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
38 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
54 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
45 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
44 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
43 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
41 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 ...
3
votes
1answer
59 views

Trying to use longtable

thanks for your help. I'm trying to pass this table into longtable and I really don't get how to do it, if anyone can help me. This is my graduation proyect and is my first time working with LaTeX. I'...
1
vote
0answers
33 views

Longtable twocolumn and onecolumn in same page

I am writing a twocolumn paper, however I need to add a longtable in my paper. and the final output should be like in the picture below.. I tried \onecolumn and \twocolumn trick but it forces ...
2
votes
1answer
21 views

single spaced longtable with apa6

I want to use the longtable package with the apa6 class. The package documentation indicates that longtable should not be called explicitly, but rather listed in the documentclass options. Since I'm ...
2
votes
0answers
33 views

Can I get table column headers on each page?

I am making one table out of many tables and would like the headers to be at the top of each page. I would use \endhead but I dont think I can put longtables in longtables. Here is what I mean. \...
0
votes
1answer
44 views

Ideal file path line breaking within a cell longtable tabu

I am creating a table which has file name, source and destination file paths, and a short description of each file. The description and flag fields have spaces so the line break can be automatic. MWE:...
2
votes
3answers
124 views

How to setup a longtable with booktabs and a colored (head) row

I'd like to make a longtable with the first (head) row colored in grey. Since booktabs inserts white space below the \toprule and above the \midrule, i need to insert a colored rule: \newcommand*{\...
1
vote
1answer
133 views

Table formatting - Best practice to get professional and consistent looking short and long tables

General Understanding Basically, what I'm trying to do is streamline the entire process of creating tables for one or possibly a number of scientif papers. The ultimate objective would be to find ...
0
votes
1answer
35 views

Table shifted to right + bottom - cannot begin table from top of page and left margin

I wanted to check if Latex is an option for outputting nicely readable large tables in genetic papers. Well, I'm still hesitating if I should go along and invest more time in experimenting with it. ...
2
votes
2answers
122 views

Longtable doesn't fit page size

I have a longtable and it doesn't fit the page size. How to fix it? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % Включаем пакет для поддержки русского \...
2
votes
1answer
59 views

How to merge cells in longtable?

I need to create a table which looks like this using longtable : How to create 5th column correctly? Code which I have right now: \documentclass[12pt]{article} \usepackage{dcolumn,longtable,...
0
votes
3answers
32 views

Table row placement in case of linebreaks

I have a table with three columns which include a description, a short abbreviation, and a value. The description might be a very long entry, so I use the p columntype to break the lines automatically....
2
votes
1answer
82 views

How to modify the layout of a longtable using pgfplotstable

In order to prepare a long series of industrial reports containing complicated long tables, I am combining samples of code I have found on the site, and this looks promising. In my field, cells need ...
1
vote
0answers
68 views

Geometry: strange behaviour after \restoregeometry in afterpage environment (and longtable)

I have some strange problem tying place a "fake float" with large tables. Here is a MWE: \documentclass[twoside, a4paper]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{...
1
vote
1answer
61 views

How to avoid ltablex from splitting a table?

I'm using the ltablex package because I have some large tables which have to splitted on multiple pages. But I have much more small tables (with tabularx), which don't need to be splitted. But they ...
2
votes
0answers
42 views

Big space between longtable/longtabu and the preceeding section header

If I add a longtable or longtabu environment directly after a \section command a very big space is set between the header and the table. In case of the second example where some text is in between ...
4
votes
1answer
105 views

Spanning a table horizontally over pages without rotation or using landscape

I have a very wide table, which I like it to span horizontally through pages. \documentclass[runnngheads]{book} \usepackage{longtable} \begin{document} \begin{longtable}{*{25}c} ...
0
votes
2answers
30 views

Linebreak in a longtable

I use the longtable package to create a table that covers multiple pages, but the problem is that the linebreake does not function correctly.This is my code: \documentclass[12pt]{article} \...
0
votes
1answer
20 views

multicolumn doesn't count columns property in pgfplotstable

Consider the following MWE where I would expect the multicolumn to span the number of columns in the pgfplotstable/longtable combination. \multicolumn{\pgfplotstablecols}{r}{{\small\tablename\ \...
0
votes
2answers
234 views

How to generate a table as below?

I try to generate a table like this using {longtable} and {supertabular} but failed. Anybody can help? \documentclass{article} \begin{document} \begin{supertabular}{|c|c|c|c|c|} \hline ...
4
votes
1answer
43 views

Cut an email if the string size is upper than a value

I've a really long document that I generat with a python script. A big part of the doc uses longtable with an email adress: \begin{longtable}{p{0.3\linewidth}p{0.3\linewidth}p{0.3\linewidth}} value &...