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

learn more… | top users | synonyms

5
votes
2answers
104 views

how to get rid of extra \hline drawn before start of longtable?

Whenever I have a long table \begin{longtable}...\hline .... \\\hline \end{longtable} That happens to start at top of a page, I see an \hline drawn at the end of the previous page. However, if ...
2
votes
1answer
32 views

adjustbox missing endgroup inserted. How to fit longtable to page width?

I am working on my thesis. The appendix contains 2 large tables that span multiple pages. These tables are wider than the page height in landscape mode. When using the \begin{adjustbox}{width = ...
3
votes
1answer
25 views

Forcing longtables width exacly within text width

I've been looking for solutions of this problem but I only found solutions that uses small or footnotesize for table font letters, or \setlength\tabcolsep for columns width adjustment. But these ...
2
votes
1answer
19 views

long table multicolumn single word without hyphen [duplicate]

I am trying to create a long table that will be multicolumn. In one of the columns, I have a DNA sequence that is very long. I am trying to use the \multicolumn but the text is not wrapping possibly ...
21
votes
1answer
506 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 ...
0
votes
1answer
14 views

Proper cellpadding for all longtables wanted

I want to add cellpadding to my longtables. This works by writing \renewcommand{\arraystretch}{2} \begin{longtable}[H]{|m{0.1\linewidth}m{0.9\linewidth}|}\hline Content \end{longtable} ...
0
votes
0answers
23 views

Longtables and footnotes

I have several footnotes in a longtable that streches over 4 pages. The problem is that my footnotes only appear on one page of the longtable (the one they were inserted on), whereas I want them to ...
0
votes
0answers
15 views

How can I avoid a longtable to be counted? [duplicate]

I use longtables to add Notes to my document. These notes shall not be counted. Can I tell longtable this (similar to \chapter* instead of \chapter)?
0
votes
1answer
56 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} ...
14
votes
1answer
5k views

Longtable vs. supertabular: Which is right for which job?

I have a fixed-column long table, with much text inside, that spans about three pages. I set it using the supertabular package, and for the most part it is working (I will still have to go back to ...
0
votes
1answer
22 views

Facing problem with longtable while resizing textwidth

I have very large set of lengthy math equations, I have typed these equations in table so as to save space in original manuscript. Since I can not avoid writing these equation in my manuscript neither ...
8
votes
3answers
2k views

pgfplotstable; longtable with caption and repeating header

I would like to use the pgfplotstable package in order to import data from a .csv file into a multi-page table. I would like for the table to have: a caption above it and its header to repeat at ...
0
votes
0answers
26 views

Complex long table not passing through pages

I used this solution to create the layout of the table: tabularx and hhline, to improve the look of the table. Here is the layout: \usepackage{tabularx,array, rotating, caption, hhline} ...
1
vote
0answers
27 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
37 views

How to avoid latex longtable using whole width of page?

When I use longtable with a small amount of columns it uses whole widht of page to display the table. This is the result with three columns: My aim is to make the table only use an amount of space ...
2
votes
1answer
38 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: ...
4
votes
1answer
45 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
1answer
28 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
48 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 ...
1
vote
1answer
26 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
29 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} ...
9
votes
3answers
7k views

How to change font size of longtable-lines without changing font size of caption?

I'd like to change the font size of all contents of a longtable to footnotesize. However the rest of the document and also the caption (!) shall be (stay) in normal size. (pdflatex is used) How can I ...
0
votes
0answers
23 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
21 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 ...
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} ...
1
vote
1answer
40 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 ...
0
votes
0answers
32 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: ...
4
votes
1answer
44 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
67 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
54 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
543 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
916 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
32 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
30 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
43 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
121 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
166 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
30 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 ...
3
votes
2answers
27 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 ...
2
votes
0answers
80 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
649 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
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} ...
2
votes
2answers
115 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
58 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} ...
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) ...