Questions tagged [makecell]
The makecell tag has no summary.
150 questions
2 votes
2 answers
55 views
Row colour problem with longtable, multicolumn and makecell
How do I get the rowcolor spanned for the entire first row? \documentclass{article} \usepackage{longtable, makecell, booktabs} \usepackage[table]{xcolor} \begin{document} \begin{longtable}{m{0.1\...
3 votes
1 answer
65 views
Why makecell and pgfplotstable cobination works when is used old version of `siunitx` ([=v2]) works but with new version ([=v3]) not?
For collecting of some measured data I use the following MWE: \documentclass[12pt]{article} \usepackage[margin=20mm]{geometry} \usepackage{booktabs, makecell, longtable} \usepackage{siunitx}[=v2] % ...
1 vote
1 answer
154 views
Tex4ht losses newlines in p{} columns in longtable when adding any one of these packages: array, colortbl, makecell
Something seems to have changed in tex4ht. I am using TL 2025, installed fresh one week ago on new Linux Found that Adding array package, causes tex4ht to clopper all content of table cell, ignoring ...
1 vote
1 answer
90 views
Tabularx extrarowheight for not for all rows
I have a tabularx environment where I defined \extrarowheight and \arraystretch. I need both because all my tables are styled with this options, but I have one table where I need to exclude one ...
0 votes
2 answers
88 views
Latex partially colored makecell in table
Here is a minimal working example: \documentclass[12pt]{scrartcl} \usepackage[table,xcdraw]{xcolor} \usepackage{makecell} \begin{document} \begin{table} \centering \makebox[\linewidth] { ...
1 vote
3 answers
139 views
Table problem overleaf
This is driving me crazy. Any suggestion? The cell is just partially colored. \begin{table}[H] \centering \scriptsize % Reduced font size \begin{tabularx}{\textwidth}{|c|c|c|c|c|c|c|c|X|} \hline ...
1 vote
2 answers
91 views
Left-aligned and centered text on same line (not equations)
In the style which I'm sort of copying, dates are printed against the left margin and the entry's heading (which doesn't need to conform to LaTeX sectioning commands) is centered. I have borrowed code ...
-1 votes
2 answers
133 views
Using makecell without centering [closed]
\usepackage{booktabs} \usepackage{makecell} \usepackage{tabularx} \begin{table} \centering \caption{PRNU for Figure 3-5} \label{tab1} \renewcommand\arraystretch{1.5} \tabcolsep=0....
0 votes
1 answer
286 views
\makecell - space after word wrap
I use table "longtblr" and inside I use "\makecell[{{p{5cm}}}]{abcd}". I want to add shift/space before "defined by default)" , like in "Option 2". Thank you ...
2 votes
1 answer
114 views
Line breaks inside multirow does not make cell bigger
I have some long lines in a table and I am using \makecell to add in line breaks. Usually this works fine (vertically centres the text and expands the cell to fit), but I need this inside of a ...
1 vote
2 answers
305 views
Combining columns and rows in overleaf
I would like to put "U.S. census" in the middle of the given space, and also "GroupA" as well. Currently it's somewhat shifted. How should I combine the rows? \begin{table} \begin{...
1 vote
2 answers
91 views
How to top-align the rotated cell contents of one row in a table?
Consider the following MWE: \documentclass[]{scrartcl} % PACKAGES \usepackage[]{mathtools,amsthm,amssymb,mathrsfs,mathalfa} % Math Packages \usepackage[]{bm} % To get bold math. \usepackage[]{...
0 votes
1 answer
97 views
Is it possible to programmatically add line breaks inside \makecell?
I've found myself in a situation where I need to dynamically add a list of strings inside a tabular cell in multiple instances, each string in their own line. To tackle this, I tried to go with the ...
2 votes
1 answer
67 views
Vertically align numbers in siunitx column at the bottom
I have a table with different row sizes and some S[] columns from package siunitx. By default, the numbers in the S columns are vertically centered in each row: \documentclass{article} \usepackage[...
0 votes
1 answer
73 views
Proper table formatting
Ideally I would have vertically aligned text and notes at the bottom of the page, not of the minipage, and not use multirow. The outer colums should take up as small as possible space, and the middle ...