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

learn more… | top users | synonyms

4
votes
0answers
104 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
149 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? \documentclass[...
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
47 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
82 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
68 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} \usepackage{...
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
42 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
75 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
102 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
127 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, right=...
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
214 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
28 views

Getting matrices with line break in cell

I have a long matrix which is occupying two lines. How can I force a line break in the cell? I've seen it done here for tables: How to add two force line breaks in cell, but that solution doesn't help ...
1
vote
0answers
28 views

How to get a “thousands” separator in `spreadtab` (wrapping `longtable`)?

I'm trying to use Pandoc for the semi-automatic generation of billing statements from YAML text inputs: For doing sum calculations I use the spreadtab package. For getting automatic page breaks if ...
1
vote
0answers
30 views

Caption and longtabu

I am facing trouble including caption with a longtabu environment. The code is given below, which throws tons of errors. \documentclass{article} \usepackage{longtable} \usepackage{tabu} \begin{...
1
vote
0answers
27 views

Bug in the last row of longtable

I've defined the last row of my longtable object like this: \textbf{TOTAL} & \multicolumn{2}{c|}{\textbf{4.748.032}} & \multicolumn{2}{c|}{\textbf{205.895}} The problem is that I can't get ...
1
vote
0answers
22 views

Shifting long table to the left

I used tabular to create a table and used the following \hspace*{-3cm}\begin{tabular... To shift the table left to use up some of the page margin After I started to use \begin{longtable}, it seems ...
1
vote
0answers
27 views

Longtable with horizontal border

I've a longtable that uses three pages and I need horizonal borders (top and bottom) when the pages are diferents. Is there a way to fix this?
1
vote
0answers
33 views

how to make a table span 2 pages?

i'm not an expert in Latex, Maybe the question seems straightforward for many of you. I'm trying to make a table span 2 pages . this is my code : \usepackage{tabu} \usepackage{longtable} \...
1
vote
0answers
34 views

babel ngerman interfering with longtable pagebreaks

I have a longtable environment and want pagebreaks only after certain rows which can be achieved putting * at the end of the rows that must not be broken (see this post). This does work as long as ...
1
vote
0answers
31 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
35 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 nicely....
1
vote
0answers
48 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
55 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) x....
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
34 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
68 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} \usepackage{...
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
44 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
44 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
42 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
53 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
63 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
83 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} \begin{...
1
vote
0answers
58 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
119 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] \begin{subtable}[]{\...
1
vote
0answers
71 views

package longtable produces strange errors

Community, I am writing a Paper in Latex for with the De Gruyter open style. In general I have a two-column Layout but i need to exclude two big tables that should be horizontal on full pages because ...
1
vote
0answers
60 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
46 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
81 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
423 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
80 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
155 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
109 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
65 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
276 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
151 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 ...