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

learn more… | top users | synonyms

4
votes
1answer
22 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 ...
1
vote
2answers
59 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. ...
6
votes
2answers
2k views

How to change the margins for a landscape-orientated longtable in classicthesis

I am using the excellent classicthesis to typeset my thesis. It looks great, and I would be loathe to change unless I had to, but I've run up against a problem. I have a number of longtables in the ...
3
votes
2answers
52 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} ...
2
votes
1answer
533 views

Auto-break Cell in longtable Environment

I try to build a document with a question-and-answer form using the longtable environment with two tabulars. The first one is for questions, the second one for answers. If my cell contains more data ...
7
votes
1answer
907 views

Vertical line in longtable

I would like my vertical line to be slightly detached from the horizontal lines. I am using \usepackage{longtable}. \footnotesize \begin{longtable}{r | p{10cm}} \caption{My caption 1\label{1}}\\ ...
0
votes
0answers
28 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
28 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 ...
8
votes
2answers
8k views

I don't use \centering, but why must I use \arraybackslash in my table?

I don't use \centering or \Centering in my table below. But I will get errors if I don't insert \arraybackslash. Question: What is \arraybackslash for? It seems so mysterious for me. Why must I ...
2
votes
0answers
41 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 ...
0
votes
1answer
111 views

Longtable integration Stata

As far as I am aware, the available commands that produce LaTeX-formatted tables of stored estimates using Stata, will only produce tables using either the table or tabular environments. Do any other ...
3
votes
0answers
164 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 ...
1
vote
0answers
25 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 ...
2
votes
2answers
22 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
38 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 ...
2
votes
0answers
70 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 ...
4
votes
1answer
645 views

longtable does not work on ieeeconf, but works on Document class article

I am trying to add a long table of figures into latex. I am able to successfully add in \documentclass[12pt]{article}. But when I try adding it in the following document class, I get error: ...
0
votes
0answers
14 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
37 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} ...
21
votes
1answer
485 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 ...
2
votes
2answers
106 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} % Включаем пакет для поддержки русского ...
4
votes
0answers
57 views

Long table doesn't 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. ...
10
votes
3answers
14k views

Set longtable to fit the page-width

I would like to set a longtable to fit correctly the page-witdh. From now, I've this situation: and the related tex code is: \usepackage{array} \usepackage{multirow} \usepackage{longtable} ...
0
votes
1answer
51 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} ...
5
votes
1answer
85 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
29 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 ...
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 & ...
3
votes
2answers
34 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 ...
1
vote
0answers
39 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 ...
3
votes
1answer
39 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
37 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) ...
0
votes
0answers
16 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 ...
0
votes
1answer
34 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 ...
6
votes
1answer
47 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
104 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 ...
2
votes
0answers
53 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} ...
1
vote
2answers
29 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 ...
1
vote
1answer
148 views

Space between \hline\hline in `longtable`

I'm trying to use one longtable in my thesis while all others are created with table and tabular environment. I tried to find help visiting this link. But there only one type of table (longtable) is ...
0
votes
0answers
35 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} ...
0
votes
1answer
38 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
23 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
33 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
17 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 ...
2
votes
1answer
31 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}} ...
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
26 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} ...
0
votes
1answer
34 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: ...
1
vote
1answer
119 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 ...