Skip to main content

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
2 answers
53 views

Coloring behind \cmidrule

I want the heading of my table to be a single uniform color. However because of \cmidrule there is a weird white line in between rows. Currently, my code is as follows: \bgroup \begin{landscape} \...
Nelson Parrança's user avatar
0 votes
0 answers
36 views

How do I align a column on a decimal point in an xltabular environment? [duplicate]

I have a landscape, long table with different column types specified, as in tabularx. I am using the xltabular package, as it seems the perfect combination of longtable and tabularx that I require. ...
bmcb's user avatar
  • 1
2 votes
1 answer
63 views

Centering multi-page, long table in landscape pages

I am trying to vertically center a multi-page, long table (with some cells having long text) in the landscape mode. I use xltabular and threeparttablex to make this table. Although the table can be ...
tabiety's user avatar
  • 23
0 votes
0 answers
38 views

xltabular and multicolumn not working well

I have a table in my document that gives me headaches. I'm sure there is a simple fix, but I cannot find it! I want to generate a table using xltabular, with three columns and five rows. The last two ...
Jan Geier's user avatar
2 votes
2 answers
35 views

xltabular row separation too big

I have the following table constructed with xltabular. It stretches over many pages and it text-wraps the middle column. Both these features I would like to maintain and therefore xltabular has been ...
May's user avatar
  • 21
1 vote
1 answer
62 views

Incorrect Width Using xltabular and floatrow Together

floatrow settings seem to break xltabular but only in certain cases. If all columns have X, it will work with no problem. Also note that tabularx is not impacted. Consider the following MWE: \...
Teddy van Jerry's user avatar
1 vote
1 answer
64 views

How to have longer (3-4 Pages) and wider tables in Latex

I have following data Shahrawat, R., and Rao, K. D. & 2012& Insured yet vulnerable: Out-of-pocket payments and India’s poor& All ages& 2004-05& 124644& All Diseases&...
siri's user avatar
  • 37
0 votes
1 answer
42 views

Justify columns in xltabular with Arial font and ragged2 package

I am using Arial font and the ragged2e package. Although the text of the paragraphs is justified, the text inside the tables is not. I tried to remove the ragged2e, but the I obtained several warnings....
David Moldes's user avatar
2 votes
1 answer
126 views

Why does tcolorbox insert such strange page breaks?

In the lower MWE I would like to create a formatted section for examples. However, the tcolorbox package inserts strange page breaks. I would like to have some, but I don't understand why it doesn't ...
FixFox's user avatar
  • 45
2 votes
2 answers
118 views

Why is the \raisebox necessary here in order to align the equation proberly?

I have just stumbled across the following problem: I would like to align the matrices in the last column so that it starts with the other columns. However, I need an offset for this, which I implement ...
FixFox's user avatar
  • 45
0 votes
0 answers
57 views

Same three heads with three different captions: xltabular

In my thesis, there is a very long table that occupies three pages. According to the ABNT's format (Brazilian things) if a table takes a lot of pages, then the caption must contain the next indication:...
Eric André Velasco's user avatar
0 votes
1 answer
43 views

Unintended margin on xltabular cell

