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

learn more… | top users | synonyms

3
votes
1answer
49 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
59 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
75 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. ...
0
votes
0answers
18 views

Error formatting a csvsimple longtable with siunitx

I'm trying to construct a longtable through csvsimple package. There is no much problem with this, although I'm using a mixing of usual longtable setup with a very basic csvreader (i.e. without pure ...
4
votes
1answer
43 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
35 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
22 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
47 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
79 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
22 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
25 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
26 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
14 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
45 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
35 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
63 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
71 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
73 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
25 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
97 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
24 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
38 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
37 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
36 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
54 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
31 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
25 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
47 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
35 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
47 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
36 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
34 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
30 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
50 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
120 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 ...
2
votes
2answers
51 views

Long table with tablenote

In the following long table, I can't put table note. Any suggestion? and How I can set the whole table size? \documentclass{article} \usepackage{longtable} \usepackage{pdflscape} ...
4
votes
1answer
55 views

Follow-on to tabulary + longtable + captioning

I was able to use the coding provided by Justibus: Several caption problems in longtable and tabulary. What my question is - now that i've been able to make my table wrap columns and break over ...
2
votes
1answer
62 views

multicolumn X paragraph?

\documentclass[a4paper,10pt]{article} \usepackage{array,tabularx,longtable,tabu} \usepackage{lipsum} \begin{document} \begin{longtabu} to \linewidth {Xccr} \lipsum[1] & Val1/1 & Val1/2 ...
3
votes
1answer
50 views

Vertical align in longtable

I would like the content of the first and second column to be vertically aligned on top, since the 3rd column will contain a bunch of data so it would not be readable if vertically centered (which is ...
4
votes
0answers
50 views

Using multiple autogenerated longtables inside multicols environment

I have several longtables which are auto generated. Since they are not actually long or wide ones, it would be rather space saving for me if I could pack them in a multi column environment. So, I ...
2
votes
1answer
44 views

Adaptative column width

I am currently automating a report generation and I am now trying to obtain a consistent look on my arrays. I am currently working on a part where the pages need to be set in landscape mode, so I am ...
0
votes
0answers
103 views

Table and longtable centering and caption alignment

I want to format table and longtable in a special way: 1) table/longtable should be positioned to the center of the page 2) table/longtable caption should be positioned between left and right ...
2
votes
1answer
46 views

Automatically bold first sentence of a caption in longtable

This question is a follow-on from Automatically bold first sentence of a floats caption. I can automatically bold the first sentence of the caption in my normal tabulars, but the code doesn't seem to ...
2
votes
2answers
74 views

Generic table definitions

According to the topic How to use commands in table specs, and still support array package? I have tried to intense the way of creating tables, definitions. \documentclass[fontsize=11pt, % Document ...
0
votes
0answers
29 views

Getting longtable to display an image when first on page right

I've been battling with this problem trying to get this to work properly. I have a complex group of longtables I'm trying to get to display right. What I'm trying to do is compile a catalog ...
2
votes
1answer
43 views

The label number for a longtable in a landscape enviroment skips by one - help?

I have typeset a longtable in a landscape in each of 2 subsubsections right after one another (in the appendix of my document, actually). There are just a few sentences in each subsubsection before ...
0
votes
0answers
33 views

longtable + booktabs - \bottomrule in \endlastfoot is not getting printed

My last line in a longtable ends with \\. Are there circumstances where a \bottomrule, defined via \bottomrule \endlastfoot would not get produced, especially at the end of a page? The only thing ...
2
votes
1answer
101 views

Page Breaks in Two-Column, Multi-Page Table

I'm currently using xtab to create long tables that span two columns, and multiple pages. What I'd like to do is have a finer degree of control over when the table is broken on a page / column ...
5
votes
2answers
228 views

Weird Error from \midrule

I am getting a weird error code: \expandafter \let \cmrsideswitch \@tempa \fi \fi? Strange error in my table The question above had the same code and it was liked to his use of \cmidrule. I am ...
2
votes
1answer
46 views

Display image on JUST the first table of every page using longtable

I have a bunch of longtables of varying lengths displayed 1 right after the other. Is there a way using longtable to auto run a macro or something on a just the first table of each page (regardless ...