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

learn more… | top users | synonyms

1
vote
1answer
136 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
108 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
54 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
377 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
65 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
832 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
47 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
263 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
68 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
68 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
196 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
63 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
150 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
286 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
87 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
51 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
110 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
93 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
49 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
107 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
116 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
923 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
87 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
55 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
122 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
258 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
129 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
57 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
221 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
137 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
1answer
372 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
94 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} ...
5
votes
2answers
143 views

Latex: Tabbing environment not working within fancyhdr footer and usage of longtabu

I have problems when I try to use the tabbing environment within a fancyhdr footer and using a longtabu table within the document. The error message is: ! LaTeX Error: Undefined tab position. I ...
5
votes
1answer
222 views

Multi-line and centered title and content in longtables

I have a longtable setup where to save space, I have to make a column title multi-line and its contents centered while being applied with custom width. Out of the three I have only successfully ...
0
votes
2answers
101 views

Hyperref + footnotebackref in longtable

While I'm aware that hyperref doesn't suport footnotes and I quote: hyperfootnotes boolean true Makes the footnote marks into hyperlinks to the footnote text. Easily broken … I'm ...
0
votes
1answer
276 views

Column Spacing using esttab & longtable

I am outputting regression results from Stata to Latex. The problem is that, no matter how many columns I have, the spacing between the last column and the rest of the table is wider than other ...
4
votes
1answer
74 views

How to create a BIG HEAD in longtable

Good night, I'm with a wheezy looking to create a 'pdf' with 'pdflatex' for sending by email with 'mutt'. The result of filtering the output of the 'runrepport' is saved in a 'tex' is processed later. ...
2
votes
1answer
103 views

How to make longtable occupy its own standalone pages?

There is some text and now I want to insert some pages containing a longtable. How can I achieve this goal? To state my question clearly, I want (Main text A) -----------page break---------- ...
4
votes
1answer
63 views

Center longtable parts vertically on page

I am using \longtable to split tables into two parts which are displayed on two pages in a double page layout. I do not let longtable break the table, but instead use \newpage on a line where it makes ...
0
votes
1answer
223 views

Setting up multiple-page table with table notes in apa6 document with longtable, threeparttable and threeparttablex

I am working on an apa6 document and need to place a multiple-page table with table notes (not footnotes). I thought the best way to achive that is using longtable threeparttableand threeparttablex ...
3
votes
1answer
245 views

Remove page numbering from a long table in landscape

I am trying to remove the page numbering from a very wide and long table in landscape. When I try using \thispagestyle{empty}, this removes only the page numbering on the part of the table filling ...
2
votes
1answer
160 views

(longtable threeparttablex) table notes font size

What I need is the font size of table notes being 8pt. Reading the package documentations and the questions here, I as a beginner tried: \usepackage{threeparttablex} ...
2
votes
2answers
67 views

How to use longtable package?

I am trying to use the longtable package and I cannot get it to work. I have pasted my code below, can anyone help me? \documentclass[a4paper,twoside,12pt]{report} \usepackage{longtable} ...
8
votes
1answer
231 views

How to prevent page break between section title and table

I have several consecutive subsections which only contain one longtable each, right after the subsection title. So it happens that some of the subsection titles are at the bottom of the page and the ...
1
vote
1answer
783 views

Adding row spacing to a longtable?

I want to add some extra spacing between the rows of my longtable - but not for every table of the entire document, just one of them. I've tried to use the \\[dist] mechanism, but with surprising (at ...
4
votes
1answer
91 views

Keeping first and last rows of a pgfplotstable with longtable on a page

I am using pgfplotstable along with longtable. Everything works good, but sometimes a single row can be on one page, which is kind of ugly. How can i keep the first 3 and last 3 rows of the table on ...
1
vote
0answers
175 views

Suppress page break before table

I have a large, horizontal table that spans multiple pages. LaTeX puts a page break before the table, but I don't want a page break. I want the text to fill the page before the table. I've tried ...
0
votes
0answers
30 views

How to vertically align cell in a longtable environment [duplicate]

Hi I want to vertically align my cells in a longtable. I also use \shortstack[l]. Don't know whether this has an effect. The Table looks like \begin{landscape} \begin{longtable}{|l|l|l|l|l|l|} ...