New answers tagged tabularx
1
vote
Accepted
How to have a top vertical alignment in tabularx when including images?
With moving image baseline by help of adjustbox package to top of image:
\documentclass{article}
\usepackage[export]{adjustbox}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{hyperref}
\...
2
votes
Why is the third column so wide?
A comment up front: Since none of the columns in your sample tables would appear to require automatic line breaking within cells, I don't think it's a great idea to use a tabularx environment.
You ...
4
votes
Why is the third column so wide?
As I said in comment, at least one column in tabularx tables had to of X type. This means, that in your case table should be for example:
\documentclass{article}
\usepackage{tabularx}
\newcolumntype{C}...
2
votes
Aligning a Multi-line Expression in Table
It's not very clear what you want to achieve, you should provide a complete minimal example.
Anyway, with tabularray:
\documentclass{article}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\...
3
votes
Accepted
Table not compiling?
Your tables are compilable and in both the vertical rules are present. So, your problem cannot be reproduced. This may mean, that you have problem with you LaTeX installation
Anyway, try solution ...
0
votes
Tables goes unwantedly on next page using IEEE journal
I can't see a good reason for placing the subtables in a table* environment to begin with. Placing them in an ordinary table environment would appear to be just fine (if not better), especially if one ...
2
votes
Displaying table with equations
You might use \multirow for this, but I prefer not to.
I solve the problem by stating the equations and the constraints in a single top aligned array; the rows are separated by \addlinespace to add ...
2
votes
How to produce this kind of long table using overleaf?
You not provide any information about your document and if you really need long table, so rest of answer is based on guessing and can serve only as starting point.
With longtblr environment of the new ...
2
votes
Displaying table with equations
With tabularray with columns in display math and in-line math mode the table code is simple:
\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{tabularray}
\UseTblrLibrary{amsmath, ...
1
vote
Accepted
Displaying table with equations
Important things first. When dealing with new things, acquiring new skills, etc. keep things simple, do examples only with strictly necessary information. Everything else is a disturb and makes things ...
0
votes
Using seqsplit and truncate together
The common way to do it is using package hyperref, where you replace your commands simply by \url{someURL}.
\documentclass{article}
\usepackage{booktabs}
\usepackage{tabularx}
%\usepackage{seqsplit}...
2
votes
Centering middle line in 2x2 table
With tabularray package and the same approach as is in the second example in the @Mico answer (+1), the table code is a bit shorter:
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[...
3
votes
Accepted
Centering middle line in 2x2 table
Here are two equivalents ways of achieving your formatting objective. The first employs the w column type (provided by the array package). The second employs a tabularx environment (provided by the ...
0
votes
Accepted
float table misalignment, table crosses the page width
In addition to actually providing a column specification for the tabular environment, you also need to change begin{table*}[t] to \begin{table*}[t], i.e., supply a missing backslash character. And, ...
5
votes
Accepted
Unknown spacing after using command in optional argument
Your definition of \Entry had a blank line (i.e., paragraph break) in it. Also, I removed stray spaces in that definition by adding % to line ends.
Per the OP's follow-up comment, I also fixed the ...
2
votes
Accepted
unexpected black box at the left top corner of a table
Your problem is identified and solve by @daleif comment, however your table is simpler to write by use of the tabularray package (at least to my opinion). Using it, coloring of rows is simple and ...
Top 50 recent answers are included
Related Tags
tabularx × 2023tables × 1190
longtable × 131
multicolumn × 123
vertical-alignment × 122
horizontal-alignment × 119
multirow × 115
spacing × 57
color × 53
ltablex × 49
booktabs × 48
tikz-pgf × 47
siunitx × 42
width × 42
line-breaking × 41
formatting × 40
columns × 39
captions × 38
environments × 37
tabulary × 32
threeparttable × 31
floats × 30
align × 30
itemize × 30
graphics × 29