Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
17 views

longtable in landscape 2 colum article center

Im have a two column article and I need to put a long table in landscape. The problem is that the table keeps aligning to the right of the page instead of centering. Any idea why? This is what I'm ...
2
votes
1answer
58 views

How to convert table to longtable

I have the following table with environment threeparttable which can't fit on one page. I was pretty happy with all my LaTeX code and would really appreciate a solution where I don't need to change ...
0
votes
1answer
34 views

longtable- head or foot not at start of table

I have a long table producing an error ("head or foot not at the start of table") at the line: \endlastfoot. I can't figure out where is the problem. I will appreciate any insight. My code is as ...
0
votes
0answers
17 views

Long table command does not execute in IEEE template [duplicate]

\documentclass[journal]{IEEEtran} \usepackage[classicReIm]{kpfonts} \usepackage{booktabs,tabularx,lipsum} \usepackage{longtable} \usepackage{float} \usepackage{graphicx} \usepackage{subfigure} \...
2
votes
1answer
29 views

How to fit the split table in multiple pages layout in latex?

i want to ask, how to fit the longtable in latex? My table made from latex table generator, and i already put the packgages that is required. I've try many option like using \resizebox or \adjustbox ...
0
votes
0answers
28 views

longtable \endfirsthead and \endhead not working as expected

Consider this script: \documentclass{report} \usepackage{lipsum} \usepackage{longtable} \begin{document} \lipsum[1-3] \lipsum[4][1-12] %another paragraph ...
2
votes
2answers
39 views

Caption formatting does not work with bidi

I am using the caption package to format figure and table captions. However, this breaks for longtable tables when the package bidi is loaded. Here is a minimal example: \documentclass{scrartcl} \...
2
votes
1answer
29 views

Two line page foot defined with scrlayer-scrpage and combined with longtable: text displaced

The document uses scrlayer-scrpage to create a footer with (originally) a logo, and two lines of inner and outer footer text. This works fine unless there is a longtable that continues on the next ...
0
votes
0answers
23 views

longtable in same page

How to write a long table within a single page? \begin{table}[H] \centering \caption{ The approximate solutions } \label{tab:1} \begin{tabular}{|l|l|l|l|l|} \hline &...
1
vote
1answer
19 views

Longtable word alignment issues

Some problems with my table. I managed to poach ideas from this entry: Make list of sentences in table break normally and created this longtable (without using tabularx). It works ... okay-ish. Here ...
2
votes
2answers
36 views

Errors with table [duplicate]

