Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
15 views

How to use ERT command to long tables that is provided for float table

I have been provided with ERT (Evil Red Text) command which when used for float tables, displays the caption of the table as Table 1.1 in List of Tables. I want to know how I can use such command for ...
3
votes
3answers
32 views

longtable Alignment

I'm using a long table with image and lots of text. The alignment of it is wrong for me. I'd like to know how to make the text start on top of the box, near the line. Here is my code for the longtable ...
2
votes
1answer
26 views

Show table headers on each page

I have a table that takes about three pages to display and I'm using the longtable package. It's three columns by about 80 rows. On the first page, I have headers for each of the columns. Is there a ...
1
vote
2answers
33 views

Multiple rows with paragraphs in longtable

I'd like to have the third column (minus the header of that column) as a single cell. I was trying to use multirow and a "p" column to achieve the desired effect, but with no success. How might I do ...
5
votes
1answer
33 views

longtable sometimes starts new page when we are near the top of the page

Most of the time longtable does exactly what is required, but sometimes it starts a new page when it is near the top of the page and there is plenty of space for the entire table on the current page. ...
2
votes
1answer
32 views

Gluing text to longtable

I am an occasional LaTex user. My question relates to the use of longtable. If I understand the standard table constructs, then "tabular" defines the layout of the actual table grid with contents, and ...
0
votes
0answers
28 views

How to add audio file to longtable?

I am trying to make a long table that includes embedded audio files. Whenever I try adding files with media9, LaTeX won't create a pdf. Any suggestions on how to make a long table with embedded audio ...
3
votes
1answer
38 views

Fill last page with empty lines in longtable/longtabu

I am generating a PDF automatically from a database and I want to fill the last page up with empty rows. The document looks like \documentclass{article} \usepackage{longtable} \usepackage{tabu} ...
2
votes
1answer
61 views

Longtable: Illegal pream-token (\caption)

there is a table in my document that need to span over 2 pages. The compilation of the code gives me the following error message: Error message ! Package array Error: Illegal pream-token ...
2
votes
2answers
48 views

Long table with tablenote

In the following long table, I can't put table note. Any suggestion? and How I can set the whole table size? \documentclass{article} \usepackage{longtable} \usepackage{pdflscape} ...
3
votes
1answer
43 views

Follow-on to tabulary + longtable + captioning

I was able to use the coding provided by Justibus: Several caption problems in longtable and tabulary. What my question is - now that i've been able to make my table wrap columns and break over ...
2
votes
1answer
56 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 ...
3
votes
1answer
42 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 ...
4
votes
0answers
46 views

Using multiple autogenerated longtables 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
43 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
68 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
36 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
69 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
28 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
42 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
28 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
73 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
224 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
45 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
21 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
198 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
42 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
147 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
62 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
59 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
79 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
49 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
81 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
33 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
32 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
51 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
55 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
108 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
81 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
268 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
32 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
70 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
71 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
71 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
77 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
30 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
50 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
364 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
101 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} ...