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

learn more… | top users | synonyms

5
votes
1answer
2k views

Prevent longtable breaking in multirow

How can I prevent multirow from breaking in longtable environment, so this won't break at wrong position as shown by code below. \documentclass{article} ...
1
vote
2answers
5k views

longtable in LaTeX too wide?

I am having problems with a longtable, it goes off the side of the page and any attempt to limit the width only seems to work on the first page. Here is a cut down version of my table % Appendix B ...
3
votes
1answer
195 views

Wrong layout: the text crosses the border of paper

UPDATE. The combination of the longtable and figure given below results in misplacement of the following text. The text must go to the third page, but it doesn't. Instead of this it crosses the border ...
4
votes
2answers
2k views

Longtable width exceeds page

I saw these topics and sure they help a lot, Resize longtable to width of landscape page How to fit landscape multi-page table to textwidth But still it does not fix my problem for some reason. I ...
0
votes
2answers
183 views

Enumerating contents in Tables and Table stretching

In my document, I have a table with pretty much texts in it. One of my problem is that I have about 2, 3 hierchical levels of texts, such as row 1: Description row 2: 1. Advantages a. on ...
8
votes
1answer
1k views

How to wrap text around a landscape table over multiple pages? \sidewaystable or \landscape + \longtable

I am trying to create a landscape table that breaks over multiple pages. I have successfully done this with the following: \begin{landscape} \begin{longtabu} to \textwidth{some columns} \caption[my ...
3
votes
1answer
1k views

How to force the table orders in Latex

I have several tables and some of them are long tables. LaTeX displays them in different order than I want. Say, I would like to order them as table 1 table 2 table 3(longtable) table 4 table 5 ...
3
votes
1answer
474 views

Misalignment of table columns when using multirow

I have a LaTeX document in which I am using custom environment and commands to make everything a bit easier. However, when I use the multirow command in one of my custom environments, the alignment of ...
4
votes
2answers
367 views

Need help with cosmetic changes to longtable

I need some assistance with a longtable (code below). I have a few things that I've been trying to accomplish but have not been able to. 1) I want the grey background to cover the table in a similar ...
9
votes
1answer
5k views

Sidewaystable together with longtable?

I've a massive sidewaystable (code below). I've been trying different combinations of longtable, supertabular, lscape, rotating, sidewaystable, table, etc, and I can't get it to be sideways and also ...
4
votes
1answer
979 views

Long table and pgfplotstable with multiple data files

I have two csv files: namespgf.csv Sl. No., Reg. No.,Name,Category,Group,Gate,Sponsored,Department 1,MS001,Ajay-D-Vimal Raj P,PY,OBC,--,No,Physics 2,MS002,Harish Kumar,PY,GE,GATE,Yes,Physics ...
3
votes
2answers
3k views

Center content in longtable

I have this table \documentclass[a4paper]{scrartcl} \usepackage{longtable} \begin{document} \begin{longtable}{c|p{6cm}p{4cm}p{4cm}} \hline Blub & Bla & Blip & Blop \\ Blub & Bla ...
4
votes
1answer
5k views

“Same as above” representation

When I have a table, where one row has the same content as above, is there a representation for that in latex? In Germany we sometimes use ------- " -------- to say that the line here is the same as ...
3
votes
1answer
409 views

Big table in beamer

I have a big table that does not fit in the slides with Beamer, i write this : \documentclass[10pt]{beamer} \usetheme{CambridgeUS} % theme \usepackage{tikz} \begin{document} \begin{frame} ...
6
votes
1answer
239 views

huge table + footnote-ish thing

I have a book, which is basically a 100-page table. I use xtab package to layout this book. The book has a list of 100-ish definitions, which are referenced multiple times in the table. Think of a ...
3
votes
1answer
791 views

Long table in landscape mode with alternating row colors does not work with \multicolumn

I am trying to put together a longtable in landscape mode over several pages using the longtable package. The idea is simple. I want alternating row colors in the main body of the table. However, ...
6
votes
1answer
4k views

How to apply alternate row coloring in a longtable in LyX?

In attempting to apply an alternate table row coloring (using xcolor) in a longtable, one confronts, sooner or later, problems in compiling a PDF. In xcolor's documentation it is clearly stated, ...
7
votes
1answer
9k views

longtable spanning textwidth [duplicate]

Possible Duplicate: How to fit landscape multi-page table to textwidth I am trying to fit a longtable in a page with the following specifications: \documentclass{article} ...
1
vote
1answer
256 views

LaTeX Longtable bug: header-only page generated: how do I fix?

here is my LaTeX: (how does one format it nicely?): [Edit:] Reducing the example \documentclass{article} \usepackage{longtable} \usepackage{lscape} \begin{document} \begin{landscape} \noindent ...
2
votes
1answer
909 views

Alignment in a longtable + centered rule

The first row in my longtable-environment should be left-aligned and only have a specific width. The other rows should be right-aligned. I get the error Extra alignment tab has been changed to \cr 1 ...
5
votes
2answers
269 views

Last part of longtable after next float

I'm having the following problem with a document I'm making. I have a table which is split over five pages. This is done with longtable and it works fine. In the next section I have another (simple) ...
6
votes
2answers
6k views

Implementing page break in tabularx environment

Please consider the following example for better understanding. I would like LaTex to use page breaks within the tabularx environment, so that one part of the contains of \LongText will be displayed ...
1
vote
2answers
2k views

Align table caption with left border of longtable

Subj. I cannot use singlelinecheck=off because it aligns it to the left border of the page. And why table is too narrow? \documentclass[12pt,a4paper,oneside]{article} ...
6
votes
1answer
2k views

Ltablex customize caption

I use ltablex package for creating tables. How can i change the caption name for the continuation of the table, as in the picture?
1
vote
0answers
46 views

Table fixed width [duplicate]

Possible Duplicate: How to obtain width of longtable? I have many tables that I create with longtable or ltablex. How can I make all tables the same width?
2
votes
2answers
2k views

Add pdf/excel to appendix

I have a large (1 page high, 5 pages wide, in landscape) excel sheet and I want to add it to the appendices of my thesis. Is there a way to convert this to a latex tabular or can I export the excel to ...
4
votes
1answer
447 views

Correct longtable \multicolumn exceeding page boundaries/margins

I have problem with some of the longtable tables, as illustrated here: Is there an easy way to make table wrap cell contents multi-line so that it does not exceed page margins?
4
votes
1answer
2k views

Longtable margin

I use the package longtable for build tables. But the table has many columns, then it to fall outside the limits page. How do I fix this? And how to change the margin for tables? Look at the example: ...
7
votes
3answers
1k views

Keep first column on every page of long sideways-table

I have a table with a lot of columns, so I am going to make it landscape.The very first column is a sort of header, so I would like to repeat it on every page. Is there a way to do that?
1
vote
0answers
102 views

How to install package `tabu`? [duplicate]

Possible Duplicate: Where do I place my own .sty files, to make them available to all my .tex files? I want to include style sheet tabu.sty when compile. Currently, the following error will ...
2
votes
1answer
738 views

Tabular: set a line between each row in \newenvironment

I have created a particular table with 3 columns using \newenvironment. Now I want to put a line between each row and from the 2th to the 3th column. I know it is possible to add \cmidrule{2-3} at the ...
6
votes
1answer
1k views

How to suppress glsgroupskip on pagebreak? (glossaries package)

I'm using the 'glossaries' package to build a list of abbreviations. I have my own style defined based on a standard longtable style (to easily see what's the matter I pick the 'longheaderborder' ...
5
votes
1answer
4k views

nomencl with units, nomgroups and longtable

I use nomencl with nomgroups and nomunit. The only way I achieved to properly align it is given in the picture. It was produced using the methods of the documentation. The file.ist is standard, ...
11
votes
1answer
4k views

Longtable vs. supertabular: Which is right for which job?

I have a fixed-column long table, with much text inside, that spans about three pages. I set it using the supertabular package, and for the most part it is working (I will still have to go back to ...
3
votes
2answers
870 views

reference to a label linked with a longtable row

Is there a way to link to a specific row in a Longtabl environment. This is usefull when using the hyperref package and allows the viewer to simply jump from somewhere in the document to the right row ...
5
votes
1answer
877 views

Page breaks in table rows

I want to make a document that contains a synopsis of events, like YEAR HISTORY CULTURE SCIENCE 1770 History para- culture para- science para- ...
8
votes
2answers
498 views

longtable changes the page heading

Consider the following MWE: \documentclass{article} \usepackage{kantlipsum} \pagestyle{headings} \usepackage{longtable} \begin{document} \section{First} \kant[1] % using this longtable changes ...
6
votes
2answers
13k views

Resize longtable to width of landscape page [duplicate]

\documentclass[a4paper,12pt]{article} \usepackage{longtable} \usepackage{pdflscape} \usepackage{graphicx} \begin{document} \begin{landscape} % \resizebox{\textwidth}{!}{ } ...
2
votes
1answer
502 views

Single entry in list of tables using datatool + longtable

I'm using the \DTLdisplaylongdb from datatool in order to create a multi-page table with longtable. How do I provide a caption that only shows up once in the list of tables? (Right now it's showing an ...
10
votes
1answer
6k views

How to fit landscape multi-page table to textwidth

\usepackage{longtable} \begin{landscape} \begin{table}[!htb] \centering \resizebox{\linewidth}{!}{% \begin{longtable}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} % Table here \end{longtable}% }% \end{table} ...
6
votes
1answer
364 views

longtable: extra table structure after last entry

My long table extends one more column after the last row and is not smooth. What am I missing? \usepackage{longtable} \begin{longtable}{|l|l|} \caption{sample table with extra lines} \\ \hline ...
4
votes
1answer
732 views

Math environments in tables with > and < preamble

I'm trying to put a \begin{align*} and \end{align*} for every entry at columns 2 and 3 of my table. But I'm getting errors that seem to say my environment markers are mismatched. I'm sure I've got my ...
5
votes
2answers
2k views

Wrapping a table both rowwise and pagewise

I just discovered the tabularx package which allows me to introduce a table column which has line wrapping, and I also know that packages that allow automatic table splitting across pages do exists ...
5
votes
1answer
704 views

Creating a simple table article; multi line table headings, display date on same line as caption and double underlines

I have written my first LaTeX document, and although it broadly looks like how I want it to, I want to polish it further to give it a bit more of a profession look - alas, this si where I have come ...
5
votes
1answer
535 views

longtable spanning multicolumns

How to use make a longtable span across a two-column document? I'm working on a twocolumn class, and I'd like to make the longtable be centralized in the page, as well as to make the orphan items, ...
4
votes
2answers
276 views

Placing long table inside \shadowbox

I have a multi-page table produced by long table package and I want to put each page of the longtable inside \shadowbox. Here is what I have tried: \documentclass{article} \usepackage{fancybox} ...
8
votes
1answer
3k views

longtable multirow problem with cline and nopagebreak

I have a problem using with the package lontable and multirow together. It seems that the \* is not avoiding the page breack, if I'm using \cline{i-j} just afterwards. Here the original code for ...
5
votes
1answer
2k views

How to change the margins for a landscape-orientated longtable in classicthesis

I am using the excellent classicthesis to typeset my thesis. It looks great, and I would be loathe to change unless I had to, but I've run up against a problem. I have a number of longtables in the ...
7
votes
1answer
1k views

Captions for tables included via pdfpages

I have a large number of multipage longtables as independent pdfs. I am including these pdfs in my main document using the pdfpages package. My code for including the PDFs currently looks like this: ...
2
votes
2answers
4k views

Bold \hlines for longtable

I've searched the topic and found the following two answers. Answer 1. LaTeX tables: How do I make bold horizontal lines (typically \hline)? The best answer suggests to use booktabs. However ...