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

learn more… | top users | synonyms

1
vote
2answers
127 views

Table and longtable format

I have written LaTeX code for the table I showed but the output is going over the page and doesn't look like same. I mean the cell values are scattered. In every cell numbers are arranged as up and ...
5
votes
1answer
71 views

Need labels and refs in longtable rows [duplicate]

In a longtable, I need the first column to display numbers based on an enumeration by references to labels. This means I can refer to the rows somewhere else in the text. I imagined it would help to ...
1
vote
0answers
41 views

Table troubled in a landscape document

I'm making a long enough table to the landscape document here. But, as you can see, it does not correct. What should I do? The codes: \documentclass[11pt, a3paper, landscape]{scrartcl} ...
2
votes
2answers
1k views

Big Table in latex

Could you please helping me to draw a nice big tables like this one , I don't know how to mange the big table in LateX Many thanks
3
votes
3answers
75 views

Unwanted extra gap in longtable

I have finally faced a problem when all googling, this forum and any wittiness could not help me out. I have been working in a \longtable environment when in seemingly the most simple table I have ...
4
votes
1answer
106 views

How to include a multipage table from an external file

I usually save my tables as standalone PDFs, generated by compiling a standalone document and then include them in the main file via \includegraphics{pdf.name} However, I now have a two-pages table ...
2
votes
2answers
168 views

Double header in longtable

I'm trying to make a longtable and use some R tools for generating them. The problem is that when a long table has more than one columns, it creates double headers, as shown here: ...
1
vote
2answers
54 views

How to fix longtable in right margin

Hello I tried some solutions proposed in other similar questions but I didn't get any solution, my problem is that the longtable don't fix as I want. \documentclass[12pt]{article} ...
3
votes
1answer
84 views

Long landscaped table

I've created a table with http://www.tablesgenerator.com/ and wrapped it with \afterpage{ \begin{landscape} \begin{longtabu}{X} to rotate the table and fit it to as many pages it needs. My code ...
7
votes
1answer
61 views

Biblatex Ibid. citations inside longtabu environment

When using ibid citations inside a longtabu whilst on a page that already has a citation on it, the citation is ibid regardless of whether the author has been cited on that page already or not. ...
4
votes
1answer
590 views

Center longtable horizontally over two pages in landscape

I have a longtable in a landscape environment that ranges over two pages, and where I have introduced a page break where it is most appropriate contentwise. The table including descriptions is too ...
2
votes
1answer
280 views

Longtable and threeparttablex: wrong position of tablenote when table is textwidth

I have a problem with longtable and the position of a table note created by threeparttablex, as the MWE below demonstrates. The first table stretches to the full textwidth and the position of the ...
3
votes
1answer
347 views

captionof in longtable gives Misplaced \noalign

Trying to make a multi-page figure panel, with 50 same-sized figures in a 2-by-5 arrangement on 5 pages, a Figure caption for the entire thing at the top of the first page, and everything placed onto ...
6
votes
2answers
1k views

longtable misplaced noalign

Question Why am I getting multiple misplaced \noalign errors? Reproducible example \documentclass{scrartcl} \usepackage{longtable} \usepackage{booktabs} \begin{document} \section{Table test} ...
0
votes
0answers
44 views

Longtable breaking lists in a cell [duplicate]

I'm trying to produce a CV. I'm using Latex and Python, so I can edit the underlying text document with my material easily and the finished cv will come up adjusted for the contents of each section. ...
0
votes
1answer
39 views

Setting same specific width to columns of sequential tables produces horizontal offset

I obtain weird results when I sequentially arrange several tables with specific column widths MWE \documentclass[ngerman]{scrartcl} \usepackage[german]{babel} \usepackage{booktabs, array} ...
3
votes
1answer
508 views

How to put caption on top of the table with packege longtable?

