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

learn more… | top users | synonyms

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 ...
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 & ...
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 ...
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. ...
4
votes
1answer
177 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
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
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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}} ...
5
votes
1answer
156 views

Setting vertical spacing between different document elements at the same time

I have the following problem. Let's define three types of document elements: Titles, Paragraphs and Longtables. The problem is to setup vertical spaces between them independently. For example, let's ...
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 ...
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
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 ...
2
votes
1answer
123 views

Inclusion of a landscape multipage table in an apa6 class document.

I have question concerning the inclusion of a landscape multipage table in an apa6 class document. The example below is working fine (apa6 class is not used): \documentclass{article} ...
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
2answers
78 views

Adjust margins for long table on a landscape page

My minimum working example: \documentclass{article} \usepackage{longtable} \usepackage{lscape} \usepackage{array} \begin{document} \begin{landscape} \section{My First Section} ...
6
votes
2answers
465 views

How to eliminate the \\ at the end of a longtable

I define a macro \mycmd like this \newcommand\mycmd[2]{{some complicated format #1}&{some complicated format #2}\\} to simplify the input. So I can just write: sometext \begin{longtable}{cc} ...
3
votes
2answers
119 views

specifying a longtable not to split

I am using longtable in my report as I have many tables that are longer than a page. To make it consistent, I am using longtable for all the tables. Many times because of page settings, a small table ...
5
votes
3answers
209 views

Latex: Tabbing environment not working within fancyhdr footer and usage of longtabu

I have problems when I try to use the tabbing environment within a fancyhdr footer and using a longtabu table within the document. The error message is: ! LaTeX Error: Undefined tab position. I ...
2
votes
2answers
87 views

Tabular with linespacing

Moin, I want the rowspacing behavior to be default. So this: \usepackage{longtable} % ... MAGIC ... % \begin{longtable}{ccc} entry1 & entry2 & entry3 \tabularnewline entry4 & ...
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. ...
3
votes
2answers
246 views

How to write multiline in a cell of table in latex?

I have multiline table. \documentclass[11pt,table,a5paper]{article} \usepackage[top=2cm, bottom=2cm, outer=2.1cm, inner=1cm,twoside, headsep=26pt]{geometry} \usepackage{collcell} ...
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 ...
22
votes
2answers
1k views

Column-wise break of extra wide tables

I have to plot geochemical data tables that are like this table , i.e. with a header column, but that have much more sample columns. When having too many columns, the table has to be broken at a ...
5
votes
1answer
270 views

Longtabu total width, fixed left margin

I'm trying to make a longtabu that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem: First possibility: If I use the adjustwidth ...
1
vote
1answer
144 views

Line-breaking long cell contents when using longtable through datatool

I'm trying to display a table loaded from a CSV file and displaying it like this: \DTLloadrawdb[]{myDB}{myDB.csv} \DTLdisplaylongdb[% caption={myDB caption},% label={tab:myDB},% ...
2
votes
1answer
223 views

Splitting a 2-column very long table into various multiple columns across different pages

I have a 645-row table to be included in one article appendix. Such table has only two narrow columns where each row is composed of a Month-Year in the first cell and one date in the last cell of the ...
2
votes
1answer
76 views

long table working in TexNiccenter but not in R Studio GUI

I'm having a weird error where my code is working just fine in TexNiccenter but unable to compile within the R studio GUI (probably not an R studio problem just R problem). Here's some background: my ...
2
votes
1answer
174 views

Math mode in longtabu

I'm trying to typeset a very long table that spans a few pages and contains exclusively mathematical formulae. In order to accomplish that I'm using the \longtabu environment provided by the tabu ...
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 ...
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 ...