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

learn more… | top users | synonyms

0
votes
0answers
17 views

How to span on etable column across multiple pages in pdf latex

I am using longtable like this \begin{longtable}{|p{0.5cm}*{4}{|p{4cm}}{|p{7.2cm}|}} \hline\hline \rowcolor{orange} ...
1
vote
2answers
25 views

Using seqsplit with multicolumn

I want to create a longtable with headers centered, columns left or right aligned. Thanks to my previous question: Right aligning two columns next to each other in longtable and its great answer, I've ...
4
votes
2answers
49 views

Is the longtable enviroment limited? I have a several pages long table

I am writing a long table with several complex things inside. When I realized I needed a multiple page table I tried to change table to longtable, but it just gives me a lot of errors. How can I ...
2
votes
1answer
25 views

Right aligning two columns next to each other in longtable

Reading this other thread, I found how to right align a column in longtable. However if I want to right align two columns that are next to each other: ...
3
votes
2answers
31 views

Setting widths in a longtable not working

I want to create a longtable that spans several pages, with column widths set to cms by me: \documentclass[12pt]{article} \usepackage{longtable} \usepackage{seqsplit} ...
3
votes
2answers
43 views

Longtable with multicolumn and parbox spacing issues

I've been trying to build a "complex" table of a certain size but I still have some problems with the spacing. As you can see in the attached pictures, some lines overlap the table row dividers, other ...
3
votes
1answer
57 views

using TikZ with multipage table

I am using tikz files to insert figures . I would like to add 3 figures one after the other with the same figure caption: I use this code: the problem is that the last figure is at the bottom of the ...
4
votes
0answers
41 views

Strange vertical space before the caption of a longtable with KOMA-Script classes when xcolor is loaded

When using one of the main KOMA-Script classes — scrartcl, scrreprt, scrbook but not scrlttr2 —, the vertical position of the caption in a longtable environment changes when one loads or unloads the ...
1
vote
1answer
44 views

Longtable and multicolumn

I've been having some issues with the longtable package. I'm creating a table for some UML Case Details but there must be something that I cannot find which is continuously giving me an error ...
0
votes
0answers
31 views

Remove header in a3 pages inside a4 doc

I have a longtable in a3 pages within an a4 document. I want to remove the headers since these pages are going to be one sided and the header is for a two sided document. I have tried different things ...
2
votes
2answers
53 views

Code listing spanning multiple pages with captions at top

Is it possible to span a lstlisting environment or lstlistinginput on multiple pages, such that the caption is repeated on each page (the listing counter stays the same), as well as being able to ...
1
vote
0answers
37 views

Problem with Longtable \endfoot in wrong place

thank you all in advance for any help you can give me with this problem... I'm using longtable to split a couple of tables over several pages - these will be in the appendix of my thesis... my ...
2
votes
1answer
56 views

Keeping two rows on one page using longtable

I am creating a longtable which spreads over multiple pages. The problem is that the coefficients and standard errors which are in two consequential rows sometimes get separated. How to I hold those ...
5
votes
2answers
54 views

Different caption alignment on different longtable pages

I'm using longtabu(longtable) for splitting a table on 2 and more pages, and i want to show different captions on pages. This works fine, however i need the first caption to be aligned left, and the ...
2
votes
0answers
34 views

How to make a doublesided longtable with a doublesided header?

I'm currently struggeling to extend a onesided longtable with fixed column widths to a double-sided layout (where the position of the columns changes depending on even/odd pages). My current approach ...
1
vote
1answer
46 views

Problem with landscape table layout following a normal table in a document

I have landscape tables which span multiple pages and are laid out as three part tables with a notes section at the bottom. The landscape tables in the document are fine at the beginning of the ...
2
votes
2answers
66 views

Table captions continued

I am writing an article which has a long table with many rows. I would like to divide this table for multiple pages but I can not change the captions of these tables like "Table 1: Blablabla" and for ...
7
votes
1answer
145 views

Vertical spaces above and below longtabu

This is, in a way, a follow-up-question to New table-environment, spaces and enclosing { } in a new environment, which has already been answered conveniently by @egreg. Please compile this MWE to ...
6
votes
1answer
77 views

How to remove the white space on the top of the following table?

How to remove the white space on the top of the following table? \documentclass[preview,border=0pt,varwidth]{standalone} \usepackage[table]{xcolor} \usepackage{array} \usepackage{longtable} ...
2
votes
1answer
50 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 ...
2
votes
3answers
80 views

Itemize inside longtable

I have the following (Non-working) example. \renewcommand*{\arraystretch}{1.8} \begin{longtable}{lcl} \caption{Summary of proven determinants for falling}\\ \toprule ...
1
vote
1answer
113 views

Vertical alignment of table rows with images. PDF vs. HTML generated by htlatex

I have a table with 2 columns. Left column is text and the right column has an image. I wanted the row to be aligned at the top. So that the text and the image start at the same horizontal level. ...
2
votes
1answer
34 views

longtable on dedicated tables page

I have written a document that includes many tables, so I have chosen to place all tables at the end of the document, invoked via the [p] option in the table environment. I now have to include a long ...
4
votes
1answer
45 views

Longtable monospace font

