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

learn more… | top users | synonyms

2
votes
3answers
26 views

Make last column take all remaining space in longtable

I want to create a table using longtable where all columns have a fixed length except the last one, which should take all remaining space. The table itself should be full page width. I tried the ...
1
vote
2answers
35 views

Using long table to split a table across multiple pages

I am using the excel to latex add in to generate tables from excel, however, when the table is too long it is not split automatically between 2 (or more pages). Is there any easy way to do this? I ...
0
votes
1answer
20 views

Adjust Longtable to textwidth

I have a problem with the adjustment of my longtables to textwidth. I use tables with a different number of columns, and apparently LaTeX fails to adjust them to the same width. All Longtables with ...
2
votes
1answer
26 views

A conflict between `caption` & `longtable` packages raises the `overfull \hbox` warning!

Note: This is not a duplicate, as I've already searched most of the suggested duplicates in search of an answer, but it proved to be of no avail! Therefore, please help! Problem: Overfull \hbox ...
0
votes
1answer
23 views

Make all longtables in a document full page width

I have a set of documents with lots of tables using the longtable package. I am looking for a way to force all tables full page width. I know that this can be done by setting this in the preambles: ...
1
vote
0answers
37 views

Space between \hline\hline in `longtable`

I'm trying to use one longtable in my thesis while all others are created with table and tabular environment. I tried to find help visiting this link. But there only one type of table (longtable) is ...
3
votes
2answers
74 views
+50

Footnote in multirow & longtable doesn't print

Why footnote is printed with multirow when I use mpsupertabular environnement and not in the longtable, & how may it run ? Thanks for yours solutions. Here an exemple : the note 3 isn't printed : ...
0
votes
1answer
29 views

Command to automatically start new row

I need not trivial help. I have a command with parameters. This command fills in and prints the following table: \begin{longtable}{|p{3.2cm}|p{2.5cm}|p{2.5cm}|p{2.3cm}|} \hline Some Text: & ...
0
votes
0answers
23 views

how to compile a latex file containing only a table and references inside the table

I have a latex file (supplement.tex) with only a table in it. This table is a supplement to a paper, and I need to use references inside this table. The complete list of references are already listed ...
0
votes
1answer
30 views

How to detect pagebreaks and insert text at the top of the typeblock on each new page?

I have a document which pulls in an external .tex file which is procedurally generated from a database and then interpreted into a multiple page table-like graphic written in TikZ. However, when I ...
4
votes
1answer
29 views

csvsimple and longtable (automatic headerline)

Helping a other communitymember (see using csvreader to read from csv giving invalid output) on a csvreading task I have tried to solve a problem, like the following... ...
0
votes
0answers
13 views

Colorizing lines in a longtable, but not the caption [duplicate]

I'm trying to colorize lines in a longtable, which is working except it is colorizing also the caption, like this - \documentclass[a4paper,12pt]{report} \usepackage[table,hyperref,dvipsnames]{xcolor} ...
2
votes
1answer
13 views

Is there an incompatibility between collcell, longtable, and/or arydshln?

In the past (may be last year or so), I have used these three packages together successfully (and produced a conditionally colored long table). That tex file still compiles nicely; however, the ...
2
votes
0answers
22 views

Longtable not starting immediately after section tittle [closed]

I have been trying to fix this problem by reading many posts for the last two day and I have not been successful. I have a long table that spreads over three pages and I want to start after the ...
2
votes
2answers
54 views

using csvreader to read from csv giving invalid output

I am trying to output a *.csv file to LaTeX, but I keep on getting invalid output. I am using mactex on a yosemite environment. code.csv: code,subcd CITY,LIMA CITY,PUEBLOLIBRE CITY,JESUSMARIA ...
4
votes
1answer
33 views

Landscape-oriented table over multiple pages

I would like to spread my vertical table over multiple pages. I tried it with sidewaystable and longtable, but that put everything on one page. Another idea would be just to create x tables, where x ...
0
votes
1answer
21 views

Strange alignment problems in longtable

I have written a few environments for formatting use cases. For some reason I am having strange alignment issues in my longtable. I think that there is some invisible placeholder in there messing it ...
1
vote
1answer
41 views

Creating a large horizontal table

i want to create a horizontal table, which gives an overview over other studies in my field. I tried the following: \documentclass{article} \usepackage{hyperref} \usepackage{pdflscape} ...
2
votes
1answer
18 views

In Longtable, In multirow greater than \textwidth

MWE \documentclass[a4paper,12pt]{book} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} \usepackage{array} \usepackage{longtable} ...
0
votes
2answers
35 views

Border of pictures are not coming in longtable

\begin{longtable}{|lllllllll|} % [ht] \caption{Create } \\ %\label{step 3} \hline \multicolumn{3}{|l|}{\textbf{Prefix}} & ...
1
vote
2answers
57 views

Longtable, even pages starting left, have margins [Title changeable]

That my whole codes compiled, some pages are below. odd page even page My problem, the longtable does not start left in even pages. That I want, add to the marginparwidth and marginparsep. Here ...
0
votes
1answer
44 views

Longtable & scalebox

I have a very long table which i decided to make smaller using scalebox (successfully) and also split into two pages using longtable. However, no matter how hard I try, I cannot run those two things ...
0
votes
0answers
18 views

Longtable integration Stata

As far as I am aware, the available commands that produce LaTeX-formatted tables of stored estimates using Stata, will only produce tables using either the table or tabular environments. Do any other ...
0
votes
0answers
38 views

