Questions tagged [tabularx]
{tabularx} is a package that defines an environment tabularx, an extension of tabular which has an additional column designator, X, which creates a paragraph-like column whose width automatically expands so that the declared width of the environment is filled.
2,360 questions
4 votes
4 answers
218 views
Large table does not fit on page
I am typesetting a table in landscape mode using the pdflscape package. The table has four columns, one of which contains long mathematical expressions. I want the table to fit properly on the ...
1 vote
1 answer
49 views
Merge two tables into one with different number of columns without floating
How can I join two independent tables so they look like one table? Every time I try, I can't get rid of the space between the tables. \nointerlineskip doesn't help. I've found several answers on how ...
4 votes
1 answer
91 views
How can I make the following threeparttable with footnote span multiple pages in LaTeX?
I’m using threeparttable for footnotes and tabularx to adjust column widths. My table contains notation definitions for an mVRP-D model, and its content is too long to fit on a single page. I need it ...
2 votes
2 answers
96 views
Tabularx table thicker lines on some rows
I want to make the lines on the first three rows thicker, both vertical and horizontal lines, but just first three rows. Is it possible to do this with tabularx environment? \documentclass{article} \...
4 votes
1 answer
81 views
Set column width using text example
I’m setting multiple tables on separate pages that have two columns each using tabularx. The cells in the left columns only contain a time in the format 15:00. Since not all times are available in all ...
0 votes
2 answers
111 views
Automatically Wrapping Long Titles and Uniform Underlines in LaTeX Tables
I want to design a cover page in LaTeX that contains several pieces of information. For the title, which can be very long, I would like it to automatically wrap onto a second line. In addition, the &...
4 votes
5 answers
288 views
Tabularx & Amsmath: How to scale matrices with different dimensions inside a table so they are positioned one below the other perfectly?
This is my code: \documentclass[preview]{standalone} \usepackage{booktabs} \usepackage{tabularx} \usepackage{amsmath, amsfonts, amssymb, amsthm} \begin{document} \begin{tabularx}{\linewidth}{XXX} ...
4 votes
2 answers
174 views
Make table column width equal for specific columns with rotated text
Challenge: I am creating a larger sidewaystable with color markings for features to be implemented using tabularx. Within this table I rotate certain cells in order to reduce the width for those color ...
4 votes
3 answers
233 views
How to fix Overfull \hbox in a wide LaTeX table with long text entries
Approach 1: Using tabularx with flexible columns I am using tabularx with two X columns and 8 columns total. Why am I still getting Overfull \hbox warnings? How can I make a LaTeX table with long ...
4 votes
2 answers
97 views
Display the table of content inside tabularx environment
I would like to include the table of content inside a tabularx. The following code produce a pdf without warning nor errors, but the table of content is not visible. \documentclass[11pt,a4paper]{...
1 vote
1 answer
99 views
Setting the row height using tabularx in tcolorbox
I'm trying to set the row height in the following table: \documentclass[a4paper, twoside,12pt]{article} \usepackage[T1]{fontenc} \usepackage[francais]{babel} \usepackage[table]{xcolor} \usepackage{...
0 votes
0 answers
72 views
Visual difference when coloring cells of tabularx and tabularray tables
In my thesis, I create tables with tabularx and also with tabularray. Both packages are used along with the booktabs package. I realized that when I color the rows of the tables it looks slightly ...
3 votes
2 answers
167 views
Prevent multiple evaluations of commands in table environments (tabularx, tabulary, tblr)
I often need to hide answers using \phantom, and store them in an expl3 sequence via a custom command \addanswer, for later use. Each call to \addanswer is intended to store its argument only once. ...
3 votes
3 answers
73 views
Rogue verticallLines in \tabularx table using \multicolumn and \rule
While looking to create a full width row in a tabularx table I came across the multicolumn command. I used that successfully using this code sample \documentclass{article} \usepackage[tmargin=10mm, ...
2 votes
1 answer
92 views
Replacing \kern1em with $\hookrightarrow$ in macro using \discretionary gives ‘Improper discretionary list’ error. How to solve this problem?
I adapted Skillmon’s solution from my previous question for automatically breaking long Python module names at dots inside \texttt{…} in a table. His \newcolumntype uses \newcolumntype\pymod[1] {>...