\begin{xltabular}{\textwidth}{|c|X|X|X|X|} \caption{Proses \textit{login}} \label{tab:proses-login} \\ \hline \multicolumn{1}{|c|}{\textbf{No.}} & \multicolumn{1}{|c|}{\textbf{Data ...
Sony Lembang's user avatar
0 votes
2 answers
40 views

Multirow text disappears behind cell

I wanted to use multirow, but the text of it disappears between the first cell. Here is my table %multi-row \usepackage{multirow} \begin{xltabular}{\textwidth}{ | >{\columncolor[gray]{.8}\...
Sebastian Byg's user avatar
1 vote
1 answer
48 views

Remove Extra space at the end of xltabular section

I have a section like this: \section{Languages} \vspace{-30pt} \noindent\begin{xltabular}{\linewidth}{ @{}>{\small}p{.15\textwidth} X@{} } & \textbf{Persian}: Native / ...
Danialz's user avatar
  • 125
1 vote
1 answer
70 views

reledmac two-column footnote with xltabular

EDITED: Can someone help set up reledmac two-column footnote with xltabular? I find that the hyperref of footnotes in the xltabular environment directs to the wrong place. Any help is much appreciated....
AJ Misra's user avatar
1 vote
1 answer
55 views

Unwanted indent in multicolumn xltabular, incompatible packages?

Update : the problem has been solved by adding \shorthandoff{:} before and \shorthandon{:} after the xltabular environment (thank you Jasper). The issue was caused because of the use uf the french ...
Marck's user avatar
  • 167
2 votes
1 answer
56 views

xltabular with tex4ebook

I can't get xltabular to work with tex4ebook. Other table environments work fine; unfortunately, I'm converting an existing project, which is quite large and uses xltabular a lot, and I'm supposed to ...
Sérgio Domingues's user avatar
0 votes
0 answers
59 views

Rowstyle in xltabular

I'm creating a newenvironment for my standard style of table, using xltabular (tabularx + longtable). Something like this: \newenvironment{tab1}[3]{\xltabular{\textwidth}{#2} \hline \rowcolor{WB7} #3 \...
Agente 156's user avatar
1 vote
1 answer
60 views

xltabular package - List of tables

This is my first question here. When I use any package to make tables, my list of tables displays only their numbers. However, I need to use xltabular to build the Table 2.4, but I get a different ...
Lucas Zini's user avatar
0 votes
0 answers
26 views

Margins around itemize in xltabular

I am using xltabular for a table spanning multiple pages, and want to have bullet lists in some of the cells. As far as I understand, margins around itemize should be removed by using nosep, but this ...
tobiashellbusch's user avatar
3 votes
2 answers
296 views

Horizontal and vertical centering in xltabular

I have an xltabular table, and I need help with centering the left-hand column, both horizontally and vertically. I do not know if it is possible. I've tried to use the m column type from the array ...
David Moldes's user avatar
0 votes
0 answers
67 views

xltable with mixed enumerate and itemize in columns

I want to obtain a table with an enumeration in the left column, and a list in the right column. Something similar to this (the items in the right column do not have to match the numbering on the left)...
David Moldes's user avatar
2 votes
1 answer
135 views

Footnotes in xltabular

I'm working on my LaTeX template, so I searched some table packages and I found xltabular the perfect one, as I can combine tabularx and longtable and still being able to use tabularx without ...
Agente 156's user avatar
0 votes
1 answer
78 views

\endlastheader in longtable?

I got code example from here. I did not found \endlasthead in longtable package, but i want latex's behaviour as follows: if I have long table placed in 3 pages, I want usual title (caption) on first ...
Daniil Rozanov's user avatar
2 votes
2 answers
21k views

How to add footnote to table created using xltabular

I have the following code to create a table: \documentclass[12pt, a4paper, twoside]{report} %\usepackage[table]{xcolor} \usepackage{graphicx} \usepackage{blindtext} \usepackage[margin=2cm] {geometry} ...
Daniela's user avatar
  • 107
6 votes
0 answers
217 views

Glossary style with tabularray

I am currently migrating from xltabular to tabularray. As part of that I want to adapt my custom glossary style for List of Symbols and List of Abbreviations (same style). This is my old code: % ...
Lovis Justin Immanuel ZENZ's user avatar
0 votes
0 answers
96 views

How to continue table row on next page when it is too tall?

I am using the xltabular package to create tables that span several pages (in a landscape environment) It works fine and puts new rows on the next page if they would go off the end of the current page....
Mathias's user avatar
1 vote
1 answer
59 views

Problem by compiling long table

Im trying to generate a long table that looks like in the annexed picture. For some reason, I', getting the following mistake. I really dont know where the mistake can be. Have maybe someone ...
Master_student_H2's user avatar
0 votes
1 answer
40 views

Multicolumn not utilising all available space in xltabular

I have a table with multiple columns. When using \multicolumn once everything works as expected. However, when using \multicolumn twices, with different column col values the text does not occupy all ...
Stephan's user avatar
0 votes
0 answers
50 views

xltabular exceeds lower page boundaries

I managed to boil the problem down to this minimal example. \documentclass{book} \usepackage{graphicx} \usepackage{xltabular} \usepackage{placeins} \usepackage[showframe]{geometry} \begin{document} ...
JoKing's user avatar
  • 101
3 votes
2 answers
729 views

Pages won't break when making table using xltabular

I'm trying to create a table which would ideally break across different pages as it is long. However, my table just bleeds across a single page and I'm not sure where I'm making a mistake. I just ...
Nigel S's user avatar
  • 33
1 vote
1 answer
377 views

xltabular to stretch full width in MDPI template

I need to use xltabular for a complex table. The MDPI template has an example of a tabularx on full width that I am trying to replicate: \documentclass[journal,article,submit,pdftex,moreauthors]{...
mritz_p's user avatar
  • 210
0 votes
0 answers
42 views

LaTeX -- vfill between two xltabular?

I am trying to use a \vfill in between two separate xtabular tables, to put the second one all the way at the bottom of the page. Clearly I'm doing something wrong, because it isn't working. Can ...
hymie's user avatar
  • 249
1 vote
2 answers
190 views

Cannot seem to force the caption to be on top of the table environement

I have a defined a NiceTabular which is later on overlayered by tikz to be eventually inserted in a table environment. The MWE is presented below. \documentclass{article} \usepackage{nicematrix,...
Wallflower's user avatar
0 votes
2 answers
188 views

xltabular correct spacing

I use this template: https://github.com/andygrunwald/FOM-LaTeX-Template Now i try to create a table: \begin{xltabular}{\textwidth}[H]{|l|l|X|l|l|l|} \caption{Literaturrecherche}\label{tbl:...
lublak's user avatar
  • 7
0 votes
1 answer
182 views

xltabular page break multiple pages

as part of an article, I am translating a text from an oriental language to German. I am writing the short introductiona and then follows the text. Thus, I wanted to place it in a table with two ...
into's user avatar
  • 13
1 vote
0 answers
171 views

xltabular \centering\arraybackslash}X alignment breaks with 20 or more columns

I am generating dynamicaly big tables (hundreds of rows and dozens of columns) from python/jinja. I found some solution to make 'subcolumns' widths even: Evenly distributing column widths So I defined ...
Pilchu's user avatar
  • 11
1 vote
2 answers
122 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} \...
Eduardo Jiménez's user avatar
1 vote
2 answers
114 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} \...
HAITHEM's user avatar
  • 455
1 vote
1 answer
37 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. ...
Shane's user avatar
  • 408
1 vote
1 answer
45 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 ...
Amarakon's user avatar
  • 165
0 votes
1 answer
51 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=*, ...
Amarakon's user avatar
  • 165
1 vote
1 answer
183 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 ...
Chris78's user avatar
  • 113
0 votes
1 answer
212 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 \...
brunodmsi's user avatar
0 votes
1 answer
485 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 ...
Eduardo Jiménez's user avatar
1 vote
0 answers
250 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 ...
user263666's user avatar
1 vote
2 answers
69 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 ...
Namal's user avatar
  • 301
4 votes
1 answer
1k 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 ...
Namal's user avatar
  • 301
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 ...
ecjb's user avatar
  • 935
0 votes
1 answer
122 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 ...
PWillms's user avatar
  • 362