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

learn more… | top users | synonyms

9
votes
1answer
6k 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
1k 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,MS003,...
3
votes
2answers
4k 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
6k 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
410 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
244 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
858 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, ...
7
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
10k 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} \usepackage[...
1
vote
1answer
264 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
1k 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
279 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) ...
7
votes
3answers
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} \usepackage[left=35mm,right=...
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
482 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: ...
8
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 be ...
2
votes
1answer
870 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, ...
14
votes
1answer
5k 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
946 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
918 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
519 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
15k 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}{!}{ } \begin{longtable}{|c|c|c|...
2
votes
1answer
522 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
7k 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
387 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
757 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 ...
6
votes
2answers
3k 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 (e....
5
votes
1answer
771 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 ...
6
votes
1answer
562 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, i....
4
votes
2answers
287 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 ...
6
votes
2answers
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 ...
1
vote
2answers
1k views

longtable + itemize + resize

i'm trying to rezise a longtable that contains itemize...can you help me? if i put \resizebox{0.8\textwidth}{!}{ I have error. My table start as: \begin{centre}\resizebox{0.8\textwidth}{!}{ \begin{...
8
votes
1answer
5k views

Footnotes in longtable captions

Is there a way to put a footnote in longtable caption? \documentclass{book} \usepackage{longtable} \begin{document} \begin{longtable}{|c|} \caption{Table % \footnote{Footnote} % ...
6
votes
1answer
175 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 ...
4
votes
1answer
353 views

One cell too many with datatool and longtable

I am aware of the previous post datatool with longtable, but it didn't solve my problem. I've a document with 10 tables or so, for each table I use this piece of code: \DTLsetseparator{;} \...
7
votes
3answers
1k views

longtabu and scrpage2: line breaks in page header cause compilation errors

Please consider the following MWE: \documentclass{scrartcl} \usepackage{longtable,tabu} \usepackage{lipsum} \usepackage{scrpage2} \chead[Headline 1\\ Headline 2]{Headline 1\\ Headline 2} \pagestyle{...
0
votes
2answers
1k views

Table does not break properly between tables

Table overdraw footer, when I expect that this should be break on new page after fifth line (after this text 'Uuuuuuuuuu ttt ppppppp') Here is the generated PDF: http://web-engineering.com.ua/mtest3....
0
votes
1answer
375 views

longtable package is not spanning table across multiple pages

I have a table which spans into multiple pages. but, I could not get the table spanning into multiple pages. here is my MWE. \documentclass[a4paper,10pt]{book} \usepackage{multirow} \usepackage{...
4
votes
1answer
793 views

squeeze the text in table

I had gone thro this question and still in my case, i have the overlapping text in the table Here is my MWE \documentclass[a4paper,10pt]{book} \usepackage{pdflscape} % to change certain pages to ...
11
votes
1answer
9k views

how to align longtable at the left side

I'm using longtable package to create tables, that take more than one page. But be default longtable is centered. How to left-align a longtable?