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

learn more… | top users | synonyms

0
votes
1answer
23 views

Issue with \rowcolors changing alignment in longtable [on hold]

This table is for a paper appendix. It is actually much longer than this example, so to make it easier to read, I wanted every other row to be grey. I have been baffled by the lines above each section ...
0
votes
1answer
34 views

How to convert this table to a “long table”

I have the following table that doesn't fit into a single page. How can I get LaTeX to print it on multiple pages. Currently it is being chopped off. \begin{table}[h] ...
1
vote
1answer
18 views

longtable with multiline column

I'm trying to make longtables (that can span pages) with a column containing a newline, and another column that contains a paragraph. My attempts so far all have vertical alignment issues whereby ...
6
votes
2answers
74 views

Is it possible to limit the number of pages a long table uses?

I have a table that is longer than one page but only by like half a page, and so am using longtable to break it into 2 pages. However, the problem that I'm running into is that based on where it is in ...
3
votes
1answer
20 views

Tables with fixed column widths and language switching

I'm trying to typeset a German-Slovak vocabulary list and some grammar. Since table entries might get long, I'm using tables with p-columns. For correct hyphenation, I want to switch to Slovak in the ...
0
votes
1answer
36 views

Pagebreaking in longtable with math column

I'm trying to write some step-by-step math proof of a formula in my electronics notes. The idea is to have two columns (side by side), the 1st has some text explaining the math, the 2nd one has the ...
2
votes
1answer
54 views

Longtable Errors

When I complile my latex I'm getting all sorts of errors. No matter what I try and change in my code I get several different errors. I've been at this for about a week so I may need help to work this ...
2
votes
1answer
67 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
23 views

Delete superfluous line in longtables (LaTeX)

This is the first table I have: \begin{longtable}{|p{4cm}|p{4cm}|} \caption{Caption of the table}\\ \hline \rowcolor{black} \textcolor{white}{\textbf{Column 1}} & ...
1
vote
1answer
44 views

XeLaTeX, bidi, hyperref, longtable conflict

Take a look at this XeLaTeX file: \documentclass{memoir} \usepackage{longtable} \usepackage{hyperref} \usepackage{bidi} \begin{document} \begin{longtable}{l} x \end{longtable} \end{document} ...
5
votes
1answer
34 views

“Undefined control sequence” on left parenthesis after midrule in longtable

With this file: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \begin{document} { \begin{longtable}{p{.3\textwidth}p{.5\textwidth}} \midrule label & value \\ \midrule (2) ...
0
votes
1answer
26 views

Ltablex: Bug on newpage

when I get Tables over multiple pages I get the following problem: So the footer on page two is shifted down, and the first row on the third page is wrong. Although everything works on top of page ...
0
votes
1answer
45 views

How to turn double spacing off in longtable?

I have used the setspace package so it automatically turned off double spacing in tables, however the longtable are still double spaced. What should I do?
0
votes
0answers
28 views

Random wallpaper of longtable

I need to import random wallpapers for a longtable. Typically I use : \usepackage{wallpaper} \TileWallPaper{1\paperwidth}{1\paperheight}{../Pics/wallpaper1.pdf} for each page. For a longtable ...
1
vote
0answers
15 views

Starting a long table in a new page [duplicate]

I am trying to run the following longtable: \documentclass[12pt]{article} \usepackage{amssymb,amsmath,latexsym,booktabs,float,graphicx,longtable} \usepackage{array} ...
3
votes
1answer
52 views

Issue in using longtable within table environment

I have an issue making a long list with wrapped text. The table can be several page long. I use longtable and assign the width for each column but as soon as I put it in the \begin{table} \end{table}, ...
2
votes
2answers
68 views

Converting a Table to LongTable

I need to convert the table below to a longtable. I checked the other topics related to this issue in this website. I removed \begin{table} and \end{table} tags and I also replaced all \begin{tabular} ...
3
votes
1answer
51 views

threeparttable notes with 1.5 spacing. Want single spacing

My main text uses one-one-half line spacing, and now the notes below the table are also one-one-half line spaced. I'd prefer them to feature single spacing (all of my other tables don't share this ...
2
votes
1answer
24 views

threeparttablex fails to provide \source and \tnotex

I'm using the ThreePartTable enivornment (provided by threeparttablex) to add table notes to my longtable. However, I keep getting ! Undefined control sequence. for \notex and \source. I'm using ...
2
votes
1answer
52 views

Long (two-page) table in twocolumn document

I'm trying to include a not too lengthy table of mathematical notation definitions in a paper I'm writing. The paper is in twocolumn mode, the definition table has to span both columns, because ...
4
votes
1answer
32 views

problematic extra cell when importing CSV to latex

I have a table that spans several pages I will be including in an appendix that I would like to import into my LaTex document from a csv. I found the long table answer post very helpful: Importing CSV ...
1
vote
1answer
25 views

Show table caption only on first page

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 ...
1
vote
0answers
36 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 ...
4
votes
4answers
96 views

Wrapped titles of longtable columns

I suspect there's something I've added to my code which I didn't understand and don't want. The text of the title of my longtable's columns doesn't seem to want to wrap. Could someone tell me where ...
3
votes
1answer
36 views

Repeat subheadings Latex longtable

I am producing listings of demographics for a statistical report. We have headings on each table that indicate the types of subjects accounted for (say, treated versus control). Then the table has ...
2
votes
1answer
53 views

Wrong numbering of tables in appendix

I have an appendix with 26 tables. Strangely, table 22 which should be positioned after table 21 gets automatically positioned after table 2 (cf. picture). This happens for the two tables that I use ...
4
votes
2answers
105 views

How to make whole longtable align to the top?

\item \begin{longtable}[l]{l l} 1 & 2 \\ 3 & 4 \\ 5 & 6 \\ \end{longtable} Inside an enumerate environment, the above code produces a longtable that is not beside the item number but ...
0
votes
0answers
41 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 ...
0
votes
0answers
40 views

Small Caps does not match with longtable caption label?

I enter data into a longtable environment, but the label caption does not follow the shape of previous tables labels. How would you achieve this? Thank you.
3
votes
2answers
47 views

Tex does not compile when jointly using longtable, appendix, hyperref, and babel (spanish). Error: “! Argument of \@let@token has an extra }”

