Questions tagged [tables]
{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx}, {tabu}, {tabularray} and {longtable}. For questions about the table environment (i.e., about floating or positioning), use {floats} instead.
18,621 questions
4
votes
2
answers
73
views
Diagbox in a table: how to align elements to the right or below
Is it possible to configure \diagbox[*]{*}{*} so that the elements to the right or below are aligned?
\documentclass[margin=5pt, varwidth]{standalone}
\usepackage{diagbox}
\begin{document}
\begin{...
0
votes
1
answer
20
views
pgfplotstable: only display the first of identical elements in a column
Small excerpt:
I have a pgfplotstable of the type shown.
The first column contains only twos, fives, etc.
How can I display only the first element of each?
Hint: Yes, I need to do it with ...
0
votes
1
answer
30
views
longtable inside \chapter* with KOMA-Script scrreprt breaks headers/footers
I'm writing a report using KOMA-Script (scrreprt) and want to include a "Nomenclature" chapter. This chapter is unnumbered (\chapter*{Nomenclature}) and should appear in the table of ...
4
votes
4
answers
206
views
Vertical centering in table cells
I'm trying to typeset the following table. I'm having trouble with the vertical centering of each cell's contents, plus the obvious horizontal alignments. ChatGPT's numerous attempts were all ...
5
votes
2
answers
111
views
Unexpected tabular vertical alignment
I'm having a difficult time understanding the vertical alignment of columns of tables created via tabular.
My Code
\documentclass{article}
\usepackage{array}
\begin{document}
\begin{tabular}{ | p{2....
4
votes
3
answers
94
views
Defining tabular column with resuming enumerate
I have a follow up question, to this one.
I want to define a column type, which creates a resumed enumerated list over several rows.
I do not use [series=table,nosep,leftmargin=*,before=\vspace{-0.5\...
3
votes
1
answer
38
views
Problem with multirow and booktabs in latex [duplicate]
I think that the table is ok, but as you can see, the table is not complete. The first column is missing 2 titles: Alps and Iberian P., why do these not appear in the table? I thought that it was ...
1
vote
0
answers
52
views
Sideways table is misaligned, pushed all the way to the right [duplicate]
I have the following problem. I have a format template for the MSOM Journal (direct link). Now I want to display a table there vertically instead of horizontally. To do this, I would like to use the \...
2
votes
1
answer
36
views
tabularray indent after first table row and tablenotes
Hi I'm working on a table and wish to have a small indent after the first table row (Complete) for the following row names (Single and Dupli.). In fact, those are subcategories which sum adds up to ...
7
votes
3
answers
337
views
How can I make a multi-line table structure with repeated parameter values more visually appealing?
I have the following table. I am particularly interested in columns 1-2. There, I have three different values of \mathcal{T} for each value of \mathcal{J}. Unfortunately, I find the current display ...
5
votes
1
answer
86
views
The table is not centering in the item
A MWS is as following.
\documentclass{article}
\renewcommand{\labelenumi}{(\theenumi)}
\usepackage{enumitem}
\setenumerate[1,2,3]{itemsep=0pt,partopsep=0.3\baselineskip plus 0.2ex minus 0.1ex,parsep=...
1
vote
1
answer
52
views
mpxtabular became wrong in texlive 2025-06-02
Similar to the question asked about supertabular on Sep 3 at 5:22 by Dmitry Sukhodoyev, I get a strange error when trying to compile tex files containing supertabular.
It is hard to provide a MWE as ...
5
votes
3
answers
268
views
Is there a reference on how to make tables better, or a more standard way of pre-contemplating them?
Is there a reference on how to make tables better, or a more standard way of pre-contemplating them?
I was trying to tabulate the elementary linear transformations, and noticed that my table was ...
9
votes
4
answers
270
views
Booktabs cmidrule creates unwanted vertical space
I am making the following table using LaTeX. One way to do it is to make a separate row for the "Top Header" header. However, this results in space below that header and the "sub ...
4
votes
4
answers
244
views
How to adjust a table with fractions?
\begin{table}[ht]
\centering
\setlength{\extrarowheight}{10pt}
\setlength{\arraycolsep}{10pt} %
\begin{tabular}{ |c|c|c|c|c|c| }
\hline
& $\bm{II}$ & $\bm{IX}$ & $\bm{ZI}$ &...