textblock* on every page

I have following: \begin{textblock*}{15mm}(191mm,20mm) \begin{spacing}{6.2}\noindent\thin\color{black} {\fontsize{50}{60}\selectfont M\\ Y\\ T\\ E\\ ...
4
votes
0answers
25 views

Cycle Columns With Longtable

I'm constructing a longtable with paired data sets that spans several pages. However, once I reach the end of the first column on page 1, the data continue into the first column of page 2. Is there ...
1
vote
1answer
25 views

adjust distance between the rows and repeat header in each page?

I faced problem in longtable, as each column is long it print in one page as picture shows, also when goes to next page need first row header repeats. \documentclass{article} ...
1
vote
1answer
24 views

Longtable error with many columns

I am using using XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/W32TeX). I need to have a prosodic map for a verse showing heavy and light syllables, like that shown on page 2 of this link. The ...
1
vote
0answers
29 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
38 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
1answer
31 views

lyx longtable with one LoT entry and a header on every page

I have a longtable which is spread over several pages. If I make the top row a header it appears once in the list of tables BUT I want it to appear on each page of the table... If I make the top row a ...
1
vote
0answers
35 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 ...
0
votes
1answer
49 views

Centre a long table?

\begin{longtable}{|l|l|l|l|} \textbf{Test} & \textbf{Input into all tests} & \textbf{\begin{tabular}[c]{@{}l@{}}Expected Result\end{tabular}} & \textbf{\begin{tabular}[c]{@{}l@{}}Actual ...
0
votes
1answer
32 views

Drawing double hline with longtabu

I'm trying to draw a double horizontal line with longtabu \begin{longtabu}{|l |l |} \hline 0 & 1\\ \hline \hline 1 & 0\\ \hline \end{longtabu} ... however, all I get is a thick line. When ...
2
votes
1answer
45 views

Adding a different colored line to each row of a table

It is possible to get colored \hlines with the example provided below. However, there are several issues with this implementation: It needs a \newcommand for every color, which then has to be used ...
2
votes
1answer
26 views

Citation in longtable overflows into margin

I have to produce two different versions of a document: one with author-year citations, and one with numbered citations. Thus, I'm using natbib and for each document I modify the natbib options. ...
0
votes
0answers
19 views

Wrong figure reference number in table [duplicate]

Hi I'm using images in longtable. To define captions in the longtable enviroment I defined this: \makeatletter \def\figcaption{% \refstepcounter{figure}% \@dblarg{\@caption{figure}}} ...
3
votes
1answer
147 views

What options are there to globally format tables also allowing local overrides?

Tables are the final frontier of my documents. So far I have managed to standardized over 20 documents (hundreds of pages) using a single, shared preamble. Issue Abstracting format from content in ...
1
vote
1answer
50 views

Longtable and figure caption problems

I am trying to define captions in longtable enviroment. According to Adding a caption to a graphic inside a longtable I should define: \makeatletter \def\figcaption{% \refstepcounter{figure}% ...
2
votes
1answer
26 views

Longtable goes wrong after page break

I am really new to LaTeX and I am using the following codes to make a long table cross pages: \documentclass[12pt,letterpaper]{report} \usepackage{multirow} \usepackage{longtable} ...
2
votes
1answer
26 views

Making footnotes fit the border of the table using longtable package

Problem: Making footnotes fit the width of the table using the longtable package. Question: In what way can the footnotes in the MWE be modified to fit the width of the table? Minimal Working ...
1
vote
1answer
26 views

Increasing table width and centering word within column using longtable package

Problems: Increasing table width to 100% Centering table header word (i.e. criteria) Repeating table captions on every page Questions: How do I increase table width to 100%? How do I center the ...
1
vote
0answers
42 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 ...
0
votes
0answers
33 views

incompatible packages: pdflscape and longtable

Since my previous question lead up to this quite different problem: I use \documentclass{scrreprt} \usepackage{graphicx} \usepackage{pdflscape} \usepackage{longtable} However, I immediately get ...
1
vote
0answers
46 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). ...
0
votes
0answers
21 views

references in table

I finally managed to set up a long table (to be) in landscape-style my self instead of borrowing codes from a colleague as I attempted yesterday :yay: In my first colomn I would like to list the ...
0
votes
1answer
37 views

Add extra space between groups of rows in a longtable except at a pagebreak

I am working on a table where I need to add extra space between groups of rows. I have currently been doing this by ending all but the last row within a group with \\* (which prevents a page break at ...
1
vote
1answer
15 views

Captions and subcaptions of a very long table

I have a very long table that spans multiple pages. On top of the table, there is a caption like 'Table 1: A list'. Now, for the parts of the table that spans to the next pages, I want to put ...
2
votes
1answer
26 views

Longtable not working

so I'm trying to create a longtable over several pages - however it doesn't produce it over two pages when it compiles. Can anyone help me out? Thanks in advance! \documentclass[12pt]{article} ...
3
votes
1answer
19 views

longtable inside enumerate

When I have a longtable left-aligned inside an enumerate, it isn't indented properly. For example \begin{enumerate} \item text % \setlength\LTleft{\itemindent} % \setlength\LTright{\fill} ...
1
vote
0answers
52 views

Latex longtabu problem at page break

I am using longtabu for a table in a latex document. It gives a wired result at page break. Notice that the 'continue' part of the table is stuck in the page before the break. Page 14 shown in the ...