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

learn more… | top users | synonyms

1
vote
1answer
89 views

First line of ltxtable/longtable indented

I am using the ltxtable package to be able to set the longtable to \textwidth I have \setlength{\parindent}{0pt}' in the preamble. The first line of each longtable is indented, how do I get rid of ...
4
votes
2answers
123 views

Table and Longtable environments reproduce different spacing in LOT

I have been using the table and longtable commands quite a lot for my thesis, and I've observed they reproduce different spaces in the list of tables. Here is the MWE: ...
3
votes
1answer
136 views

longtable within table environment?

I have several tabulars and a threeparttable that are all included within a table environment (\begin{table} precedes them), so they all have common numbering and appear in the tables section at the ...
3
votes
1answer
173 views

Everyrow works with tabu but not with longtabu

I've been wrestling with longtables/longtabu for a while now, and I have it almost working the way I want. The last thing that I want to be able to do is have a \hline inserted for every row. Here's ...
3
votes
1answer
52 views

Make a little space after a longtable and before a caption

I'm trying to make a table which is not centered in the page, so I've used this structure to define it. But, I need to make a little vertical space between the bottom of that table and its caption. ...
2
votes
1answer
171 views

Math mode in longtabu

I'm trying to typeset a very long table that spans a few pages and contains exclusively mathematical formulae. In order to accomplish that I'm using the \longtabu environment provided by the tabu ...
1
vote
0answers
87 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
59 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
57 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
171 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 ...
6
votes
1answer
115 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
167 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
37 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
2k 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
41 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
450 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
387 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
223 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
129 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
74 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
50 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
117 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
189 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
55 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
86 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
63 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. ...
6
votes
1answer
691 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
328 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
378 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
45 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
40 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
814 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} ...
1
vote
1answer
137 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
80 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
620 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
92 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 ...
1
vote
1answer
3k 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
61 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
355 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
87 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
82 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. ...
2
votes
1answer
220 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
85 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
181 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 ...