I am very new to the latex community (1 week) and writing my thesis with latex. I am trying to built a table using the following code: \begin{center} \begin{longtable} [c] { |m{3cm}|m{2cm}|m{2cm}|m{...
0
votes
1answer
37 views

How to use longtable in IEEE Trans template with considering multirow and multicolumn

I intend to draw a long table in the IEEE template,however, I have two problems: 1- I can't adjust the width of table. 2- I can't write my text immediately after the table. I insert my table in the ...
0
votes
1answer
50 views

How can i adjust my longtable in two column IEEE format paper?

\documentclass[journal]{IEEEtran} \usepackage{algorithmic} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{multicol} \usepackage{multirow} \usepackage{...
4
votes
1answer
86 views

Create a Table with Luatex

i want to make make a template table with parameters. i found diffrent types of solutions but then i try to do some changes, it doesn't work anymore. i tried two diffrent ways: First way \...
0
votes
0answers
28 views

The long table in the multi-column

I have a long table And because it occupies a lot of pages, I want to print three columns per page, so the number of pages is too small. I used From the environment multicols But it has no effect ...
2
votes
2answers
47 views

Long table inside the long table

Is there any possibility to fix the longtable inside the longtable, as per client requirement. Please suggest how to fix this. \documentclass{book} \usepackage{longtable} \begin{document} \begin{...
0
votes
0answers
13 views

How to skip page placing the content in a single row, with longtable

\documentclass[a4paper]{book} \usepackage{longtable,multirow,booktabs} \begin{document} ccc \begin{longtable}{p{4cm}p{12cm}} & fdfaf \par f \par f \par f \par f \par f \par f \par f ...
2
votes
1answer
38 views

Nesting longtable within a longtable

As per the working MWE below (based on the solution https://tex.stackexchange.com/a/165337/69378), I like the simplicity of nesting a table into the cell of a parent table compared to the multirow ...
1
vote
2answers
28 views

change margins for landscape table

I got a large table in landscape format after some text. The text before the table uses the standard margins set by article. Now for the table afterwards, I would like to change the margins, that is ...
1
vote
1answer
46 views

Longtable breaks when in a leftbar environment from the 'framed' package

I'm having problems combining the framed package with the longtable package. In the example below, if I comment out the \begin{leftbar}... \end{leftbar} then the table works correctly. But when I add ...
2
votes
1answer
47 views

How put a header in every last line of a longtable

I'm working with longtable and I'd like to know how to automatically put a header in every last line of a table, before the page turns (a header like the "endhead" command does). \caption{Grande ...
2
votes
2answers
66 views

problem with long table

\documentclass{article} \usepackage{tabularx} \usepackage{multirow} \usepackage{rotating} \usepackage{ragged2e} \usepackage{longtable} \usepackage{rotating} \newcolumntype{R}{>{\...
1
vote
0answers
60 views

Long Tables with LaTEX

When I constructed my code with Latex, the output of the table seemed as follows. I need this table to fit each page correctly. How should I proceed?
2
votes
1answer
59 views

How to solve the error “longtable* is already defined” using package “caption” and documentclass “revtex4”?

I have a serious problem with compilation of the following code: \documentclass[a4paper,reprint,aps,unsortedaddress]{revtex4} \usepackage{longtable} \usepackage{caption} \begin{document} \captionof{...
0
votes
1answer
34 views

How to place `\caption{}` in front of `\begin{longtable}`?

Is there any way to place \caption{} in front of \begin{longtable}? Illustrating with an example, instead of \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{c|c|c|c} ...
1
vote
0answers
56 views

longtable captionsetup name option

I found a issue when you try to change the table caption name option, while using a longtable: \documentclass{scrartcl} %CAPTION \usepackage{caption} %TABELLENÜBERSCHRIFT FORMATIERUNG \captionsetup[...
0
votes
0answers
40 views

How to include a list in a longtable [closed]

I want to add a list on the same line as a table entry. Setup: % Define the 'scholarship' environment \newenvironment{scholarship}{% \begin{longtable}{Y p{\rightcolumnlength}} }{% \end{...
4
votes
2answers
161 views

Page split between longtable caption and table

Consider this example: \documentclass{report} \usepackage{lipsum} \usepackage{longtable} \begin{document} \lipsum[1-4] another paragraph another paragraph another paragraph another paragraph ...
0
votes
0answers
26 views

Different compiling between “springer built pdf” and pdflatex texstudio

I want to submmit my paper to one of springer journals. there is a difference between the PDF file I built with pdflatex in texstudio and the output of springer pdfbuilder. \begin{center}%...
1
vote
1answer
17 views

How to supress with ragged2e in a glossary (longtable)?

I am trying to use the long style provided in the glossary package to use in my acronym list. However, I am also using the ragged2e package and I have my paragraphs indented too. This causes both the ...
0
votes
0answers
12 views

How to force break a line to new page in longtable? [duplicate]

I am using longtable and I'd like to force add a line break so that the row starting with Others & Figuring out what one is good at.... can be on page 96 in the screenshot below. I have searched ...
0
votes
0answers
20 views

How to break up the table vertically [duplicate]

I have a rather long table that needs to be broken up into two or more pages. What I currently have is as shown in the screenshot below. I have looked at solutions like this and this in TeX.SE, but ...
0
votes
1answer
83 views

force longtable to text width

Instead of specifying the width of each column in a longtable (see below), is there a way to get it to automatically adjust its size so that it matches the text width, but does not go into the margins?...
3
votes
1answer
67 views

How to put a color-filled frame around a caption in longtable?

I would like to put a color-filled frame (for example with tcolorbox package) around the caption of a longtable, which I put into \endlastfoot. I used the answer to this question: Boxed caption and ...
2
votes
1answer
51 views

Table number skips 1

Consider this script: \documentclass{report} \usepackage{longtable} \begin{document} See \ref{tab:results}~tab and \ref{tab:moreresults}~tab. \begin{table}[htp] \centering \caption{Results} \label{...
1
vote
2answers
80 views

Line break with longtable and multicolumn

I am trying to write up the following table. However, I cannot get a line break to work (needed for Branches and Results column's) and as such the table runs off the side of the page. My attempt is ...
1
vote
1answer
43 views

Superfluous headers and footers when using longtable in revtex4

There are two long tables in my LaTeX file: the first one should be supplied with headers and footers while the second one does not need such auxiliary lines. How to solve that the headers and ...
0
votes
0answers
52 views

Longtable - Changing Font Color of Header Row doesnt extend to all cells

I am using longtable package as most of the tables that I use tend to go on for multiple pages. What I want is now that the header row should be filled with blue colour and white text. The remainder ...
1
vote
2answers
43 views

dialog environment advise

I use longtable environment to make a dialog, like this below. I prefer it than the dialogue environment because of: the || lines at the left the style of the speaker's name (separate from the text) ...
1
vote
1answer
49 views

Use \scriptsize and shift a longtable to the left with revtex4

I have the following table: \documentclass[a4paper,preprint,aps, unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm, left=3.5cm,right=2.5cm]{...
0
votes
0answers
31 views

\LTleft, \LTright, and \scriptsize not working with revtex4 [duplicate]

I have the follwing table: \documentclass[a4paper,preprint,aps, unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm, left=3.5cm,right=2.5cm]{...
2
votes
1answer
62 views

Create a multi-page table without tabularx

I have create a multi-page table. Using tabularx, my attempt is as follows: \documentclass[a4paper,preprint,aps,unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm,left=3.5cm,right=2.5cm]{...
2
votes
2answers
68 views

How to solve text wrapping problem in longtable latex?

\documentclass[12pt]{article} \usepackage{longtable} \usepackage[landscape]{geometry} \usepackage{pdflscape} \begin{document} \begin{center} \begin{longtable}{|p{3cm}|p{6cm}|...
1
vote
0answers
37 views

Error while inserting the title in each column of the table [duplicate]

I have code for wherein I tried to insert the title for each column but I am getting an error. The error says: Missing control sequence inserted How to overcome this? \documentclass[...
0
votes
0answers
30 views

Issues with footnotes using wrapping parbox with longtable, threeparttable and tablenotes

I have an issue with footnote not showing up when I wrap the threeparttable/longtable with a parbox. If I remove the wrapping parbox from the code below, the footnote show up under the table, as I ...
0
votes
0answers
71 views

to insert a very long table (about 4 pages) in a two-column class

I have to insert a very long table in the tex file, for a two-column class, for example: \documentclass[5p]{elsarticle}. The problem is that: the longtable package does not work in this class (as it ...
1
vote
1answer
55 views

tabularx repeat headers at the start of each new page

I am trying to write a latex template for math dissertations for my university and I have gotten most of the formating built into the appropriate class file. However, one issue that I'm not sure how ...
0
votes
0answers
20 views

Bigfoot/Manyfoot in Longtable

I would like to include two types of footnotes inside a longtable-enviornment, however, the declared footnote is created but not shown as you can see in the given example; the rest seems working just ...
0
votes
0answers
42 views

Macro with logic and longtable

I need to create a macro, like \newcommand, but with logic. The logic has to chose the table that must be created. For this I've found an useful package that is xparse. The problem is that this ...
5
votes
3answers
102 views

Problem with longtable and \\

The code is the following: \documentclass[a4paper,10pt]{article} \usepackage{longtable} \usepackage{tabularx} \newcolumntype{L}{>{\raggedleft}p{0.1\textwidth}} \newcolumntype{R}{p{0.80\textwidth}...