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

learn more… | top users | synonyms

2
votes
1answer
43 views

multicolumn X paragraph?

\documentclass[a4paper,10pt]{article} \usepackage{array,tabularx,longtable,tabu} \usepackage{lipsum} \begin{document} \begin{longtabu} to \linewidth {Xccr} \lipsum[1] & Val1/1 & Val1/2 ...
2
votes
1answer
34 views

Vertical align in longtable

I would like the content of the first and second column to be vertically aligned on top, since the 3rd column will contain a bunch of data so it would not be readable if vertically centered (which is ...
3
votes
0answers
29 views

Using longtable inside multicols environment

I have several longtables which are auto generated. Since they are not actually long or wide ones, it would be rather space saving for me if I could pack them in a multi column environment. So, I ...
2
votes
1answer
33 views

Adaptative column width

I am currently automating a report generation and I am now trying to obtain a consistent look on my arrays. I am currently working on a part where the pages need to be set in landscape mode, so I am ...
0
votes
0answers
46 views

Table and longtable centering and caption alignment

I want to format table and longtable in a special way: 1) table/longtable should be positioned to the center of the page 2) table/longtable caption should be positioned between left and right ...
2
votes
1answer
27 views

Automatically bold first sentence of a caption in longtable

This question is a follow-on from Automatically bold first sentence of a floats caption. I can automatically bold the first sentence of the caption in my normal tabulars, but the code doesn't seem to ...
2
votes
2answers
65 views

Generic table definitions

