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

learn more… | top users | synonyms

0
votes
1answer
17 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
20 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
82 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
28 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
47 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
94 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
35 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
39 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
39 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
30 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
54 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
37 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
52 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
31 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
55 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 ...
0
votes
0answers
28 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
57 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
64 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
83 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
49 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
39 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
23 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
54 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
88 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
25 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
27 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
30 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
18 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
52 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
40 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
83 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
95 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
26 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
110 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
26 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
40 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
46 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
43 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 ...
0
votes
1answer
62 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 ...
1
vote
1answer
32 views

Latex longtable coulumn width [closed]

I have started learning Latex and writing my thesis. I want to typeset a long table. \begin{centering} \begin{longtable}{p{3.5cm}p{10cm}} ...
1
vote
1answer
33 views

How to use ERT command to long tables that is provided for float table

I have been provided with ERT (Evil Red Text) command which when used for float tables, displays the caption of the table as Table 1.1 in List of Tables. I want to know how I can use such command for ...
3
votes
3answers
56 views

longtable Alignment

I'm using a long table with image and lots of text. The alignment of it is wrong for me. I'd like to know how to make the text start on top of the box, near the line. Here is my code for the longtable ...
2
votes
1answer
40 views

Show table headers on each page

I have a table that takes about three pages to display and I'm using the longtable package. It's three columns by about 80 rows. On the first page, I have headers for each of the columns. Is there a ...
1
vote
2answers
52 views

Multiple rows with paragraphs in longtable

I'd like to have the third column (minus the header of that column) as a single cell. I was trying to use multirow and a "p" column to achieve the desired effect, but with no success. How might I do ...
5
votes
1answer
41 views

longtable sometimes starts new page when we are near the top of the page

Most of the time longtable does exactly what is required, but sometimes it starts a new page when it is near the top of the page and there is plenty of space for the entire table on the current page. ...
2
votes
1answer
36 views

Gluing text to longtable

I am an occasional LaTex user. My question relates to the use of longtable. If I understand the standard table constructs, then "tabular" defines the layout of the actual table grid with contents, and ...
0
votes
0answers
32 views

How to add audio file to longtable?

I am trying to make a long table that includes embedded audio files. Whenever I try adding files with media9, LaTeX won't create a pdf. Any suggestions on how to make a long table with embedded audio ...
3
votes
1answer
55 views

Fill last page with empty lines in longtable/longtabu

I am generating a PDF automatically from a database and I want to fill the last page up with empty rows. The document looks like \documentclass{article} \usepackage{longtable} \usepackage{tabu} ...
2
votes
1answer
169 views

Longtable: Illegal pream-token (\caption)

there is a table in my document that need to span over 2 pages. The compilation of the code gives me the following error message: Error message ! Package array Error: Illegal pream-token ...