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

learn more… | top users | synonyms

4
votes
0answers
98 views

Using multiple autogenerated longtables inside multicols environment

I have several longtables which are auto generated. Since they are not actually long or wide ones, it would be rather space saving for me if I could pack them in a multi column environment. So, I ...
3
votes
0answers
140 views

Unwanted extra vertical space after header using longtable in memoir, on continuation pages

The vertical spacing below the rule at the end of the headings is as I expect on page 1 of the table, but on pages 2, 3, etc I get more vertical space. Is there a fix for this? ...
3
votes
0answers
167 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 ...
2
votes
0answers
44 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 ...
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 ...
2
votes
0answers
61 views

longtable with pgfplotstable - adding predefined rows and breaking manually

Based on this link pgfplotstable; longtable with caption and repeating header I wrote this MWE: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{multirow} ...
2
votes
0answers
33 views

Can I get table column headers on each page?

I am making one table out of many tables and would like the headers to be at the top of each page. I would use \endhead but I dont think I can put longtables in longtables. Here is what I mean. ...
2
votes
0answers
39 views

Big space between longtable/longtabu and the preceeding section header

If I add a longtable or longtabu environment directly after a \section command a very big space is set between the header and the table. In case of the second example where some text is in between ...
2
votes
0answers
65 views

Longtable in landscape format

I am writing my PhD thesis and I have the following problem: I use \documentclass[12pt, a4paper, titlepage]{book} \usepackage{lscape} \usepackage{longtable} In Appendix, I need to switch to the ...
2
votes
0answers
96 views

Is it possible for a multirow cell to be split across pages when using longtable?

I am using a longtable for a table that spans multiple pages. To my limited understanding, cells cannot be split across pages. However, I was wondering if it's possible for a multirow cell to be split ...
2
votes
0answers
121 views

How to break tablenotes (page break) in longtable with threeparttablex?