According to the topic How to use commands in table specs, and still support array package? I have tried to intense the way of creating tables, definitions. \documentclass[fontsize=11pt, % Document ...
0
votes
0answers
19 views

Getting longtable to display an image when first on page right

I've been battling with this problem trying to get this to work properly. I have a complex group of longtables I'm trying to get to display right. What I'm trying to do is compile a catalog ...
2
votes
1answer
40 views

The label number for a longtable in a landscape enviroment skips by one - help?

I have typeset a longtable in a landscape in each of 2 subsubsections right after one another (in the appendix of my document, actually). There are just a few sentences in each subsubsection before ...
0
votes
0answers
20 views

longtable + booktabs - \bottomrule in \endlastfoot is not getting printed

My last line in a longtable ends with \\. Are there circumstances where a \bottomrule, defined via \bottomrule \endlastfoot would not get produced, especially at the end of a page? The only thing ...
2
votes
1answer
46 views

Page Breaks in Two-Column, Multi-Page Table

I'm currently using xtab to create long tables that span two columns, and multiple pages. What I'd like to do is have a finer degree of control over when the table is broken on a page / column ...
5
votes
2answers
223 views

Weird Error from \midrule

I am getting a weird error code: \expandafter \let \cmrsideswitch \@tempa \fi \fi? Strange error in my table The question above had the same code and it was liked to his use of \cmidrule. I am ...
2
votes
1answer
40 views

Display image on JUST the first table of every page using longtable

I have a bunch of longtables of varying lengths displayed 1 right after the other. Is there a way using longtable to auto run a macro or something on a just the first table of each page (regardless ...
1
vote
1answer
18 views

Longtable same header, different caption

The standard use case for longtable must be as follows: Headers on every page Caption on the first page Table x: Continued... on each subsequent page So why does this seem so hard to do? This SE ...
1
vote
1answer
119 views

Complex nested table in LATEX

In my document I want to include nested tables as in the picture below. i- The table need to occupy the page width ii- The left most column "GRP1" & "GRP2" to be left aligned on the page iii- ...
3
votes
1answer
37 views

One bookmark per longtable

I asked a question about how to generate bookmarks for tables and figures a few month ago and received an excellent answer (solved question). The proposed code works like a charm for normal tables. ...
3
votes
3answers
143 views

What does mean the code in this table?

After see the Andrew Swann solution to my previous question: How to fit this table in a page? I tried to fit it to another table: \documentclass[11pt]{book} \usepackage[utf8]{inputenc} ...
4
votes
4answers
56 views

Unwanted space before hyphen in longtable

I have a minor typesetting problem inside the longtable environment. I am writing my CV and I need to write a list of skills inside a table cell. Since I'd like to keep the document length down to ...
1
vote
2answers
42 views

line break in math mode within longtable environment

I have a long mathematical expression within parenthesis which is larger than the column width that I have specified for my table. How do I force it to break the expression onto a new line? ...
8
votes
2answers
64 views

Longtable and floats: wrong table breaks on pages with floats (part 2)

I think I may have stumbled upon an undocumented feature regarding page breaking in longtable. The following MWE produces (at least in my TeXlive 2014 setup) a document in which the last paragraphs ...
2
votes
1answer
39 views

Longtable breaks afterpage

My problem is that I want to have a certain footer on the first, or the last, page. The solution I've tried with is by using fancyhdr together with afterpage. Here is a working example, without ...
1
vote
1answer
76 views

How to generate a table with items into a box?

\documentclass[11pt]{book} \usepackage[utf8]{inputenc} \usepackage[spanish,mexico]{babel} \usepackage[T1]{fontenc} \usepackage{booktabs}<br/> \usepackage{ltablex,array,ragged2e} ...
0
votes
1answer
29 views

Constructing a longtable with several images

Can someone please help me to make this table with several images into a long table with several images? I tried changing it into a longtable but I'm not sure I can use my specialcell that I declared ...
1
vote
1answer
26 views

Lasthead section in a longtabu environment

Longtabe environment has sections for first head and other head. I want to add third section for last head wich must be on the last page of a table with slighly different text. Is it possible? PS. ...
2
votes
1answer
48 views

Configure long table caption

I have to prepare several long tables in a conference proceeding book. Editor told me that I had to suppress captions of long tables on odd pages. Is it possible? EDIT: Minimal working example here: ...
1
vote
1answer
48 views

longtable side by side

I've two longtables and I'd like to place them side by side. Tabular environments work very well, but I think it is not possible to place longtable side by side (why?). It needs to be a longtable or ...
4
votes
2answers
99 views

Formatting a longtable

I have a longtable, but I'm unsure how to do two things, listed below. NB: The MWE given at the bottom of this post is not an exact representation of how the table appears in my document. This is ...
4
votes
1answer
63 views

How to merge two rows of 2 columns into a single row of 4 columns without modifying the data entry?

At the beginning I designed a table with a huge number of rows of acronyms. The table has two columns and occupies \textwidth, as follows. \documentclass{article} ...
0
votes
0answers
44 views

Can someone help me please? it is about width of the table [duplicate]

My table is too wide and too long to fit one page. i want to seperate it to 2 pages. i used longtable package to seperate it two pages bu i cant fix the wideness. her is my table code, (it look a ...
3
votes
4answers
252 views

How can I make a long and wide table fit the text width?

My table is too wide and too long to fit in one page. I want to separate it in 2 pages. I used longtable package to separate it in two pages but I can't fix the width. Here is my table code, (it look ...
1
vote
1answer
29 views

Avoid multiple entries of caption in list of tables using pgfplotstable with longtable

I'm using pgfplotstable to display data from .csv files and it happens that displayed tables break over three pages. The problem is, that for every page an entry is placed into the list of tables. ...
1
vote
1answer
58 views

How to create a table with long text and which packages use

Please, Help me inserting a table like this. I could not prepare this table easily because the long text i have to insert into the columns. I have been trying from some examples of stackechange but ...
0
votes
0answers
45 views

Centering defined width columns with long table [duplicate]

I have been trying to get a long table with specified column widths and centered text. I found away to do this (>{\centering}p{1cm}) which works until I apply centering to the last column, at which ...
2
votes
2answers
64 views

Longtable with two column

I need a longtable with only two columns. I saw this topic Two column list with and I managed to convert into longtable. \documentclass{article} \begin{document} ...
3
votes
1answer
68 views

Need help starting long, text-heavy table

I am new to LaTex and trying to teach myself. Currently I am trying to write a unit plan for graduate school (MA in Math Ed), which would look something like that provided image. One question, one ...
1
vote
1answer
25 views

Put longtable caption in marginpar and keep compatibility with caption package

After some research I found a way to place the caption of a longtable (ltablex) into the left marginpar, aligned with the top of the table. Therefore, i adapted this solution stackexchange.com: ...
1
vote
1answer
49 views

Longtable new column widths on each page

Let's assume that I have a longtable of two pages. On the first page there are only short cells but on the second page there are some longer ones. Here's an example: \begin{longtable}{|l|l|l|l|} ...
1
vote
1answer
199 views

Errors in table, missing \endgroup inserted <inserted text> \endgroup

Below is the latex example i am working on, it should generate two tables. One table with two columns, the other table is just one column. And i have a software program it makes any word in the table ...
5
votes
4answers
98 views

Longtable issue

I have a long table spread over multiple pages that I code using the package longtable package. A sample of my code is this: \documentclass[a4paper]{article} \usepackage{longtable} \begin{document} ...
4
votes
1answer
81 views

In table cell, how to break long words after “::” or “_”?

I have a software program can generate tables which may be very long and may contains words with many letters,so i use longtabu package. Some words may look like this: AAA_BBB_CCCC_DDDDD_CC ...
6
votes
2answers
56 views

Vertical alignment of images in longtable

I am trying to create a longtable where the first column contains only images. The longtable is defined as (with only one row): \begin{longtable}{m{0.2\linewidth} m{0.7\linewidth}} \hline ...
0
votes
0answers
55 views

In table, how to make one column has different font size for different line?

I use longtabu to create a table, below is the realted code \begin{longtabu} to \textwidth {|>{\footnotesize}X[1 , p ] |>{\footnotesize}X[1 , p ] | >{\footnotesize}X[1 , p ]|} I want the ...
0
votes
2answers
92 views

Several caption problems in longtable and tabulary

I'm trying to typeset some multipage tables with tablenotes and repeating captions on each page. I found this question, which marries the longtable environment with tabulary. This is quite nice, ...
1
vote
1answer
81 views

Longtable, landscape in tufte-latex

I am using tufte-latex to write a document. I want to include a table which has many columns and rows in the document. For this purpose I am using longtable and landscape environments to produce the ...
1
vote
1answer
46 views

longtable multirow problem with cmidrule and nopagebreak

I'm trying to reimplement the David Carlisle solution given here for breaking long tables over certain rows (breaking in \hline commnands instead \cline ones). This solution is complemented with the ...
2
votes
2answers
70 views

What do I need to change if I change table to longtable?

I just used excel2latex to import a table, but the table is too long and across pages. I tried several times but found the table is shrunk and I don't know how to center all the contents of the cells. ...
0
votes
0answers
73 views

Advantages of longtabu? compared with longtable

I know to use longtabu, we need to have the packages tabu and longtable. What are the advantages of longtabu? By now, i just found longtabu can break lines automatically in a table cell, but seems ...
0
votes
1answer
19 views

Converting -sidewaystable- with -dcolumn- to -lscape- -longtable- in order to span multiple pages

I would to like to change my question from the previous one (Subtable as sidewaystable over three pages): Instead of putting subtables I would just like to have one table spanning over multiple pages. ...
0
votes
0answers
42 views

Subtable as sidewaystable over three pages

I am trying to create a sideways table over three pages. So my question is first: Is it better to use "one" sidewaystable that "continues" over several pages or to split them each up into subtables ...
1
vote
2answers
95 views

How to automatically break “a long word with underscore” in a cell of table, using longtabu package?

I use longtabu package for creating tables, because the table can be very long (several pages) and i need automatic linebreak(or wordbreak) if the sentence(or a single word) in certain cell is too ...