Questions tagged [ltablex]

{ltablex} is a package that defines a tabularx environment which has the same syntax as the longtable environment but allows X columns and page breaks.

Filter by
Sorted by
Tagged with
24
votes
3answers
53k views

How to make a table on more than one page by using the table environment

EDIT Like some comments below are remarking the table environment doesn't allow tables over more than one page. However the solution works fine I need to make a table over more than one page. The ...
8
votes
1answer
434 views

Why ``ltablex`` keeps adding vertical space before the ``tabularx`` environment?

Here an extra vertical space is added before the tabularx environment (you can see that by comparing it with the same document compiled w/o ltablex package and with the \keepXColumns line commented ...
5
votes
6answers
706 views

ltablex and booktabs

I need a table which is larger than one page and it should have a fixed size. To improve the look, I use booktabs. However, the foot of the table is not nice on all pages, except on the last page. ...
5
votes
1answer
649 views

Double increment of table counter

I am currently setting up a skeleton for my thesis. I am using the KOMA Script report (scrreprt) documentclass: \documentclass[titlepage,fonsize=10pt,a4paper,parskip=half,index=totoc,glossaries=totoc,...
5
votes
1answer
352 views

Column alignment in ltablex

I tried to apply the method proposed in How to get column alignment in tabularx? to right align cells in a ltablex. However I have a problem when the size of the table is just enough for my columns: ...
5
votes
1answer
408 views

new table environment based on ltablex's tabularx

I defined a new environment for some custom tables (to not have to repeat the header and column definitions etc. again and again). \newenvironment{mytable}{ \noindent\tabularx{\textwidth}{|c|c|X|} ...
4
votes
2answers
546 views

ltablex inside environment throws \end -error

I wanted to use a tabularx (ltablex package) inside an environment, but there is an error (but it still builds okay). I'm using ltablex, because I want a longtable spanning several pages with the ...
4
votes
1answer
329 views

table on a double page

I'm having a really wide table with lots of rows. Transposing or splitting is not an option. Searching the internet did not lead to any usefull findings. is the a possibility to build a table like ...
3
votes
2answers
1k views

itemize within tabularx does not work when ltablex is loaded

I need this code to be compilable without errors: \documentclass{article} \usepackage{tabularx} \usepackage{amsmath, mathdots, paralist} \usepackage{ltablex} % uncommenting this line will work \...
3
votes
1answer
39 views

ltablex caption causing errors

This code seems to work without \caption \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{booktabs} \usepackage{ltablex} \usepackage{caption} \newcolumntype{Y}[1]{>{\hsize=#1\...
3
votes
1answer
124 views

Horizontal alignment of a tabularx environment inside a figure

I'm making some figures that must have with a little description in a tabularx environment. I'd like to align the tabularx to the left margin, however it continues appearing in the center. I'm using ...
3
votes
1answer
302 views

get width of longest line in table column

Question In a longtable, how do I retrieve the width of the longest line for each column? Background I'd like to use the longtable environment in combination with the ltablex package. The latter ...
2
votes
2answers
135 views

Error with own environment using ltablex

I am trying to get ltablex to work using the following code based on this answer: \documentclass{article} \usepackage{ltablex} \usepackage{blindtext} \keepXColumns \newenvironment{test} {% \...
2
votes
3answers
554 views

ltablex caption text formatting issue

I'm using the ltablex package for creating long tables over multiple pages. For my other small tables I use the tabularx package and I noticed a formatting mistake or maybe a bug? The table caption ...
2
votes
3answers
257 views

how to use \selectlanguage in ltablex?

Using ltablex.sty I need a multipage-table with columns in (polutoniko)greek, so I use >{\selectlanguage{greek}}X in the preamble of the column (I tried it with >{begin{otherlanguage}{greek}}X&...
2
votes
1answer
159 views

Adjustwidth not working for shifting ltablex table to the left

I want to shift my table slightly to the left of the page (exceeding left text width boundary). After many googles I however keep having trouble and can't manage to get ˙\adjustwidth` to work: \...
2
votes
1answer
393 views

Continuous table numbering for ltablex with captionof

Problem: I want to have a independent table numbering in my appendix for tables that break at page break: Table A.1 Table A.2 Table A.3 Therefor i use \renewcommand{\thetable}{A.\arabic{table}} but ...
2
votes
1answer
98 views

How to fit the content of the cells in this table?

Well, surely this is a duplicate, but I have troubles with the alignment of a huge table. In fact my problem is to determine the width of each column properly, especially when the columns are narrow, ...
2
votes
1answer
104 views

I can't display complete a table made with ltablex

As you have seen in my last questions recently asked here, I'm working with tables. Usually with tabularx is enough for me to satisfy the needs that I have with my tables. But one of them, even when ...
2
votes
1answer
407 views

Nesting tables using ltablex package

I am creating a large table which contains smaller tables in some cells. I was able to do this simply with the tabularx package, which allowed me to automatically size columns and wrap text. However, ...
2
votes
1answer
63 views

How to avoid border breaks in the table?

I have a table, and in some pages I have border breaks, how to fix that? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % Включаем пакет для поддержки русского \...
2
votes
1answer
124 views

Build special table header (multicolumn, rotated) automatically

I have to build lots of tables similar to my MWEm only more complex and with many more columns. Manually adjusting the cmidlines and column width etc. is very annoying. What can I do to automatically ...
2
votes
1answer
748 views

caption with ltablex and ThreePartTable - the caption is increased by 2

I'm using threeparttablex and tabularx packages. I have 2 problems: caption only enumerates right if put before \begin{tabularx}; notes are not center aligned with the table; My code is the ...
2
votes
1answer
107 views

Show footnotes on each page for footnote in ltablex

For footnotes in a long ltablex, the default configuration gather all the footnotes in the last page in the table. Is that possible to show footnote in their corresponding page, instead of having it ...
2
votes
1answer
149 views

Longtable, ltablex and ThreePartTable - rows misaligned

I collected fragments of several answers to arrive here, but still there is some problem in my code that I can't find. I'm trying to make a long table (2-3 pages) with text width using the ltablex ...
2
votes
1answer
261 views

Citing problem in tabularx with endfloat

Guys I'm hoping you can help me with this one. I'm trying to compile a document with the apa6 class using apacite/natbibapa. I run in to trouble when I want to use '\citet' in the table. '\citep' ...
1
vote
1answer
795 views

How to define potential page breaks in a long table?

I have a huge table that covers multiple pages: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} \...
1
vote
1answer
878 views

tabularx vs ltablex

I have been working with tables spanned over multiple pages as well as I want "x" functionality as well. I have been successfully working with tabularx (along with threeparttable) for now. It seems to ...
1
vote
1answer
811 views

Table number not right after using tabularx

I just found that after I used tabularx, the table number in my document is not right, shown as follows where the first four tables were done using tabularx and they are all even numbered, despite ...
1
vote
1answer
203 views

tabularx spread without ltablex but not with

I don't understand with when using ltablex tabularx do not spread the width pass in argument : code without ltablex : \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{...
1
vote
2answers
63 views

How can I put lines covering all table

I have the following table \documentclass[a4paper]{article} \usepackage[ top=2.5cm, left=2.5cm, bottom=2.5cm, right=2.5cm ]{geometry} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[...
1
vote
1answer
864 views

Hfill not working

Hey fellas, look at the picture given above. I want (continued) to be completely left aligned, however, leftalign not working in tabularx (ltablex) env. for me, and hence I am using \hfill. Though ...
1
vote
1answer
50 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 ...
1
vote
1answer
40 views

Table with 2 panels is causing the table numbers to skip

I created a table with 2 panels using 2 tabularx's. That caused the following table to have the table number skipped, meaning the table number went from Table 2 for the table with 2 panels to Table 4 ...
1
vote
1answer
85 views

Tabularx is increasing the table numeration even without \caption

I'm using ltablex and threeparttablex for my long tables across 2 or 3 pages. However, into the text body I use tabularx without the intention of numbering, but the tabularx environment is increasing ...
1
vote
1answer
356 views

How to avoid ltablex from splitting a table?

I'm using the ltablex package because I have some large tables which have to splitted on multiple pages. But I have much more small tables (with tabularx), which don't need to be splitted. But they ...
1
vote
1answer
115 views

Ltablex: Bug on newpage

when I get Tables over multiple pages I get the following problem: So the footer on page two is shifted down, and the first row on the third page is wrong. Although everything works on top of page 2. ...
1
vote
2answers
77 views

Why is the caption not being displayed

I using ltabulex for my long table. The table is coming out fine, but the caption is not being displayed above the table. Does anyone know why? \documentclass{article} \usepackage{tabularx} \...
1
vote
1answer
53 views

Ltablex errors in long and wide table

Good morning everybody. I have an issue with trying to make a multi-page table inside my thesis by using the package ltablex. The issue is that the table doesn't continue in the next pages; the code ...
1
vote
1answer
450 views

Example about the \keepXColumns or \convertXColumns on ltablex package?

From http://tug.ctan.org/macros/latex/contrib/ltablex/ltablex.pdf Another feature that has been added is to treat the X columns like ‘l’ columns if the table contents would allow that to happen ...
1
vote
1answer
83 views

How to place ltablex at the top of a page?

Can someone let me know the trick to place ltablex table at the top of a page? For instance, for a table env. it is [ht], but the same doesn't work for me using ltablex. Thanks. \documentclass{...
1
vote
0answers
113 views

Override margin settings of revtex4

I would like to modify the left and right margins around the table in the following "code": \documentclass[a4paper,preprint,aps,unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm,left=3.5cm,...
1
vote
0answers
157 views

Pagebreak doesn't work with floats and ltablex [closed]

I have the same problem as described here: Pagebreak doesn't work with floats and longtabu I tried the provided solution approach - but it does not work. I have created a new longtable.sty and ...
1
vote
0answers
229 views

Problem with table notes in a landscape ThreePartTable [closed]

I have a long paper with a landscape table, spread in 2 pages. For that table I'm using afterpage ltablex threeparttablex and threeparttable packages. I made a MWE, however it worked perfectly. So I'm ...
1
vote
0answers
73 views

Combination of booktabs and ltablex fails if cell starts with bracket

My document contains several tables, one of which spans several pages. Following this question, I tried to use the ltablex package for that. However, my document doesn't compile anymore if I use that ...
1
vote
0answers
201 views

Automatically choose font size within Table

Is there any package/trick, that a ltablex tabularx table dynamically adapts its font size, so that the table takes up the whole page (in our case page height in landscape mode)? Example/Use case: ...
0
votes
1answer
849 views

Long table centres the table

I have a table like this \begin{tabularx}{\linewidth}{lX} Cap & The underlying is a an interest rate cap\\ Floor & The underlying is an interest rate floor\\ Swap & The ...
0
votes
2answers
498 views

Avoid a weird error with ltablex

I'd like to have an table over many pages with the same headline. I use the tabularx package, and the ltablex is required according to link. However if I use ltablex I get sticky errors ! LaTeX Error: ...
0
votes
2answers
51 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{...
0
votes
2answers
2k views

tabularx and captions and notes

Here is a table using ltablex package. Can someone tell me how I can include caption and use threeparttable with this one. Fyi, when I used: \begin{table} begin{tabularx} ... \end{tabularx} \end{...