I used package longtable for make table in mamy pages. With package supertabular we have \topcaption for caption on the top of table. I can't use \topcaption in \begin{longtable} \end{longtable} . ...
6
votes
1answer
49 views

Longtable leaves the header only at the first page: how can I fix it?

I am using MiKTeX 2.9 and XeLaTeX. Here is minimal working example: \documentclass[oneside,final,14pt]{extreport} \usepackage[top=2.0cm,bottom=2.0cm,left=2.0cm,right=1.0cm]{geometry} ...
0
votes
0answers
121 views

Line-breaking long cell contents when using longtable through datatool

I'm trying to display a table loaded from a CSV file and displaying it like this: \DTLloadrawdb[]{myDB}{myDB.csv} \DTLdisplaylongdb[% caption={myDB caption},% label={tab:myDB},% ...
3
votes
0answers
56 views

Searchbox for a table [closed]

I'm new to LaTeX. I was wondering if it is possible to create a searchbox for a table (in LaTeX) which would then work in the pdf. I don't want to just display the word as in the find function. I'd ...
1
vote
1answer
78 views

Weird behavior of longtable

I have a fairly long longtable in my document that does this weird thing: Basically, it adds that little (vertical) divider after the table has finished (I know I have two hlines, but that is not a ...
2
votes
1answer
550 views

LyX: Problem with longtable in landscape

I am trying to embed a longtable in landscape mode. What I have always done is put \usepackage{longtable} and \usepackage{pdflscape} in the preamble, then put the table between \begin{landscape} and ...
4
votes
1answer
87 views

Longtable with items

I have a long table which spans several pages. For some unknown reasons to me since I have itemized stuff in my table, it cannot break them into pages. Also the spacing between the items are still ...
0
votes
1answer
2k views

Extra alignment tab has been changed to \cr?

I get the error mentioned in the title of the question. Can you help me please ? \begin{table}[htb!] \centering \caption{\textit{others criterias : first scenario}} \label{Table2} ...
4
votes
1answer
54 views

Column re-sizing issue with Longtables

I am stuck on what seems to be a very weird problem within the longtable environment. What I'm trying to do is setting the column widths using the p{width} command. In practice, it works for every ...
2
votes
1answer
340 views

Aligning the decimal point using siunitx and longtable?

I have just discovered that I couldn't do alignment of the decimal points using the siunitx and longtable packages. It throws errors, just to mention some for e.g.: Invalid numerical input 'e' Col1 ...
1
vote
1answer
81 views

How to avoid longtable caption repetition in list of tables?

In the below MWE, the caption was repeated twice in the list of tables. How to make appear only once? \documentclass[oneside,toc=graduated]{scrbook} \usepackage{longtable} \usepackage{booktabs} ...
2
votes
1answer
78 views

How to place footnotes using longtable package with letter marks instead of numbers?

I have the table below as MWE. I couldn't get the footnotes with letter marks. When I use \footnote and \footnotetext macros they default to using number marks, I want to use letters like a, b, etc. ...
1
vote
0answers
204 views

Splitting a 2-column very long table into various multiple columns across different pages

I have a 645-row table to be included in one article appendix. Such table has only two narrow columns where each row is composed of a Month-Year in the first cell and one date in the last cell of the ...
1
vote
1answer
81 views

Table width error with multirow and longtable with consecutive `multicolumn`s?

I have this longtable table, where I want to locate two multicolumns after each other. When I compile with the second multicolumn commented out, everything is fine (pic 1). But with two consecutive ...
5
votes
1answer
171 views

`hhline` adding a strange vertical line distortion

I am using horizontal and vertical lines in a longtable environment to create a kind of tree-like internal structure. Since I need to color some cells with the colortbl package, I can't use \cline, so ...
2
votes
2answers
339 views

Auto-break Cell in longtable Enviroment

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 ...
4
votes
2answers
96 views

Can't get a new line in my table caption

(Below) is what I have, with some data shaved off. However, when I view my PDF the caption looks like: Table1::NGC 2264... I would like it as: Table1 NGC 2264 (centered of course) I've been ...
6
votes
1answer
58 views

Combine arydshln and longtable-with-fake-shadowbox?

I have tried to use the solution provided by David Carlisle to add a \shadowbox-like shadow to a long table in my document and ran in to a strange issue: After some poking around, I've narrowed the ...
5
votes
1answer
128 views

Color switches are problematic with footnotes, longtable and hyperref

When using the color package in its switch form (\color cf. \textcolor), things can get confused using certain packages, with footnotes, and with section headings. The section headings issue was ...
4
votes
0answers
105 views

longtable package: Stretch height of last row on page

Consider the following code \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \begin{longtable}{|p{5cm}|} \hline \lipsum[5] \\\hline ...
5
votes
1answer
55 views

Longtable: Keep the last two rows on the same page

I know there are similar questions, but using \\* did not work for me. What I want to achieve is that the last two rows of my table will be on the same page (and therefore no page break between ...
12
votes
1answer
112 views

Adding a shadow to a longtable?

I've already found this answer on how to add a shadowbox around a normal tabular environment. I'd like to add a shadowbox to a longtable environment. Is this possible at all? \documentclass{article} ...
3
votes
0answers
142 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
4
votes
3answers
1k views

Removing extra space after itemize environment in longtable in memoir

I have a macro that creates itemize environment in it. The issue is that I have extra space after the itemize environment when used in longtable. How to remove the space? \documentclass{memoir} ...
4
votes
1answer
105 views

How to control the spaces before and after itemize(listing) environment inserted in a table?

I have a macro that inserts itemize environment in a longtable. The issue is that I have big spaces between top and bottom of the itemize environment. How can I control the spaces? ...
2
votes
0answers
58 views

problem with creating list of longtables [closed]

I'm using the longtables for my document without \begin{table} ... \end{table}. How can I create the list of tables? Command \listoftables doesn't work.
3
votes
1answer
150 views

Incorrect link in \listoftables after \setcounter{table}{0}

I'm trying to put together a statistical analysis plan using LaTeX. This is something I've never tried before. I want to create a section at the end called table shells, but I'm running into a couple ...
3
votes
1answer
311 views

longtable(tabu) with multirow and page breaks

I'm trying to place a bunch of images into the multirow within longtabu. But it looks messy if row is splitted by page break. The same problem with long text in multirow. Neither image nor text are ...
8
votes
1answer
137 views

Adding some text on a page break

How can one test if certain chunks of text (say, numbered questions in a questionnaire) is split between two pages and add automatically related text ("Continued question NN") on the top of the second ...
1
vote
0answers
62 views

Putting longtable caption text on subsequent pages

I'm using longtable for multi-page tables in a document, and have no trouble using the standard and widely used code for headers on subsequent pages: \\multicolumn{3}{c}{{\tablename} \thetable{} ...
3
votes
2answers
258 views

KOMA script - widening text width

I have a longtable that is about 14cm wide and the text width of 12 cm. Therefore I would like to widen the text width on two pages for 2 cm, toward the outer edge of the page. I have "discovered" ...
6
votes
2answers
149 views

Putting sections and subsections in the page header

I am using LaTeX to display landscape longtables. Due to the nature of the contents, I regularly have sections, subsections, subsubsections and I use paragraph to proxy subsubsubsections (through ...
0
votes
2answers
592 views

Fit to landscape longtable generated with xtable and sweave

I read many TEX questions/answers on fitting a table to your page width, but cannot figure out how to do apply it in my context (using xtable/sweave). Everything that I tried (using adjustbox, tabu) ...
0
votes
0answers
102 views

Inclusion of a landscape multipage table in an apa6 class document.

I have question concerning the inclusion of a landscape multipage table in an apa6 class document. The example below is working fine (apa6 class is not used): \documentclass{article} ...