New answers tagged

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} \...
user avatar
  • 250k
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 ...
user avatar
  • 434k
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}...
user avatar
  • 250k
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} \...
user avatar
  • 53.8k
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 ...
user avatar
  • 250k
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 ...
user avatar
  • 434k
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 ...
user avatar
  • 983k
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 ...
user avatar
  • 250k
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, ...
user avatar
  • 250k
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 ...
user avatar
  • 2,822
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}...
user avatar
  • 1,375
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[...
user avatar
  • 250k
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 ...
user avatar
  • 434k
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, ...
user avatar
  • 434k
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 ...
user avatar
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 ...
user avatar
  • 250k

Top 50 recent answers are included