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

learn more… | top users | synonyms

0
votes
0answers
5 views

How to color column heads determined width makecell

In my answer to question How do I repeat the first table row on every page using longtable inside of tcolorbox? I suggest to (between others) to use makecell package to define head of table and ...
0
votes
0answers
9 views

Problems with longtable: Continuing borders, controlled wrapping & general tips

I've got the following longtable: \documentclass{report} \usepackage[latin1]{inputenc} % Deutsche Umlaute mit Schriftsatz latin1 \usepackage{ngerman} % allows index generation ...
4
votes
1answer
50 views

How do I repeat the first table row on every page using longtable inside of tcolorbox?

I'm using the \endfirsthead and \endhead but the first row is not repeated for some reason. Here's a piece of my code, I'll appreciate any help. \documentclass[12pt]{article} \linespread{1.2} ...
1
vote
1answer
44 views

Show table caption only on first page [duplicate]

I have a \longtable that splits over two pages and currently shows the label and caption at the top of each page. Can I change this so that the caption and label to only appear on the first page and ...
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 ...
3
votes
2answers
82 views

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 : ...
1
vote
2answers
36 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
21 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 ...
1
vote
0answers
38 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 ...
2
votes
1answer
28 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: ...
0
votes
1answer
30 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: & ...
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 ...
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 ...
2
votes
2answers
427 views

Adding a caption to a graphic inside a longtable

I have the following longtable : \begin{longtable}{|p{10cm}|} \hline some text \includegraphics[width=10cm,keepaspectratio]{\basedir some.png} some text\\ \hline ...
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
2answers
55 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 ...
1
vote
2answers
80 views

Avoid multiple entries of caption in list of tables using pgfplotstable with longtable

I'm using pgfplotstable to display data from .csv files and it happens that displayed tables break over three pages. The problem is, that for every page an entry is placed into the list of tables. ...
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 ...
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
47 views

Apply a figure caption inside of a longtable

I'm using the 'longtable' environment to display a number of figures. I'd like to include a caption at the bottom of the first page as a Figure caption, not as a table (so that it also shows up in ...
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 ...
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} ...
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} ...
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 ...
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
58 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 ...
3
votes
1answer
99 views

Table too large for longtable?

i have a very wide table that will not fit on a page horizontally (nrow = 127, ncol = 60). I am using longtable to handle the number of rows (breaking onto the next page when the number of rows are ...
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 ...
4
votes
2answers
2k views

How to avoid exceeding TeX capacity when using multi-page tables?

I'm using the longtable package (together with xcolor for alternating row colors and booktabs for elegant table headers) to generate a huge table. And by huge, I mean it has more than 900 lines and ...
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} ...
5
votes
2answers
56 views

Breaking inline math within longtable or tabular

So, I've got the following code: \documentclass{memoir} \usepackage{longtable} \begin{document} \begin{longtable}{p{0.4in}cp{2.75in}p{1.8in}} Symbol & Unit & Describes & Equivalent ...
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
32 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
1answer
32 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
39 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
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 ...
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 ...
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 ...
2
votes
1answer
27 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
1answer
33 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 ...
1
vote
1answer
51 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}% ...
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}}} ...
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} ...