I have a problem with hyperref, longtable, appendix and babel (spanish) all together. TeX does not compile, with the following error: ! Argument of \@let@token has an extra }. <inserted text> ...
2
votes
1answer
34 views

Vertical alignment in tabular cells with variable height 4

I am new in LaTeX. Could the headings of a LaTeX table to be set bottom aligned, and the other cells top aligned? This feature is important for the revisions according to my school standards, and I'm ...
3
votes
1answer
79 views

How to make convert csv to fancy tables?

I want convert csv to fancy tables like this : First, I make a basic table with my MWE like this : \documentclass{article} %\usepackage{csvsimple} \usepackage{pgfplotstable,filecontents} ...
1
vote
1answer
48 views

table number is off in cross-references

I have a longtable and a regular table that were generated by a statistics package. I am inserting then into an article like this: \input{../Tables/sum_stats.tex} \label{sum_stats} and then ...
2
votes
1answer
84 views

knitr: LaTex Longtable spanning several pages with word continued at bottom and caption appears only once in list of tables

I want to have longtable spanning several pages with word continued at right bottom of the table and its caption appearing only one in the list of tables using knitr. Below is my MWE in .Rnw format. ...
0
votes
1answer
33 views

Replicating header for consecutive pages when using longtable

Below you see a table that I created in my appendix and that I have three problems with (the main problem is the one of the thread title). Table A.22 depicted above is too long for one page, ...
2
votes
1answer
72 views

How can I fix my long supertabular with a 2-columns layout?

I tried many solutions for solving my problem, last of which taken here. I need to insert a long supertabular (80 rows) in a 2-columns layout document. Currently my table doen't continue on the 2nd ...
2
votes
1answer
40 views

Changing specific 'properties' of a longtable

I want to set some general properties for my longtable so that their top row is always dark grey and so that they're always horizontally-centred on my pages. I've found some documentation on ...
3
votes
1answer
66 views

padding for cells of one column not for all cells of table

I want that just one of my columns cells have top padding. I tried : \def\arraystretch{factor}% but the result is not ideal. because I don't want all columns have the top padding. is there anyway ...
3
votes
2answers
78 views

how to have a caption on top of longtable?

I want to have a longtable like this: \begin{center} \begin{longtable}{|p{2cm}|p{3cm}|p{7cm}|p{3cm}|} \caption{my caption} \hline 1 & 2 & 3 & 4\\ \hline \hline 1 & 2 & 3 & ...
4
votes
2answers
112 views

Newline linespacing problems within a table cell

I have problems with the linespace inside a longtable environment when forcing a linebreak. Following code should illustrate the problem. ...
4
votes
1answer
102 views

Long table without page breaks

I'm looking to create a long table of results to be shown on a computer and therefore, I'd like to change the normal a4 or US letter (which is too small) for a document whose size changes with the ...
3
votes
2answers
45 views

Vertical space in longtable

I have the following table in which I have placed an extra vertical space between the lines. That space "works" in every line but in some cases it show no effect (space between the derivative and the ...
1
vote
0answers
28 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 ...
0
votes
1answer
60 views

Word wrap in multicolumn and multirow table

I tried making this table and it still run longer than page width. Also it's longer than a page length. Does anyone know how to make this table work? Also this is the first time I ever use LaTeX and ...
3
votes
1answer
107 views

Vertical space between two tables

When doing something like this: \begin{longtable}{llll} % Stuff here \end{longtable} \begin{longtable}{llll} % Stuff here \end{longtable} What command (I don't know the name of those, I mean ...
1
vote
0answers
26 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 ...
2
votes
1answer
29 views

Longtable float placement

I have a longtable that breaks over two pages. It is referenced in a paragraph that also breaks over a page, and continues at the top of the next. My issue is that I need to make it so the longtable ...
0
votes
0answers
37 views

Longtable Row too large for a single page

I need to display a source text, and a translation into another language side by side. In order to keep the source and translation together I utilized a longtable, to span multiple pages. ...
0
votes
1answer
24 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 ...
4
votes
1answer
62 views

Longtable formatting in List of Tables

I have a List of Tables which is comprised of longtables and tables. My List of tables appears as 1. Table 1 2. Table 2 3 Table 3 4. Table 4 5 Table 5 The 3rd and 5th table punctuation is ...