How can I break my TableNotes in ThreePartTable (it is a landscape table)? \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[top=2.975cm, bottom=2.975cm, left=2.975cm, ...
2
votes
0answers
56 views

Cutting a table along columns

How do I split a table by its columns? \documentclass[a4paper,10pt]{scrartcl} \usepackage[utf8]{inputenc} \begin{document} \begin{center} \begin{tabular}{llllllllllllllllllll} very long text & ...
2
votes
0answers
207 views

minipage inside long table gives extra new line

I defined a new environments to add top and bottom padding to a minipage and to be used inside a lone table cell (I have used \linewidth to specify the width of the minipage in the new environment). ...
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 ...
1
vote
0answers
31 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 ...
1
vote
0answers
44 views

Problem in combination of longtable and stepcounter{rowcount}

I am making a longtable consisting of 3 columns: linenumber of the text in the table, column with a short abbreviation and a column with possible a lot of text. Since the third column contains a lot ...
1
vote
0answers
49 views

R xtable and table width

I have to fit a table with many columns to the width of a page, using xtable and longtable environment. My R code is library(xtable) data <- matrix( data = 1000000000, ncol=14, nrow = 100) ...
1
vote
0answers
24 views

Set rowcolors to one specific longtable

I have several longtable defined in my tex file, and I have set alternate colors to the table with \rowcolors{2}{gray!5}{white} in the preamble of the file. The problem with this solution is that all ...
1
vote
0answers
30 views

Longtable twocolumn and onecolumn in same page

I am writing a twocolumn paper, however I need to add a longtable in my paper. and the final output should be like in the picture below.. I tried \onecolumn and \twocolumn trick but it forces ...
1
vote
0answers
56 views

Geometry: strange behaviour after \restoregeometry in afterpage environment (and longtable)

I have some strange problem tying place a "fake float" with large tables. Here is a MWE: \documentclass[twoside, a4paper]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
0answers
22 views

Spanning a table horizontally over pages without rotation or using landscape

I have a very wide table, which I like it to span horizontally through pages. \documentclass[runnngheads]{book} \usepackage{longtable} \begin{document} \begin{longtable}{*{25}c} ...
1
vote
0answers
73 views

Lines on the right

I'd like to have vertical lines on the right of my documents (to indicate what the references for that part are). I've tried doing it with a longtable containing my whole document (in the left column, ...
1
vote
0answers
43 views

Using longtable with reledmac and rledpar

My system is XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). I am typesetting a facing page bilingual edition of the Bhagavad-Gita. Left pages would be original Sanskrit text followed by ...
1
vote
0answers
28 views

change line spacing/spanning in table within multirow

I usually use \begin{spacing}{x} to change the line spacing in the text, however, it does not work in the header of longtable, is there any solution? Another question is that, I use |m{16pt} @array ...
1
vote
0answers
43 views

How does a new blank frame come out after inserting a longtable

\begin{frame}[allowframebreaks=1]{result} \begin{table}[H] \centering \begin{longtable}{rlr} \toprule classifier & preprocess & error rate(\%) \\ \midrule LMS & ...
1
vote
0answers
40 views

Last page not rotated when using longtable and (pdf)lscape

I have a very long table (multiple pages) in a paper that I'm writing, which contains +20 tables. The problem occurs when I use both landscape and longtable together - namely, the last page of the ...
1
vote
0answers
51 views

How to position braces (decorations) in longtable?

I am trying to put braces into longtable (to span them on some rows). But if a table position on odd and even pages differs, there is a problem with vertical alignment of these braces (decorations): ...
1
vote
0answers
32 views

Landscape is not compiling to produce pdf if i use \input{chapters/ }

I'm writing my thesis by using \input{chapters/..} to add the chapters to the main .tex. While the PDF is produced in a separate .tex file, it is not produced when I'm compiling the main file. Here ...
1
vote
0answers
60 views

how to get longtable in mdframed to show more than firsthead?

I have a document that wraps tables (or rather, tabular/tabulary) with mdframed. This works quite happily whether the table is shown inline or floated to another page (mdframed inside the table*, ...
1
vote
0answers
81 views

Align by decimal point using long-table

I am have numbers with stars and want to align them by decimal. How is this possible within the longtable environment? \documentclass[12pt]{report} \usepackage{longtable} \begin{document} ...
1
vote
0answers
57 views

Very Wide Table Spanning Multiple Pages in LaTeX

I am writing a two column IEEE paper (standard IEETran). I want to create a table that spans multiple pages in LaTeX. I have tried longtable and that breaks pages rightly. However the problem is my ...
1
vote
0answers
108 views

Long and wide subtables

I'm not a LaTeX expert. I'm using it to write my thesis. Here's my problem. I have a set of tables and subtables, wich are very wide and long, so I'm using \begin{table}[H] ...
1
vote
0answers
55 views

How to make sections in longtable nomenclature

I am using a longtable in my nomenclature to auto-adjust the aligning to the widest label width and would also like to have sections of different types of entries similar to the one here where they ...
1
vote
0answers
42 views

Undesired page-breaks, mdframed and long table

I have a problem. I am creating MSDS sheets using LaTeX, (actually a web-application that creates a LaTeX code). The basic setup of the sheet is such that for each section (there are 16 sections) a ...
1
vote
0answers
79 views

Longtable Duplicate Separator at Page Break

I have a longtable spreading over 2 pages. Unfortunately, since I decided to use the booktabs package, I get a duplicate line separator between the table header of the second page and the next table ...
1
vote
0answers
381 views

\newline not working with longtable?

This table comes from SAS output. The \newline is not working correctly. E.g. "Percent trimmed in tail" ought to be Percent Trimmed In tail but it is showing up as Percent Trimmed In Tail Here ...
1
vote
0answers
78 views

Paragraph between longtable title and main table?

First: I am very new to LaTeX. Therefore, please assume I know next to nothing about LaTeX - because I probably know next to nothing about LaTex! Problem: How can I add multiple paragraphs of text ...
1
vote
0answers
139 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
1
vote
0answers
100 views

Longtable breaking into very small sections over many pages.

I'm writing a paper in the format of Monthly Notices of the Royal Astronomical Society (MNRAS- mn2e). I seem to be having quite a few issues with my tables for it. I have several long tables that ...
1
vote
0answers
63 views

Transforming my table in longtable

I've been trying to transform my table into a longtable desperately for the past hours. I looked at numerous examples, checked the documentation but I cannot get it working. So I have a pretty long ...
1
vote
0answers
243 views

Continuing table on multiple pages with tabularx

Problem: Continuing table on multiple pages using the tabularx package. Questions: What is the appropriate way to include "continued ..." caption at the end and beginning of the table when ...
1
vote
0answers
145 views

Add verbatim code to longtable caption

I'd like to add a caption containing verbatim characters using \verb to a long table using the package longtable. The reason for this is that I want to improve the LaTeX output of pandoc, which uses ...
1
vote
0answers
170 views

Automating minipage positioning

Many times we have to use tables that do not accept footnote. This mostly happens with longtable environment. What I do for footnotes for these longtables is to actually use minipage, applying the ...
1
vote
0answers
65 views

Repeat a block of text in case of page break

I have an array which contains lots of data, and I would like to repeat the content of the far-left cell in case of new page. I am using \endhead in order to repeat the name of the columns, yet I have ...
1
vote
0answers
62 views

Caption for each splitted longtable

I have a longtable and I am trying to get a caption for each new page with this: \begin{longtable}{p{.10\textwidth}|p{.67\textwidth}|p{.13\textwidth}} \hline A & B & C\\ \hline ...
1
vote
0answers
428 views

Longtable: how to force a page break?

I am writing an application and I have to complete a table similar to this: and since the descriptions in the second column will be lengthy, I have decided to use longtable. Some of the ...
1
vote
0answers
76 views

Longtable with dynamic footer

In the example below, what I want is for the foot row, which longtable adds on every page break, to be the opposite background color of the row above it. It seems that the footer code is evaluated ...
1
vote
0answers
170 views

Row-wise and Column-wise break of extra wide tables, and add a proper label

There is a question "Column-wise break of extra wide tables" Column-wise break of extra wide tables and a very useful answer to it. \documentclass[twoside]{article} \usepackage[latin1]{inputenc} ...
1
vote
0answers
70 views

longtable counter

please forgive me if this has already been answered, but i could not seem to find a resolution on any of the boards. i have a longtable that spans multiple pages. I would like to add a footnote at ...
1
vote
0answers
167 views

Longtabe + multirow + page break

I have with longtabu and multirow. Latex does not display them properly in a page break. \begin{longtabu}{| X[2,l] | X[2,l] | X[2,l] |} \captionsetuptableBegin \caption{Main Objects} ...