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
0 answers
14 views

Split Table/Tabular Columns in landscape on more pages

I want to split my table by columns e.g. until "Straße" and then on the next page starting with "Hausnummer" because my table is too big. I've tried landscape etc but that doesn't ...
user avatar
  • 1
0 votes
0 answers
26 views

How to split a long table into columns

I want to display a long table in latex. But the table has only two columns, thus too narrow, so I decide to split it into four columns. To be specific, I need to continue the exceeding part on the ...
user avatar
0 votes
1 answer
30 views

How to draw a long table in LATEX My table has 6 columns and footnote If I can get an entire table in one page it will be quite hepflul

Working Status Suffering from Chronic Disease Difficulty in Mobility Activity of Daily Living Sample (N) Age <40 90.6 37.7 39.7 21.4 3155 41-50 89.2 ...
user avatar
  • 13
0 votes
2 answers
27 views

Table going off page

I'm unable to keep my table on the page, not sure how to fix it. Help appreciated. Here is my table: \begin{landscape} \begin{tabular}{|c|c|c|c|c|c|c|} \multicolumn{7}{c}{\textbf{Data from testing}}\...
user avatar
1 vote
0 answers
18 views

How can I divide the landscape oriented page into 2 rows and add \longtable each?

I want to divide the landscape-oriented page into two equal rows. And then I want to add \longtable to each row and will continue at the same rows for a few pages. Is this possible?
user avatar
  • 33
0 votes
1 answer
40 views

\longtable caption showing and disappearing -- how to make it appear?

I have been trying to use \longtable within landscape environment. Finally I got it, the table looks fine in a temporary file, but when I compile the main document, the caption disappears. I've just ...
user avatar
  • 11
2 votes
2 answers
56 views

how to add paragraph in a table

