Questions tagged [xltabular]

The environment xltabular is a combination of longtable and tabularx with header/footer definitions, X-column specifier, and possible page breaks.

Filter by
Sorted by
Tagged with
1 vote
1 answer
25 views

xltabular colors the table caption when using rowcolors

I'm creating a table using rowscolor from xcolor package, but the caption is treated as a row and it's colored. How to avoid this behavior ? \documentclass{article} \usepackage[table]{xcolor} \...
user avatar
1 vote
2 answers
49 views

Table exceeds margin with xltabular

Any suggestion for a descriptive table that exceeds the margins? Here is my code and output: \documentclass[12pt]{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{xltabular} \...
user avatar
  • 317
1 vote
1 answer
33 views

Facing trouble while Fitting entries in table in math mode

I'm facing trouble with the table format, as the entries in the table do not fit which makes the table weird, I'm using a two-column document with the below-mentioned example, kindly help me out here. ...
user avatar
  • 350
0 votes
1 answer
19 views

How Can I Align all of the Cells of my Table to \RaggedRight

I created this table in LaTeX by using the xltabular package: \begin{xltabular}{\linewidth}{X X X X X X X} \toprule Activity & \multicolumn{2}{X}{1. Feb 10, 2022} & \multicolumn{2}{X}{2. April ...
user avatar
0 votes
0 answers
9 views

Supressing header rows over tablenotes with Threeparttablex and xltabular

I'm having trouble with threeparttablex / xltabular, because it sets up a header row when there are only tablenotes on the page (see image). I've searched for quite a while, and couldn't find an ...
user avatar
0 votes
1 answer
24 views

How Can I Repeat a Table Header if it Occupies Another Page

I created this table: \usepackage{tabularx, longtable, booktabs, xltabular, enumitem} \newlist{tabitemize}{itemize}{1} \setlist[tabitemize]{label=\textbullet, nosep, leftmargin=*, ...
user avatar
0 votes
1 answer
26 views

How to adjust the vertical space before and after an xltabular, so it is the same as with tabularx

I had to replace some tabularx-tables by xltabular-tables, because some tables got too long to fit on one page. Unfortunately the xltabular introduced additional vertical space before and after each ...
user avatar
  • 103
0 votes
1 answer
54 views

Misplaced \noalign when using xltabular

I'm creating a dynamic PDF creator using Node and LaTeX, compiling with pdflatex (pdfTeX 3.14159265-2.6-1.40.20). The problem is that I am attempting to create a dynamic sized table, that can \...
user avatar
0 votes
1 answer
72 views

xltabular multi row and multi column

I want to achive to create the table below in latex. I'm using xltabular (12 columns) but I'm struggling with a 4 x 4 cell (Firma) I've done this so far... but how can I achieve this ? (Please look ...
user avatar
1 vote
0 answers
67 views

Which one is better, longtable package or xltabular package?

Which one is better, longtable package and xltabular package? And if I use longtable package, should I use longtable for all tables or use just table package for not long table and use longtable ...
user avatar
1 vote
2 answers
51 views

Why does *[\fill] not work in \endlastfoot of longtable?

According to this it is possible to put at least one element between \endhead and \endlastfoot on automatic pagebreak by putting the last element into the \endlastfoot. But if I also want to have the ...
user avatar
  • 311
4 votes
1 answer
114 views

How to prevent word wrap and new lines in table cells?

I have a xltabular table which is filled via script with data, so I don't really know what length the text has that is put into the table cells. Is there a function or method which can just cut off ...
user avatar
  • 311
0 votes
0 answers
19 views

Error when trying to input an external file with xltabular package `\hline ->\noalign` [duplicate]

I am trying to stack several tables one on another. For this I am using xltabular packages. I want to input text from another file. The following code works without problem when removing / commenting ...
user avatar
  • 781
0 votes
1 answer
33 views

Table caption exceeding page margins when using captionsetup and xltabular with cleveref active

today I discovered a strange side-effect which I would like to share in the community and gather your insights and feedback. As indicated below, there is a workaround for the issue by not using the ...
user avatar
  • 352
0 votes
2 answers
70 views

Move longtables to the left (to match tabularx output)

In the following MWE, I'd like the longtable look identical to the table. How to move it to the left so it fits how the table is formatted? I could simply just use longtables, but it needs to be ...
user avatar
  • 316
0 votes
0 answers
30 views

How can I make a table continue from page to page in MDPI template [duplicate]

I have a table from the MDPI journal template but it is too big and I need to break it down to the remaining pages. However, the template does not have this information. Having said that I need help ...
user avatar
0 votes
1 answer
77 views

xltabular: Help me for the table

I created this table. \documentclass{article} \usepackage{libertine} \usepackage{geometry} \geometry{a4paper,left=2cm,right=1.5cm,bottom=.8cm,bindingoffset=0mm,top=.75cm,includefoot} \usepackage{...
user avatar
  • 2,417
3 votes
1 answer
59 views

xltabular with a lot of text spanning more than one page causes bad output

I've readed this question that has been answered 10 years ago about cells spanning more than one page. And I'm wondering if currently there are other solutions. EDIT: It is a school assignment, so ...
user avatar
1 vote
0 answers
47 views

scrlttr2 reference fields line on every page

This is my reference field line on the first page. \removereffields %<- delete default order of the predefined variables \setkomavar{date}{\today} \setkomavar{invoice}[Rechnungsnummer]{1234567} \...
user avatar
  • 311
0 votes
2 answers
90 views

xltabular pagebreak within paragraph

I use xltabular to to write my abstract in a one-column table. The actual abstract is in the third row. Since the abstract is longer than one page, a page break is necessary. Xltabular insert a ...
user avatar
0 votes
1 answer
40 views

xltabular: how to put at least one row on top of the page and the endlastfoot on the bottom of the page

Is it possible to ensure that in the xltabular the endlastfoot is always on the bottom on the page near the foot and if there is a new page, that there is at least one row element in the table and not ...
user avatar
  • 311
0 votes
0 answers
17 views

How to use multirow with multicol? [duplicate]

I am trying to use multirow with multicolumn with headers as well. I want to achieve this: I can get the table ready. But the formatting is getting broken. Here I want to put Cat1 in the middle of ...
user avatar
  • 355
1 vote
1 answer
24 views

How to put vlines in all xltabular except the outer borderlines in xltabular table?

I have a very long table and I use the xltabular to do so. the code '\begin{xltabular}{\linewidth}{*{5}{L}}is already without the|` so it should be without the horizontal line outside the table: ...
user avatar
0 votes
0 answers
31 views

How to set a specific word in `Table` caption in `xltabular` so that it be recognized by the indexes

I'm writing a master thesis. So I'm having trouble with the long tables and frames. I'm using xltabular because it can deal with tables of multiple pages, and I need to change some Tables # to Frames #...
user avatar
0 votes
1 answer
139 views

Change the word “Table” in only one table caption

I'm using the xltabular with the group, because of the table is large and it occupies more than one page. My document which is a thesis, I have two types of tables, the tables and the frames. By ...
user avatar
1 vote
1 answer
385 views

Creating custom columns for tabularray

How to fix the columns specs for tabularray to get the same output of xltabular? \documentclass{article} \usepackage[paperheight = 50mm]{geometry} \usepackage{unicode-math} \usepackage{xcolor, ...
user avatar
  • 8,789
1 vote
3 answers
150 views

xltabular: prevent or suggest pagebreak

Does xltabular support \nopagebreak or \pagebreak? I tried to add it to prevent pagebreak between lines 11 and 12 but it did not work. \documentclass{article} \usepackage{xltabular} \title{xltabular}...
user avatar
  • 187
0 votes
1 answer
86 views

Alignment of Caption in xltabular environment

I am wondering why the first caption of the first table will not be displayed correctly, if I use the following code-order (full MWE below): \usepackage{xcolor}% mark text %must be above arydshln \...
user avatar
0 votes
1 answer
219 views

longtable to xltabular change

I have tried to adjust my longtables as xltabular as per this advise. However, this seems t o interfere with some of my setups. (I am using lualatex) the background color for tables now missing ...
user avatar
3 votes
1 answer
106 views

siunitx: What changes are needed to make an old code work with version 3?

I would like to know the minimum changes needed to make this old code of siunitx work with the new version 3. \documentclass[12pt]{article} \usepackage{siunitx,xltabular,multicol,booktabs,ragged2e} \...
user avatar
  • 8,789
1 vote
1 answer
61 views

How to use multirow in the xltabular

My table looks something like this \documentclass[11pt]{scrartcl} \usepackage{scrlayer-scrpage} \usepackage[left=2cm, right=1cm, bottom=2.5cm, a4paper, twoside, showframe=false]{geometry} \usepackage{...
user avatar
  • 311
0 votes
1 answer
68 views

svjour3: Appendix table numbers increment +2 using table and tabularx

I know that my question below may be similar like this one, nevertheless I kindly ask you for your patience, as I am using some different tabular environments. The appendix of my document based on the ...
user avatar
  • 352
1 vote
1 answer
143 views

Table with many columns (XLTabular)

I want to create my table using package xltabular, since it has a nice compatibility to be able to autofit into page margin. My table has many columns, and by the rule from my institution, I may not ...
user avatar
5 votes
2 answers
166 views

Some issues when using the tabularx package

Edit Users @Mico and @WillieWong have taken much of their precious time explaining the nuances of the tabularx package to me and for which I will be ever so grateful. I now have a much better ...
user avatar
0 votes
1 answer
85 views

Is it possible to color the rows (with different colors in each row) in an xltabular environment?

I would like to color the text containing in the table row but with different colors in each row. How can I do this? Below, I show my minimum code. \documentclass[12pt, article]{memoir} % Packages \...
user avatar
  • 177
0 votes
1 answer
110 views

Tabularx continuing over multiple pages

I have a tabularx table (6x2) with figure+text in all of its cells except the head. I've been trying to continue/flow this table over to the next page using packages like ltablex and xltabular, but in ...
user avatar
  • 3
1 vote
1 answer
33 views

Two column nested list

I'm producing a list very similar to this answer by leandriis https://tex.stackexchange.com/a/498031/238485 but would now like to insert a list within the list, i.e. make it nested. In the image below,...
user avatar
1 vote
0 answers
34 views

Text in my table is not well formatted

\documentclass[12pt, oneside, a4paper,titlepage]{book} \usepackage[italian]{babel} \usepackage{geometry}\usepackage{amsthm} \geometry{a4paper, top = 2cm, right = 2cm, left = 2cm, bottom = 2cm} \...
user avatar
  • 11
3 votes
3 answers
176 views

\rowcolors command (xcolor, option [table]) and different table environments

Using xcolor.\rowcolors together with booktabs.\midrule I have encountered some weird behaviour. To make it plain: the point is not whether or why the tables look so utterly ugly ... In the MWE there ...
user avatar
  • 41
0 votes
1 answer
97 views

xltabular not producing desired result

I want to make a table that spreads to \textwidth. I tried several ways (none of them working properly Tabularx (xltabular) with only multicolumns not spreading properly, xltabular produces error in ...
user avatar
1 vote
1 answer
158 views

xltabular produces error in combination with multicolumn and \kill

What I need to do is to set 20 columns with equal width and use each one of them with multicolumn. In order to spread the table to \textwidth I need to use \kill. Explanation can be found here ...
user avatar
1 vote
1 answer
104 views

Unexpected cell alignment in xltabular

I have the following table: Therein, for a reason unknown to me (I am new to this), I get undesired table behavior: The height of the header row is stretched, and some values get centered despite \...
user avatar
1 vote
3 answers
152 views

Line break of table notes after first column in a long table

I am creating a long table using xltabular in landscape format using landscape. I add table notes using the tablenotes environment: \begin{landscape} \begin{xltabular}[l]{X X X X} ...
user avatar
1 vote
1 answer
120 views

Caption width in xltabular environment

I am creating a Table as follows: \usepackage{xltabular} \begin{document} \begin{xltabular}[l]{\textwidth}{X | X | X | X} \caption{Here is a long text that does not break and exceeds the page ...
user avatar
0 votes
2 answers
266 views

Change font size in xltabular

I am creating a table as follows: \usepackage{xltabular} \begin{document} \begin{xltabular}[l]{\textwidth}{X | X | X | X} \caption{Table 1} \label{Table 1} Text 1 & Text 2 & Text ...
user avatar
4 votes
0 answers
37 views

Start right page below chapter heading on left page within xltabular

I am trying to make a notation table using an xltabular. This spans a bit more than one page. I am using the class scrbook, where all my chapters start on an odd page. However, for the notation table, ...
user avatar
1 vote
2 answers
79 views

Can't align tables [duplicate]

In my supplemental material, I have some tables such as this one. \documentclass{article} \usepackage{xltabular} \usepackage{makecell} \usepackage{array, booktabs, longtable, makecell, multirow} \...
user avatar
0 votes
1 answer
322 views

Reduce width of a column in my xltabular

what I have is this: whose code is: \begingroup \setcellgapes{2pt} \makegapedcells \def\arraystretch{1.2} %\newcommand\mcl[1]{\multicolumn{3}{l|}{#1}} \begin{xltabular}{\linewidth}...
user avatar
0 votes
0 answers
47 views

Can't make longtable and fancyhdr get on well

I've to write a document with a table made of a great amount of entries and two columns (the second of which should take as much space in width as possible). I've read online that the xltabular could ...
user avatar
0 votes
2 answers
313 views

Xltabular, threeparttable across multiple pages

I can't seem to get the table to extend over to the next page with '--continued from previous page' to be at the top of the second page. Could someone help me how to get this long table over multiple ...
user avatar