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
0
votes
0answers
43 views

`\multicolumn` did not produce correct output

I am using \multicolumn in the following code. But it is not producing proper output, please see the output attached. Where is the problem? \documentclass{article} \usepackage{etextools}% for ...
1
vote
2answers
33 views

Multi-pages long tables : how to deal with itemize listing?

I would like to create a multi-pages table similar to this answer on stackexchange ( https://tex.stackexchange.com/a/419760/129702 ) but with the following differences : I have 4 columns ("Site", "...
0
votes
0answers
21 views

longtable: avoiding the combined midrule and foot rule at page bottom

Good day everyone! I'm looking for suggestions on a longtable. When the table spans pages, there are occurrences where a midrule is subsequently followed by a foot rule. The definition appears: ...
1
vote
1answer
61 views

`\readlist{}` inside a table not working

I am writing a package, which contains the following code as its part. The problem is \readlist inside longtable environment. When I write the code, not as a macro but in the main body it works, in ...
1
vote
1answer
24 views

Horizontal longtable is not splitting over multiple pages

I am trying to create a long, horizontal table in LaTeX spanning multiple pages. The table was originally created in word format and it would be too time-consuming to code the table from scratch (I ...
1
vote
2answers
64 views

How to keep a table on the same page?

I have a report with many summary tables of regression output and converted them into tables using pander in the Rmarkdown document. Even though all tables are less than one page, they sometimes break ...
1
vote
0answers
25 views

longtable, how to apply greek language?

I need to have for all my tables the labels "Continued on next page" and "Continued from previous page" in greek. Is that possible? I know that for each table I can define \endhead \endfirsthead \...
1
vote
0answers
41 views

remove extra dot before \ref{} in latex

When I cross-reference a longtable (with label x.big) using \ref{x.big}, I get .tablenumber rather than tablenumber. How to get rid of the dot? Many thanks in advance. \documentclass[11pt,authoryear,...
0
votes
1answer
54 views

Content of table (longtable)overlapping with content after the table

My lower part of the longtable is overlapping with the content written below the table. Second problem is the caption is not placed in the centre. I have used the longtable package and table is 6 ...
1
vote
2answers
30 views

Wide long table in landscape mode in longtable environment with long column headers

I am trying to make a longtable in two column article, that will need to continue to the next page in a single column manner. Thus I am using longtable environment. since the table is wider too, I ...
0
votes
0answers
10 views

How can I separate a multi-page table (e.g. using longtable) by columns?

I have a table with a lot of columns (about Model-Statistics). I already tried to use a (rotated) longtable, but I failed because I need to duplicate the first column and not the first row as a "...
1
vote
1answer
29 views

Page break in a tablestyles long table

Context I'm using the tablestyles package to build nice tables for rendering database schema and tables. Issue But I'm not able to figure out a way to nicely break a table when it is longer than an ...
0
votes
0answers
22 views

LaTeX - long table problem

I have a problem with my long tables in LaTeX, especially multirow cells. It makes 'ugly edges' - the table continues under the number of pages. Thanks very much for any advice! This is my code: \...
0
votes
1answer
28 views

Vertical alignment of \makecell header

I have some issues with the vertical alignment of \makecell headers for a longtable. Basically, what I'm trying to achieve is that the single lettera A, B and E are vertically centered while the other ...
0
votes
1answer
32 views

Longtable column spacing

\documentclass[12pt,twoside]{article} \usepackage{booktabs} \usepackage{longtable} \begin{footnotesize} { \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{longtable}{l*{3}{c}} \caption{OLS-...
0
votes
1answer
26 views

Globally styling vertical and horizontal rules in both tabular and longtable

I would like to change all the horizontal rules in all tables to be blue and all the vertical ones to be red by applying a .sty file. I cannot change the actual LaTeX markup of the tables themselves ...
0
votes
0answers
17 views

How can I define longtable to textsize

I have a long table that would run over 3 pages. I can either run the table over multiple pages using \begin{longtable} ......... \end{longtable} but it is not defined within the widthof the page ...
0
votes
1answer
26 views

Rowcolors in a longtable with three parts

I have a longtable inside a ThreePartTable environment and I want to have alternating row colors across page breaks. I want to have no color on the first row, since the header is also colored. The ...
0
votes
2answers
46 views

how to enumerate objects in xltabular and long table

I am using a template given by department which has thesis.tex file its content which I feel relevant are here \documentclass[twoside,mtp]{iiitg} \usepackage{fancyhdr} \fancyhead{} \...
0
votes
2answers
28 views

How to align text in a longtable column that has fixed column widths to the right?

How do I align the text that I have in the last column to the right? I checked several similar questions and they all use tabularx. However, I wish to use longtableonly since my table spans multiple ...
0
votes
1answer
18 views

Problem with multicolumn table !Misplaced \omit.\multispan -> \omit\omit\@multispan

I'm trying to make a table with multicolumns, in order to get something like this: But when I compile I get this error and can't figure out why: !Misplaced \omit.\multispan -> \omit\omit@multispan ...
0
votes
1answer
15 views

Alignment of header and column in custom styled glossary

I am a novice at LaTeX and I have currently a little issue with glossary formating. Since none of the predefined styles were convenient for me I have created my own style using the vast documentation ...
0
votes
2answers
33 views

How do I use tcolorbox around a caption within longtable

I've written a script to diff latex files and then produce markup by adding green or red tcolorboxes around most types of content and special handle any cases where that doesn't work well (like table ...
0
votes
1answer
33 views

Caption and label on xltabular environment

I have been trying to add caption and label to a long table (not entirely written below) inside the xltabular environment. After checking Caption on tabular environment, labels with tabular and some ...
1
vote
1answer
32 views

Multicolumn in longtable is getting out of range, while the rest of the columns are not

I have the following longtable which works fine: \documentclass[fontsize=11pt,paper=a4]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{float} \usepackage{longtable, tabu} ...
1
vote
1answer
33 views

How to break long table into two columns for two-column text?

I'm writing an article and the template is a two-column text. I have this table: \documentclass[conference]{IEEEtran} \usepackage{cite} \usepackage{amsmath,amssymb,amsfonts} \usepackage{algorithmic} ...
0
votes
0answers
13 views

Reduce alternative row spacing in a longtable

Is it possible to reduce the spacing between alternative rows in a long table? For example, in the following table, I would like to reduce the row spacing between row 1 and 2, row 3 and 4. At the same ...
0
votes
1answer
19 views

How to combine longtable and column-specifiers like >{$}r<{$}?

How do I combine the functionality of the environment "longtable" (a table can span multiple pages, with automatic copies of the caption and header row after each page-break) and column-specifiers ...
0
votes
1answer
36 views

Sub-Toc with Multiple Colums

Using etoc, I would like to display a multi-column \localtableofcontents on the cover page of a part, with a column for each chapter. One way to go might be the use of longtable. Using the etoc, ...
0
votes
0answers
32 views

How to use captionsetup with xltabular?

This question seems to be the same, but I didn't find the answer there. I have problem with using xltabular and captionsetup in one document. In this MWE everything works perfect until I use ...
0
votes
0answers
12 views

split table over two pages, new width for each page

I saw someone answered this. Apparently you need to use \xtab, but I can't figure out how to adapt it to this longtable. I basically want the table to center as best as possible on each page. Thank ...
1
vote
1answer
26 views

How to use xltabular environment in glossaries package?

I defined glossarystyle with longtable environment as in MWE: \documentclass{article} \usepackage[nopostdot,nonumberlist,acronym]{glossaries-extra} \renewcommand{\newacronym}[3]{% \...
2
votes
1answer
87 views

Displaying a long table on a frame in beamer

I would like to display a long table on a frame in beamer. \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{calc} \usepackage{multicol} \usepackage{pifont} \usepackage{tasks} \usepackage{...
1
vote
1answer
57 views

multicolumn text wrapping in longtable

I need a table from the longtable or other package I need columns Titles, Features and highlights and Dataset. Following code generates the wrapped table but I cannot resize the column with text wraps ...
0
votes
0answers
12 views

\longtable with imported csv data

I am trying to spread an imported csv table on two pages. Somehow this doesn't work. Does anyone have advice for me? \begin{landscape} \begin{document} \begin{longtable} \csvautotabular[]{Tables/...
1
vote
0answers
30 views

Horizontally and vertically center columns in longtable

Given the following longtable: \documentclass[11pt,a4paper]{report} \usepackage[margin=0.5cm]{geometry} \usepackage{array,multirow,longtable, lipsum} \begin{document} Text First Line \vspace{23cm} \...
1
vote
1answer
23 views

Beamer and longtable

I am trying to highlight a row in beamer, but the whole row does not get hihglighted (i.e., there is white space between each column). Is there any way to highlight the entire row by still using the ...
1
vote
3answers
76 views

How to make a table with fixed length and width, and the text with various length in it can automatically wrap

I want to create a table with fixed length and width, and the text with various length in it can automatically wrap and the text should be centered vertically and horizontally. I try many ways but no ...
1
vote
0answers
29 views

Multipage tabularx in threeparttable environment

I have the problem that tables that are larger than one page are not properly split but just overlap the first page. I use tabularx with ltablex what works fine on its own but as soon as I wrap the ...
0
votes
0answers
16 views

Multi-page two-column wide table overlaps in two column environment

I want to insert a multi-page table in a two-column document. The table spans both the columns of the document. I tried to use xtabular*, supertabular* and longtable*. None of the options work for me. ...
0
votes
1answer
40 views

How to box every char of a long string within a visual grid

🖖 a newbie here ;) I'm trying to create a box around every character of a super long string (eg. let's say something like all the unicode chars) loaded from an external file (inputlisting probably?)...
0
votes
0answers
23 views

Break an equally spaced long table

I've been using tabularx and \begin{tabularx}{\textwidth}{X X} to get two equally spaced columns with text aligned to the left. Example: \begin{table}[H] \begin{tabularx}{\textwidth}{X X} ...
0
votes
1answer
22 views

How to adjust the width in table using \cline command?

I would like to create a table with specific horizontal line width, when I use \cline and merge columns in this table , it's OK, but when I fill color to the merged cell, the horizontal line ...
0
votes
1answer
9 views

Adding Paragraph Spacing in Longtables

I am trying to add spacing between paragraphs inside the cells of a longtable. I don't want to spread out every line, just the paragraphs, just like regular paragraphs in my document. \documentclass[...
0
votes
0answers
30 views

How to create a longtable with specific width and adaptive column widths in it?

I need to create a longtable with fixed average width that contains one adaptive column and two others with derived widths to fit the average table width. I tried this answer but I need a parbox in ...
0
votes
0answers
54 views

Excel to latex conversion of tables

I would like some help in producing a table similar to the one shown the photo (photo1). As the table was complicated to me, I am using an excel to latex converter plugin; but I am getting a ...
0
votes
1answer
25 views

Adjust the width of longtable

I have to adjust the width in one of my tables. I have looked at other questions regarding this - but I cannot seem to figure it out. My preamble: \usepackage[backend=biber,style=authoryear,autocite=...
0
votes
1answer
48 views

Using longtable, scalebox and tabular

I have a very long table (with 200 rows) and it doesn´t fit just on one page. I had tried to use "longtable" but I got an error message and I can´t create the pdf file. Could you please let me know ...
1
vote
1answer
29 views

Problems with long threeparttable table

I am a new user of LaTeX and trying to create a long three-part table, that would fit across 2 pieces of portrait a4 paper, and getting myself in a muddle. I managed to get it to fit on a page ...
1
vote
1answer
35 views

Don't display List of Tables when no tables present (including long tables)

I am using a variant of the answer provided here to remove the List of Figures and List of Tables part of the contents when none are there. The issue I have is when using longtable, if there is only a ...

1
2 3 4 5
37