\begin{table}[thb]\centering \caption{Summary of present reviews.} \label{tab:table2} %\resizebox{0.48\textwidth}{!}{ \large \begin{tabular}{l l} \toprule Ref. & ...
user avatar
0 votes
1 answer
20 views

When displaying a datatool-database with \DTLdisplaylongdb - how to obtain a horizontal rule atop of the table-heads?

When displaying a datatool-database with \DTLdisplaylongdb - how to obtain a horizontal rule atop of the table-heads? Whatever I try yields error-messages about ! Misplaced \noalign. (Besides this I'd ...
user avatar
  • 22.9k
1 vote
2 answers
33 views

longtable and adjustbox/textwidth

Can this table be put on the width of the text ? I have tried many things but they didn't work. \setlength\LTleft{0pt} \setlength\LTright{0pt} \begin{longtable}[c]{@{\extracolsep{\fill}}cccccccccc@{}} ...
user avatar
0 votes
0 answers
18 views

Table/Figures caption numbers are automatically based on Chapter/Section instead of the number of actual tables/figures

I have used the following Overleaf Template for my Master Thesis: https://www.overleaf.com/latex/templates/hvl-master-thesis-software-engineering-template/qjtzwnzvhrys However, after inserting a ...
user avatar
  • 1
1 vote
1 answer
35 views

longtable in HTML has stretched lines after compiling one more time in tex4ht

I've seen this problem for long time and never really could figure why it happens. Given this MWE \documentclass[12pt]{book} \usepackage{longtable} \begin{document} \begin{longtable}[c]{|p{1in}|p{...
user avatar
  • 18k
1 vote
1 answer
59 views

How to put some commands into longtable by \AtBeginEnvironment?

In my case, I am 100% sure that the second and other captions like "continuation of table N" is the same for all of the tables. So I have reason to put this in all the longtable's: \...
user avatar
2 votes
1 answer
104 views

\rowcolor makes the text disappear

I use rowcolors{...} to color a table, After that, some text from my column disappear slightly . Why is that, and what can I do to fix the error? \documentclass[12pt,a4paper]{article} \...
user avatar
  • 69
0 votes
1 answer
28 views

Header width is smaller than longtable width

I have been trying to create a longtable using a csv. But I can't find out why the header width is smaller than the table width. The data is the following: Nombre,Frec,Prop Eixample,3106,0.2640 Sant ...
user avatar
0 votes
1 answer
36 views

Longtable paragraph cells doesn't wrap properly

I'm creating a table with the following packages longtable for tables with lots of rows booktabs for pretty book styled tables xcolor with [table] option to add zebra style colors However text in ...
user avatar
  • 103
0 votes
3 answers
37 views

How to make a longtable with \extracolsep zebra striped

I found out from this question that one can make a longtable zebra striped by using \rowcolors{2}{white}{gray!25} So I tried it but noticed that it doesn't look good in my project - the stripe sticks ...
user avatar
4 votes
4 answers
153 views

Spacing issues in a complicated table

I have a table in which I am including lists in each cell of a column and I am insistent on using vertical lines. At present, I have the following MWE: \documentclass[11pt]{article} \usepackage[...
user avatar
0 votes
2 answers
67 views

add a bilingual caption for table on page two

I'm trying to use bicaption for longtable, but I have a problem: I want to add a bilingual caption for table on page two, but I only can add an English caption or the other language caption. What can ...
user avatar
  • 11
0 votes
1 answer
23 views

How to get \clearpage and \rowcolor to work together in a longtable?

I have this multi-page longtable where I need to nudge a row over to the next page for layout purposes. Normally I'd just start the row with \clearpage (and this has worked elsewhere) but this time I ...
user avatar
  • 101
0 votes
2 answers
79 views

How to make table continue in next page?

This is my working example: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \section{table of model and predictions} \begin{table}[h] \begin{tabular}{lllll} %\begin{longtable}{...
user avatar
  • 1,248
0 votes
1 answer
60 views

horizontal and vertical Headers in long table

this is the output of my Stata code. I have two main problems with my table. First, I want to include horizontal vertical headers like in the desired picture and second, I want to fit my long table ...
user avatar
  • 305
3 votes
3 answers
138 views

remove space after \include{} table?

I've created a table using R kableExtra. but would like to be able to control the Notes section of the table manually in LATEX. Thus, I use the \include{table.tex} command to bring in the outputted ...
user avatar
  • 205
1 vote
2 answers
39 views

Line-breaking with underscores in longtable

I have the following code: \begin{landscape} \setlength\tabcolsep{3pt} \begin{longtable}{m{0.5cm}|m{3cm}|m{3cm}|m{3cm}|m{9cm}} \hline \textbf{C1}&\textbf{Col2}&\textbf{Col3}&\textbf{Col4}&...
user avatar
  • 121
-4 votes
2 answers
125 views

Create long table in LaTeX

I want to create a three-column long table, the second column has items as well as the third, as shown in the figure below, and it can fix in dissertation format and extend to the next page if needed. ...
user avatar
-1 votes
1 answer
85 views

How to create long table for my dissertation in Latex

I am using Overleaf and try to insert the following table?
user avatar
0 votes
1 answer
28 views

Changing the space between the rows of a cell spread over multiple rows in a longtable

I have a table spreading over two pages, so written by longtable. I want to set a more compact line spacing for my table, compared to the rest of my paper. I have used \renewcommand{\arraystretch}{0.8}...
user avatar
  • 101
0 votes
0 answers
21 views

Embed table into longtable

I try to create a latex table from a yaml file (with python) to create a specification document. My idea is to create a longtable and put in the first column the specification number and in the second ...
user avatar
  • 23
1 vote
1 answer
46 views

Problems with newcommand and counter for filling a longtable

I am trying to create a form for orders. The heart of this document is a srclttr2 with a longtable to even get a nice document for long orders. To make this template more flexible/easy I would like to ...
user avatar
  • 11
0 votes
0 answers
17 views

Wrapping an entire longtable on the same page

I'm trying to wrap an entire table that's 2 columns wide but longer than a page. Here is my code and what it looks like: \begin{center} \begin{longtable}{|c|c|} \caption{Dimmer to Channel ...
user avatar
0 votes
3 answers
49 views

tabularx to go over two pages and with wrapped lines in table

I have a simple example of the use of tabularx as follows. \documentclass{article} \usepackage{tabularx,lipsum} \begin{document} \lipsum[1-2] \begin{tabularx}{\linewidth}{lX} 2001 &...
user avatar
0 votes
1 answer
38 views

Spacing and fontsize from caption of longtable

I have a problem with the longtables, they are not in the same format as the tables. I don't fully understand the way it works. The code is as follows: \documentclass[ 12pt, % ...
user avatar
0 votes
1 answer
25 views

Justify at right margin or in next line also in longtable env

Hello guys I'm using this command to get some text at the right side of a line: \newcommand{\tright}[1]{% {\unskip\nobreak\hfil\penalty50 \hskip2em\hbox{}\nobreak\hfill#1% hfil has been replaced ...
user avatar
  • 1
0 votes
0 answers
21 views

\hfill in cases in longtable

I have a large table with figures, text and math spanning over several pages. I am using the longtable environment to be able to break the table. In a cases environment I am trying to apply the \...
user avatar
  • 55
0 votes
1 answer
57 views

How to rotate a long table in a two column article?

I'm trying to achieve something like the table of the following article: https://www.sciencedirect.com/science/article/pii/S0168169917308803 It's a two columns Elsevier review with a few long tables ...
user avatar
  • 3
0 votes
0 answers
48 views

Default \hline after every row

I have a long table inside a longtable environment. I don't want to put \hline everywhere. How do I tell LaTeX to do it for me? I need \hline after every row and also before the first row.
user avatar
  • 13
2 votes
1 answer
39 views

How can I use a command for a row with tabularray?

I want to switch from longtable to tabularray due to its more granular customization. In longtable I can use a command with an argument which sets the whole row (with &). However tabularray does ...
user avatar
1 vote
4 answers
94 views

In table, how to hide borders and merge different cells?

Trying to convert this table 1 to the table 2 format, Table 2 (single table), merging the cells 1x1 & 1x2, merging the entire 3rd column and hiding the borders, and again merging the 1x4 & ...
user avatar
1 vote
2 answers
71 views

How do I get my LaTex table to continue on the next page

I'm pretty new to using Latex but I'm currently trying to fill in a table with data, but it keeps getting cut off at the end. I would like it to continue on the next page instead of being cut off. :( ...
user avatar
1 vote
1 answer
35 views

Longtable witdh setting ( multicolumn )

I am trying to make the follwing longtable shown in the picture below I have however two questions ? How can I center the items of the 1st,2nd,3rd and 5th column ( Rotation, Material etc..) How can ...
user avatar
0 votes
1 answer
48 views

Multipage multirow multiline tables

I am writing a study paper in which I need a table with multirow and multiline cells with horizontal and vertical lines on each cell. I want it to look like in this example but multirow cells should ...
user avatar
  • 72
0 votes
0 answers
25 views

How to solve 'Package longtable Error: longtable not in 1-column mode.' error?

I am trying to use two tables in a tex file, looks like this: \documentclass[pmlr,twocolumn,10pt]{jmlr} \usepackage{mathtools} \let\Bbbk\relax \usepackage{graphicx} \let\Bbbk\relax \usepackage[...
user avatar
1 vote
2 answers
51 views

long table from R exceeds page width

Any suggestions to fix a Tex table from R software that exceeds margins in the 12pts document class Here my code and output : \documentclass[12pt]{article} \usepackage{geometry} \...
user avatar
  • 305
1 vote
1 answer
72 views

how to use bicaption in longtable without errors

I'm trying to use bicaption for longtable, but I get this error: Misplaced \noalign. ...tion{example}{A simple longtable example} Here is an example: \documentclass[UTF-8]{ctexart} \usepackage{...
user avatar
  • 11
0 votes
0 answers
36 views

Multirow multicolumn table problem

I am trying to make a table like this one But having problems with the vertical text. Can anyone please help me to create the table? Thank you in advance. My attempt \usepackage{makecell} \usepackage{...
user avatar
0 votes
0 answers
27 views

How to prevent longtable from tearing apart my text weirdly?

I have the problem, that as a german speaking person, words get rather long. Even with hyphenation tables usually gets torn apart. Is there an option to still have the automatic line-break options ...
user avatar
1 vote
2 answers
87 views

better looking variables names long tables

I want a suggestion for better looking at variables names \documentclass[12pt]{article} \usepackage{natbib} \usepackage{graphicx} \usepackage{color} \usepackage{multicol} \usepackage{setspace}...
user avatar
  • 305
0 votes
1 answer
30 views

Not able to shift longtable to the left margin, it is coming in the center of the page

\begin{longtable}{ l l l } $\alpha$ &SiC polytype &alpha\\ $\beta$ &SiC polytype &Beta\\ Å &Bond Legth &Angstrom\\ I &Current &Ampere\\ U & Voltage &V\\ P &...
user avatar
1 vote
2 answers
54 views

I want this table to fit the entire page in lateX

I want this table to fit the entire page of the document in landscape mode. I don't understand how it is leaving the blank area below in the page. Also, if someone can suggest how do we put this in ...
user avatar
0 votes
0 answers
51 views

Itemize or enumerate inside longtable

I have a long table with 10 columns and I would like to put some items inside cells and the table does not fit on the page. \centering \begin{longtblr} [ caption = {Conteúdos programados}, ...
user avatar
1 vote
1 answer
68 views

I am trying to create a descriptive table using Latex, Facing this difficulty while trying to align the table

Here is the code written for the same, I've also attached the image of the output. Please suggest the necessary changes. \documentclass[landscape, 12pt]{article} \usepackage[table, svgnames, ...
user avatar

1
2 3 4 5
46