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

learn more… | top users | synonyms

4
votes
1answer
473 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 ...
2
votes
1answer
848 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
932 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
913 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
514 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}{!}{ } ...
2
votes
1answer
519 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
382 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
749 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 ...
5
votes
1answer
762 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
561 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
286 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}{!}{ ...
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
174 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} ...
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: ...
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} ...
4
votes
1answer
784 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?
3
votes
1answer
405 views

Table spanning multiple pages with another embedeed table that can span two pages

I have found out that longtabu inside longtabu is not possible but maybe another solution exists. I am autogenerating lots of latex code for documenting a certain binary communication protocol and I ...
2
votes
1answer
924 views

Longtable nomenclature firsthead problem

After my question here: Format nomencl in table style Everything ran smooth, however, the list expanded and I was in the need to take advantage of the longtable properties: i.e. repeating the header ...
2
votes
0answers
616 views

Removing spaces between colored rows [closed]

I have a small tex document below, and I have tried various methods to remove the white spaces between rows, but haven't had any luck yet. Thanks! Here's the document: ...
11
votes
1answer
761 views

Complicated footnote within longtable environment

I have a footnote that explains color coding within a complicated longtable. I would like this footnote to appear on all pages of the longtable. However, the way I have it now, the footnote itself is ...
2
votes
1answer
340 views

How to create a document wide table style for border [duplicate]

Possible Duplicate: How to separate table content and table style is it possible to create a document wide table setting for how table border are applied for each table? I want to have the ...
2
votes
1answer
9k views

How to set width of longtable

I have a longtable defined like this \documentclass[a4paper,12pt]{report} \usepackage{longtable} \begin{document} \setlength\LTleft{0pt} \begin{longtable}[l]{ lllllllllllllllll } 00000576 & ...
16
votes
2answers
7k views

How to add vertical space struts after hline?

I know the table trick of adding "struts" in the first line after and the last line before a \hline. I use it throughout my document, and it looks good that way. However, now I am working within a ...
1
vote
1answer
573 views

Change running heads in longtable (or other “long table” package)

In a longtable, I list items of several categories, including some data on them. \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{lll} \hline \textbf{These are ...
8
votes
2answers
2k views

Splitting a wide table or a longtable into two blocks

I have a very wide table (code below). I would like to put a small gap between the data under "First Group" and "Second Group" - two of the main multicolumns column headers. I tried putting in a ...
3
votes
2answers
598 views

longtable in footnote leads to overfull page

While longtable is good at breaking across pages on a row-by-row basis, I'm having a problem with some of them in footnotes. It seems as though not enough space is being "guessed" regarding the size ...
2
votes
1answer
3k views

Wrap text with both spaces and no spaces

Trying to wrap text using longtable combined with seqsplit but it won't format correctly for something like ...
7
votes
1answer
1k views

Usage of longtable (or equivalent) and pgfplotstabletypeset

I'm a new user of TikZ pgfplots and pgfplotstable and have been stoked to discover how easy it is to go between Matlab (via matlab2tikz and writing to CSV) and LaTeX. I'm getting a little more ...
6
votes
1answer
921 views

Page breaking prohibition in some rows of the table

I use the longtable package. Its allow command \\*, for page breaking prohibition on row. Here the code, where \\* does not prohibit page breaking. (on line 44) Generaed pdf here: ...
1
vote
1answer
367 views

Text alignment on multirow when it breaks between pages

How can I get properly displayed text on multirow cells, when they break between pages? Here the example http://web-engineering.com.ua/mtest.pdf Text '/importp' on the end of first page prints ...
2
votes
1answer
301 views

Overprint \hlines

How can I set \hline\endhead for longtable, that this line would overprint on \hline , when such present after \\ in row, which transmitted on next page? When I just type \hline\endhead, I receive ...
4
votes
1answer
2k views

Format nomencl in table style

For my thesis I wwant to format the nomencl in the same style as the rest. Simply put this means I want the nomencl to appear as follows: Symbol Quantity Unit t Time s rest ...
1
vote
2answers
1k views

Incorrect numbering on table broken over pages using longtabu

I've a problem with table numbering when using longtabu and my tables go onto a second page. This was picked up by the external examiner in my viva - how embarassing! Anyway, here's a MWE which ...