Questions tagged [longtable]

{longtable} is for questions relating to the use of the longtable package, which allows for making tables that can be broken across pages.

Filter by
Sorted by
Tagged with
2
votes
1answer
25 views

Vertical lines over an 3 page longtable fails

I do not understand why the vertical lines on this 3 page longtable fails to break. Sorry for the long code: \documentclass[12pt,twoside,openright]{book} \usepackage[a4paper,headheight=15pt,left=25mm,...
0
votes
0answers
24 views

Wrong placements using xtabular for large table in twocolumn environment

I've been trying to make a large table that automatically breaks across pages and columns similar to what's described here. However, as you can see in the images, table breaks way too soon and the ...
0
votes
0answers
23 views

Change font size in longtable

I am using a longtable in LaTeX, given the many variables included in my analysis. However, my table is over 2 pages and I would like to change the font size, in order to fit it into one page. Here's ...
0
votes
1answer
39 views

Adding longtables to appendix, latex it takes a lot of time to create the pdf

this is my code: \documentclass[11pt]{report} \usepackage[utf8]{inputenc} \usepackage{float,subfig} \usepackage{adjustbox,tabularx,ragged2e} \usepackage{amsmath,geometry,booktabs}...
0
votes
0answers
28 views

Force pagebreak behind hline in longtable

I try to force the pagebreaks only behind \hline and not behind a \hhline{|~|----} The first MWE shows the wrong behavior \documentclass[fontsize=12pt,twoside=false]{scrbook} \usepackage[ngerman]{...
0
votes
1answer
52 views

How to put long table in two columns?

is possible to put this longtable in two adiacent columns? \documentclass[11pt]{report} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{float,lipsum,subfig} \usepackage{adjustbox,...
1
vote
1answer
62 views

Caption Longtable Error

I get this error when trying to compile my longtable caption. Without the caption it all work fine. I also included the \\ after the caption. !Undefined control sequence. I tried everything related ...
0
votes
1answer
28 views

Making spacing after rule at top of page in booktabs longtable consisting with that after other rules in the same table

Appropriately placed, the longtable package code \midrule\endhead places a horizontal rule before the first row on each page after the first produced by a longtable environment. The below simple code ...
1
vote
1answer
43 views

How do I prevent poor formatting when using ltablex package and nesting tabularx environments?

I'm preparing a long table (> 1 page, so I'm using the longtable package) that is set to take up the full \textwidth of a page. I aim to produce both letter- and A4-sized versions of the document, but ...
0
votes
0answers
25 views

Longtabu produces strange row heights

I would like to create a longtable using the longtabu environment from the tabu package. However, if the text in a column needs more than one line, the height of the corresponding row gets too small ...
1
vote
1answer
36 views

table caption and footnote not sideways when applying adjustbox

I have the following table, I want to make it a sideways table, however when I do so the table caption does not go sideways, also the table footnotes do not go "sideways". That is, I am trying to get ...
1
vote
3answers
44 views

How to split existing tabularx table over pages

I'm trying to fit a landscape tabularx table over multiple pages, however with the solutions I've found, I'm not able to do so. I've also picked up the solution for generating the table itself from ...
1
vote
1answer
62 views

In newenvironment, rowcolor fails with “\rowcolor -> \noalign”

I have tried (and researched) many ways in getting this to work correctly, but have ultimately failed. I am attempting to have different commands call new rows with each command giving a different ...
0
votes
2answers
36 views

Ltablex doesn't break multirow

I built a multipage table containing multirows using the ltablex and multirow packages. My question is, how can I now prevent Latex from breaking such a multirow? \begin{center} \begin{...
1
vote
4answers
37 views

fractions doesn't fit well in longtable cell

I want some fractions in longtable cells. I use this code: \documentclass{article} \usepackage{longtable,amsmath} \begin{document} \begin{longtable}{|c|c|} \hline \textbf{Function} & \textbf{...
1
vote
0answers
36 views

caption and longtable forcing text out of margin [duplicate]

Consider this example \documentclass{report} \usepackage{graphicx} \usepackage{caption} \usepackage{longtable} \usepackage{lipsum} \begin{document} \begin{figure}[htbp] \centering \...
0
votes
2answers
63 views

longtable and formatting tikzpicture's

This is part of a long table of graphs. I don't believe my approach is the best. Please advice how to program this better so text does not mess with the graphs. Here is the program \documentclass{...
1
vote
1answer
35 views

Auto-bordered tables

I am using package longtable. When I actually place a 'long table', at the page-end I've a row without any hline below it (which was also expected as there isn't any in the code). See this code - \...
0
votes
1answer
32 views

How to set row distance and width of a table using longtable package?

I want to create a table using \longtable package. I tried this way: \documentclass[11pt]{report} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{float,lipsum,subfig,booktabs} \...
0
votes
0answers
20 views

How to break a single page mode in a two column article

I am writing a two-column style article, using the A&A package. I'm trying to insert a single-column table, that is too large for one page, so I use the longtable package. Because longtable has ...
-1
votes
1answer
52 views

Convert efficiently the long table from Excel to LATEX? [closed]

I have a long table in MS Excel. How to convert the (long) table from Excel to LaTeX? Yes, I have read some methods to achieve this on this site. But my table is very long. I can' t transform ...
1
vote
2answers
63 views

multiple pages full-page-width table working with revtex

I am trying to figure out how to make a full page-width table, which continues over multiple pages in two column document. I got it working for the standard article, unfortunately the journal I want ...
0
votes
1answer
37 views

`longtabu` does not work well with `sidewaystable`

When longtabu is used inside sidewaystable environment, the long table cannot spread on multiple pages any more. \documentclass{book} \usepackage{tabu} \usepackage{longtable} \usepackage{booktabs} \...
1
vote
2answers
52 views

Multi-page one-column tabularx in a two-column document

Problem: I wish to break my one-column table, written in tabularx, over two pages in a two-column environment. I have seen examples where this could be done using supertabular, longtable and xtab but ...
1
vote
1answer
24 views

Wrong numbering of table with multiple tabular environments

When there are multiple longtabu environments in a talbe, the numbering of table will be wrong. See the MWE below. \documentclass{article} \usepackage{caption} \usepackage{subcaption} \usepackage{...
0
votes
2answers
49 views

more problems with longtable and multirow

in my previous question there were a couple of workarounds that solved my immediate issue. However, I have the feeling that those two packages do not work well together. Adding one more column and ...
2
votes
1answer
51 views

problems with longtable and multirow

I have an issue using multirow and longtable. The content in the multirow cell is very large, and it goes well beyond the limit of the "non-multirowed" rows. LaTeX ignores that and starts the ...
0
votes
0answers
33 views

sidewaystable with long table - next page

I have a problem with my table. If I add more 4, 5 or 6 lines, cause error. \begin{sidewaystable} %TABELA INVERTIRA \definecolor{lightgray}{gray}{0.9} \rowcolors{1}{}{lightgray} \begin{xltabular}{\...
2
votes
1answer
47 views

creating csv simple double header

I am trying to include to first two rows as headers. I would like to have the units - - m m m etc. on every page and another line below. I am not an advanced user of csvsimple, and I have not been ...
2
votes
1answer
42 views

Symbollist not left aligned

Refer to this post, I try to adapt my list of symbols to my list of abbreviations. List of abbreviations % Setup list of abbreviations \newglossarystyle{mylong}{ \setglossarystyle{long} \...
2
votes
1answer
33 views

Help with coding this table

I have this table in word that I want to code to overleaf. I tried one, but the sentences were too long and it looked weird. I want it to be as long as the text is or maybe slightly less but not ...
1
vote
0answers
29 views

longtable rows sometime overlaps footer text, how to fix longtable break before footer starts?

I've a longtable which on some pages merge with footer text. Is there any way to break it before footer line?
1
vote
1answer
51 views

ECV class breaking vertical line when using portrait

I've been using the ECV class (for writing CVs) for for a long time and never had any issues with it, however upon updating my CV yesterday I noticed that the vertical line which is drawn through the ...
1
vote
1answer
34 views

Longtable - style continuation caption same as main caption

I'm using longtable (via online TablesGenerator) but notice the continuation headings are styled slightly differently: Here is the continuation: I've already (in the second grab) removed a \bfseries ...
0
votes
1answer
43 views

How to solve longtable is not in 1-column mode error? With three columns?

I'm using longtable but getting error message **"Package longtable Error: longtable not in 1-column mode. \begin{longtable}".** But I have three columns in my table not two, its wotking fine ...
1
vote
1answer
55 views

Longtable and scrreport - captions too small

I let captions of my tables be defined by scrreport. I skipped caption or caption2 package because those did not let me adjust the distance between caption and table. I´m pleased with the results. ...
0
votes
0answers
24 views

LyX: Same layout for floating table and longtable

I am using some short tables in my document which are all placed in a float environment. I now have to create a multipage longtable which I want to look exactly as the other tables (with the same row ...
0
votes
0answers
28 views

How to make \hhline work with longtable's \\*

longtable provides \\* which can prevent the pagebreak, and longtable redefines \hline to support this function. Then, multirow enhances \cline to support that function. One can use package option "...
2
votes
1answer
40 views

How to use ltxtable

I created a table in the appendix of my thesis with the tabularx-package and afterwards I realized it is way too long and does not jump over to the next page. I tried to use ltxtable to make it jump ...
0
votes
1answer
34 views

Longtable: Vertical Line not complete

I am using the longtable LaTeX package to create a multi-page table with three columns, one of which contains only images. However, the vertical line between the middle and right column does not ...
2
votes
2answers
54 views

How to align vertical lines of two back-to-back longtables?

The result of the following MWE \documentclass[letter,10pt]{article} \usepackage{makecell} \renewcommand{\cellalign}{tl} \usepackage{longtable} \usepackage{fontspec} \usepackage [ left=1.5cm, right=...
3
votes
2answers
58 views

How to make rotated box text centered?

I want to make the rotated "chapter 1" to be at the center but \rotatebox[origin=r] won't make a difference. Here is MWE: \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \...
3
votes
3answers
44 views

How to apply dcolumn in my longtable case? Need help

I have the follwoing table: In panel 5, I want to decimal match the 0.018 and 0.069. However, my code consists of \begin{longtable}{*{12}{c@{}>{$}c<{$}}}, I wonder how should I putd{-1} in ...
1
vote
1answer
44 views

How to split longtable cells

I need a table to spam in several pages but some of its cells contains a lot of text, so even with long table some text is lost into endpage oblivion. I know that is not possible to split table cells ...
3
votes
1answer
43 views

Error in longtable with csvreader

I am getting an error while creating a longtable by importing a csv file. The MWE is as given below. \begin{filecontents*}{monodisperse15.csv} 20,2.825,5.967,0.0,0.0,0.0,0.0 22,2.85,15.516,0....
3
votes
2answers
84 views

How can I force a table to lower font size in order to fit the page size?

Good morning, i tried to figure out the problem by searching on my own. I indeed found some postings, but unfortunately I was not able to solve my problem. I have a table that has too large width to ...
4
votes
3answers
251 views

Caption in landscape table, need help?

Today is my second day to learn making table in latex. I am facing the following difficulty. I have a landscape table looks like the following I would my table looks like the one in the Journal of ...
0
votes
0answers
24 views

How to prevent `arydshln` from screwing up formatting inside table

Consider the following minimal working example: \documentclass[a4paper,10pt]{scrbook} \usepackage{longtable} \usepackage{arydshln} \begin{document} \begin{longtable}[mc]{|c|c|cc|} {\...
0
votes
0answers
45 views

Prevent pagebreak in the longtable - tabulary hybrid

I like the hybrid of longtable and tabulary environments, that was devised on this site, so much, that I came to use it exclusively. References: Multi-page with Tabulary? Longtable and tabulary ...
3
votes
3answers
56 views

left alignment of longtable - unwanted minimal indent

I have a longtable which is a tiny bit indented, despite I have set LTleft to zero. The header line of the table "Gedichttitel .." is not aligned with the text above! Reading other perhaps related ...