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

learn more… | top users | synonyms

0
votes
1answer
29 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
62 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
31 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
65 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
83 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
70 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
30 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
72 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
50 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
37 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
47 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
120 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
38 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
60 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
116 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
49 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
44 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
56 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
47 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
120 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
50 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
148 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
37 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
98 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
44 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
72 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
101 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
145 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
107 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
54 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
30 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
72 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
129 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
29 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
46 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
37 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
72 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 ...
3
votes
2answers
54 views

Formatting longtable to width of landscape page

I'm having trouble formatting the following table to be a landscape page width as well as span multiple pages. I think my issue might be font size and change of column width but I can't seem to fix ...
1
vote
1answer
182 views

array, table, tabular, tabularx, longtable, supertabular, longtabu [closed]

What is the difference between array , table, tabular, tabularx in terms of syntax , typesetting , ease of use, and appearance after compiling. In short, where will you use each of them and what are ...
1
vote
1answer
196 views

Make longtable automatically fit page (line width)

I have a longtable in landscape mode that is automatically split on multiple pages when there are too many rows. I have solved the length problem. Now I have a problem with width, the rows are going ...
4
votes
2answers
77 views

How can I keep a cellcontent static?

I have defined a TeX-macro to compare date and time information. Within a single box, there is no problem, but if used in a table, in different columns or lines, as shown below, the result is 0. ...
2
votes
1answer
37 views

How to I use a longtabu inside \newenvironment?

I have the following newenvironment defined using tabularx \newenvironment{factlist}{% \newdimen\unbaseline \unbaseline=\dimexpr-\baselinestretch\baselineskip\relax ...
4
votes
3answers
144 views

Fit a long table on multiple pages

I have this table that it ok for the width but not for the height. How can I split into two different pages? I tried using longtable but I got so many errors. I put an example of a long table taken ...
0
votes
0answers
44 views

Orientation of landscape longtable on actual page

In my article I have a longtable in landscape orientation. On the first page the orientation of the table is right. The problem is the orientation of the table on the second page. It is the same then ...
3
votes
2answers
52 views

why in the second row, the second column is taller than the other

\documentclass[]{article} \usepackage{longtable} \usepackage{array} \usepackage{booktabs} \begin{document} \begin{longtable}{|m{2cm}||m{1cm}|m{1.5cm}|p{3.8cm}|p{1cm}|p{1cm}|p{2cm}|} ...
5
votes
1answer
93 views

Longtable Long Word wrapping issue

Im trying to wrap long words in a longtable and its not quite working right. some of the words spill over to the next cell. any help would be great thanks! \documentclass{report} ...
2
votes
1answer
57 views

Twocolumn supertabular output overlapping

I'm having problems getting my table on two columns. I have tried using a longtable and supertabular but so far with little succes. I currently have a supertabular with two columns, but the output ...
2
votes
2answers
92 views

Figure or longtabu/longtable causes bottom margin overflow

I have been searching for a while now without any luck, so I hope you can help me. The problem is that when I insert a figure/longtabu on my page, the text below is running out of the page, like this ...