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

learn more… | top users | synonyms

1
vote
0answers
74 views

Complex longtable with multirow, multicolumn, rotation of text, and a strange header

I want do a table like the next figures 1 and 2. The table go expand in many pages. The header is the same in all of them, and I want put the elements A, B and C in the headers of the tables, because ...
3
votes
1answer
52 views

Getting same footnotes on each page of a table

Want to be put the same footnotes on each page of a multipage table. Below is some code that provides an example. How can I get the footnotes that appear at the bottom of page 2 to appear at the ...
4
votes
2answers
53 views

vertical spacing of entire section changes when using sciptsize environment for table

I have the following script: \documentclass{article} \usepackage{longtable} \linespread{1.5} \begin{document} % \section{paragraph 1} This is a paragraph lala allala lalla alala alla alla alal ala ...
4
votes
1answer
130 views

How to set the width of column in longtable method?

I`m trying to put a table in my document. it is bug in both width and height. So I need to use longtable, landscape and fixed width for the column. but I cant. Please help. I want this table fit in ...
5
votes
1answer
78 views

longtable caption — color or redefinition

Dear latexperts: I am experimenting with pandoc as a text processor that translates into LaTeX. This means that the LaTeX coding is mostly out of my control. pandoc uses longtable for its table ...
5
votes
1answer
88 views

Textwidth longtable with centered headers

I'm trying to create a longtable which spans the entire \textwidth. Additionally, although the contents of the table use different alignments, all of the header cells should be centered. Based upon ...
5
votes
1answer
36 views

Total number of longtables (v3.02+)

I'm wondering, are there any ways to get (and forward-reference at the beginning of the document) the total number of tables when using longtables? There are utility packages for standard table ...
0
votes
1answer
1k views

longtabu, column width

having an issue with longtabu and setting columns to a percentage of the table width. I've achieved what i want with tabularx: \documentclass{report} \usepackage{tabularx} \begin{document} ...
1
vote
1answer
36 views

Footnote inside tabular inside longtable

I have a foontone inside a tabular environment inside longtable and of course it does not work. Has anyone faced something similar? What should i do ? Thanks in advance Vasilis \begin{center} ...
20
votes
2answers
398 views

How to print subtotals in each page of a long table?

Some invoices need print a large list of items. In this case, and in my country, invoices must print the subtotal of the previous page for each break page, and add to the last subtotal the accumulated ...
0
votes
0answers
27 views

Row to column table [duplicate]

Is there any way to transpose table? I mean row to column and column to row? Here is the code. \documentclass[a4paper]{article} % <-- remove12pt, again too big for your table. ...
2
votes
2answers
223 views

How to align this table fit the page-width?

I want to align this table. This is mycode \documentclass[a4paper, 12pt]{article} \usepackage[left=15mm,right=20mm,top=20 mm,bottom=20mm]{geometry} \usepackage{lipsum} \usepackage{longtable} ...
2
votes
2answers
184 views

How to make a wide longtable fit on page?

I'm new to LaTeX, and copied over a table from Excel into TeXShop (mac) using the macro. I set it as a longtable because it spans two pages, but with regard to width, the table isn't fitting. Also, ...
1
vote
2answers
118 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
67 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
39 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
808 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
74 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
90 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
148 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
52 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
77 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 ...
6
votes
0answers
52 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
424 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
193 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
292 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 ...
5
votes
1answer
834 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
38 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} ...
1
vote
1answer
209 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
48 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
112 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
55 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
74 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
439 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 ...
2
votes
0answers
69 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
1k 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
52 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
289 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
74 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
71 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
198 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
71 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
160 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
302 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
91 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
54 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
0answers
115 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
95 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
53 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 ...