How do I format all the text in a longtable to monospace. Adding \texttt{ before or after the \begin{longtable} and a } at the end gives me a Runaway argument? { \begin {longtable}{lll} ! Paragraph ...
0
votes
1answer
45 views

How can i convert the tabular into longtable [duplicate]

I have this report and i can be as long as 40 pages. My current setting is cutting it on one page only. I am very new to latex and i am just copy pasting from internet. If you guys can fix that. ...
2
votes
0answers
54 views

Differences between longtable and xtab

I have a pretty simple table that needs to span multiple pages. This seems like a job for either the supertabular/xtab package or the longtable package. The voting on the answers to this question ...
4
votes
1answer
97 views

Floating longtable in Latex

I have a short table but I want to use the longtable environment for it because I have also some other long tables in my document and I want they have the same appearance. However, I do not know how ...
2
votes
0answers
69 views

scrheadings and longtable alignment problems

I'm using classicthesis for my work and have a few large tables in the work. I like the option of having the chapter and section name at the top of the page so I use the \pagestyle{scrheadings} ...
0
votes
0answers
30 views

Codes running smoothly when run separately but generates error on running together [closed]

I have two chunks of code running both of them individually gives no error but when i run them together in a single tex file i get errors as mentioned below \begin{longtable}{l c} \caption{Basic ...
4
votes
1answer
55 views

Problem with fontsize when using longtable

I am using longtable package to make my large table span two pages. However I have set the font size with \fontsize to my table to be quite small. The only problem is that when the table is finished, ...
3
votes
1answer
49 views

Is there an `\firsthline` option for longtable?

I've been trying to use a command as \firsthline within a longtable environment. \cline does not work, neither \toprule does. This is my code example: \begin{longtable}{lp{99mm}} \caption{Work ...
3
votes
1answer
68 views

How to remove multiply-defined label in pgfplotstable using longtable

I need to add caption to a longtable possibly with a label to reference in text, however SIAM format fails when it encounters multiply-defined labels because of the repeated caption. Is there an easy ...
2
votes
1answer
49 views

How to adjust space between columns in longtable environment?

In the regular tabular environment, we can use \setlength{\tabcolsep} to specify the size of the space between the columns, but this doesn't work in longtable. Is there a similar command? ...
1
vote
1answer
49 views

Linebreaking in table goes across columns

First time poster so please be kind. Here is my MWE: \documentclass[10pt]{article} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{verbatim} \usepackage{xcolor} \usepackage{graphicx} ...
3
votes
1answer
56 views

Using longtable with \cmidrule: page-breaking issues

Here's a (minimal?) working example that illustrates both the issues I am having: \documentclass{article} \usepackage{longtable,booktabs,lipsum,array} \usepackage{pgfplots} ...
4
votes
3answers
145 views

Set longtable to fit the page-width

I would like to set a longtable to fit correctly the page-witdh. From now, I've this situation: and the related tex code is: \usepackage{array} \usepackage{multirow} \usepackage{longtable} ...
1
vote
1answer
94 views

Dashed hline in longtabu (arydshln conflicts, does not work?)

I have a large table with the following requirements: Spans multiple pages (currently using longtable) The last column's text must wrap (using tabu's longtabu environment as tabularx does not ...
0
votes
1answer
33 views

Remove justification from a longtable? [duplicate]

Using : \documentclass[12pt,a4paper]{report} \usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry} \usepackage{longtable} \begin{document} ...
0
votes
1answer
91 views

create long table within multiple pages

need to create long table within multiple pages.My code gives 3 errors "Error: Package array Error: Illegal pream-token (\renewcommand): `c' used." and "Error: Misplaced \noalign. " and "Error: ...
1
vote
1answer
434 views

LaTeX split long table in multiple pages and resize the width

I am trying to find a way to fix the width of my table to the margin of a portrait page (not landscape) while continuing the table in another page since it is very long. I can adjust the width by ...
3
votes
1answer
76 views

Inaccurate table numbering with LyX

I'm using LyX to create some tables, but the numbering is complete borked. In the LyX window, the table numbers are accurate. However, when I render to a PDF, they are evens only: 2, 4, 6 etc. (I'm ...
0
votes
2answers
62 views

Fixed right margin of longtable

I have several equations in my paper, with variables explained below in the form of longtable (so it can be split into two pages). I want my table to be as wide as the text. I try to use \LTright but ...
3
votes
1answer
160 views

Alternate Row colors in longtable

I am using the method proposed by Nikos Alexandris in "How to apply alternate row coloring in a longtable in LyX?" works to a limited extent but the shaded rows does not fill the whole width of page. ...
5
votes
1answer
76 views

Space between \hline\hline in longtable using package colortbl

When I use a \usepackage{colortbl} a space between \hline\hline in \longtable dissapears. I haven't find any solution how to put the space back, so I hope you'll help me to find it. ...
2
votes
3answers
90 views

Automatically enumerate for two columns and longtable

I’m in the middle of creating a test that has several pages. The example below illustrates its structure. \documentclass[a4paper,9pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, ...
5
votes
1answer
97 views

Indented box that split in multiple pages

I am doing a document with exercises and corrections. I would like the corrections to be easily remarkable so that no student read it by accident and get its exercise spoiled. I have written an ...
2
votes
1answer
67 views

How to wrap web address in table?

All of my text in my table wraps except for line 13, which I have copied below. The website runs off to the side of the page. I'd like it to wrap the web address. Can anyone help? ...
0
votes
0answers
218 views

latex error environment longtable undefined [closed]

I'm trying to create a table that spans muiltiple pages and receiving the !LaTex Error: Environment longtable undefined while using the follwing script: \documentclass{article} ...
3
votes
0answers
91 views

Is it possible to use tabularx inside a longtable environment?

Is it possible to use tabularx inside a longtable environment? If not, is there any way I can get the "X" funcionality of tabularx with the option of long tables ---In order for me to be able to ...
0
votes
0answers
67 views

longtable continues in header/footer

I generate a long table in LaTeX. But the table continues in the header and footer and some of the content of table is hidden/overshadowed by the header and footer. Is there anyway that it can clear ...

1 2 3 4 5 7