5
votes
LaTeX table not working
One possible solution:
wider \textwidth determined by use of the geometry package
footnotesize font size
different widths of columns
use of the tabularray package
\documentclass{article}
\usepackage{...
4
votes
makecell: how to reduce the line spacing in multiline cells?
With use of the tabularray package is simple:
\documentclass[12pt]{article}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{cells=l,
rowsep=3pt}
foobar &...
3
votes
Accepted
makecell: how to reduce the line spacing in multiline cells?
Does this solution with only makecell befit you?
\documentclass{article}
\usepackage{array, makecell}
\renewcommand\cellset{\renewcommand\arraystretch{0.8}%
\setlength\extrarowheight{...
3
votes
Accepted
Make all lines of tables thicker
Second edit: if you prefer to use the classic tabular, \setlength{\arrayrulewidth}{5pt} before the array seems to do the trick too.
Edit: following your comment below, here's a version that should be ...
2
votes
tabular: thicker lines
Here is what you can do with {NiceTabular} of nicematrix.
\documentclass{article}
\usepackage{nicematrix,tikz}
\begin{document}
\NiceMatrixOptions
{
custom-line =
{
letter = B, ...
2
votes
Accepted
How to highlight the first column of Table?
I used the packages xcolor and colortbl to define a color Higlight and a new column type h. This produces:
Here is the code:
\documentclass[12pt]{report}
\usepackage{xcolor,colortbl}
\definecolor{...
2
votes
Accepted
Colorcells and Rowcolor in spreadtab
It is quite easy to customize styles of tables while using spreadtab if you would like to use tblr environment of tabularray package:
\documentclass[a4paper,14pt]{extreport}
\usepackage{spreadtab}
\...
2
votes
Accepted
Figure with two graphics and one matrix
You can exploit the fact that a tabular is vertically centered with respect to the baseline (actually, not exactly, but it's not so important).
\documentclass{article}
\usepackage{amsmath}
\usepackage{...
1
vote
Tabular environment malfunctioning: incorrect order and whitespace
With use of the tabularray and adjustbox package, font size small and without
resizing of table:
\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{tabularray}
\usepackage[export]{...
1
vote
Error in making table with multiple columns
I suggest you employ a matrix environment (provided by the amsmath package) in an unnumbered displayed equation instead of a tabular environment embedded in a center environment.
\documentclass{...
1
vote
Figure with two graphics and one matrix
With tabularray and adjustbox packages:
\documentclass{article}
\usepackage{amsmath}
\usepackage[export]{adjustbox}
\usepackage{tabularray}
\begin{document}
\begin{figure}
\centering
\begin{tblr}{...
1
vote
Accepted
Text width inside a table
I suggest the macro \twoboards with six parameters: title,boad,moves of left image and title,board,moves of right image.
We need not any tabular environment. Each \twoboards is \centerline with two ...
1
vote
Text width inside a table
You didn't properly set your tabular and margins. I define a new column type P which has fix width and center alignment. I set the margin to 2cm(top,bottom,left and right) and showed the page frame ...
1
vote
Accepted
Generate tabularray and compute sub-result for each row using functional library
To avoid potential naming conflicts with commands in LaTeX kernel and other packages, functional package has changed its naming scheme for functions from \UpperCamelCase to \lowerCamelCase since ...
1
vote
Accepted
1
vote
Accepted
Latex3 floating point calculations in longtblr (tabularray)
Although I think it would be better to use functional library to do programming inside tabularray tables, you could still use expl3 if you want. You may compare this answer with another answer for a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tables × 16044tabularx × 1192
horizontal-alignment × 990
longtable × 915
vertical-alignment × 834
multirow × 768
multicolumn × 706
spacing × 623
captions × 553
floats × 547
color × 502
formatting × 476
tikz-pgf × 441
siunitx × 415
columns × 328
booktabs × 316
beamer × 312
graphics × 304
rotating × 265
macros × 262
width × 236
align × 228
line-breaking × 204
math-mode × 199
positioning × 193