How can I make these three tables the same width and height and the width of the first column of each table the same?
Also, how do I display the "Product" table just to the right of the "Sum" table? The minipage environment doesn't seem to work for me!
MWE :
\documentclass[10pt,a4paper]{article}
\pagestyle{empty}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{amsfonts,amsmath,amssymb,array,cellspace,tabularray,tabularx,tabvar,tikz,xcolor}
\UseTblrLibrary{varwidth}
\begin{document}
\begin{tblr}{
column{1}=36pt,
rows = {abovesep=4.5pt,belowsep=4.5pt},
columns = {leftsep=9pt,rightsep=9pt},
colspec={lcccccc},
cell{1}{1}={c},
hline{2,3,4} = {1-7}{black},
vline{2} = {black},
cell{1}{1} = {green!30},
stretch=-1,
measure=vbox}
\SetCell[r=1,c=1]{c} Somme \
$\lim_{} f$ & $\ell$ & $\ell$ & $\ell$ & + $\infty$ & - $\infty$ & + $\infty$ \
$\lim_{} g$ & $\ell '$ & + $\infty$ & - $\infty$ & + $\infty$ & - $\infty$ & - $\infty$ \
$\lim_{} f + g$ & $\ell + \ell '$ & + $\infty$ & - $\infty$ & + $\infty$ & - $\infty$ & $?$ \
\end{tblr}
\vspace{.3cm}
\begin{tblr}{
column{1}=36pt,
rows = {abovesep=4.5pt,belowsep=4.5pt},
columns = {leftsep=9pt,rightsep=9pt},
colspec={lcccc},
cell{1}{1}={c},
hline{2,3,4} = {1-7}{black},
vline{2} = {black},
cell{1}{1} = {blue!30},
stretch=-1,
measure=vbox}
\SetCell[r=1,c=1]{c} Produit \
$\lim_{} f$ & $\ell$ & $\ell \neq 0 $ & $\infty$ & $0$ \
$\lim_{} g$ & $\ell '$ & $\infty$ & $\infty$ & $\infty$ \
$\lim_{} f \times g$ & $\ell \times \ell '$ & $\infty$ & $\infty$ & $?$ \
\end{tblr}
\vspace{.3cm}
\begin{tblr}{
column{1}=36pt,
rows = {abovesep=4.5pt,belowsep=4.5pt},
columns = {leftsep=9pt,rightsep=9pt},
colspec={lcccccc},
cell{1}{1}={c},
hline{2,3,4} = {1-7}{black},
vline{2} = {black},
cell{1}{1} = {purple!30},
stretch=-1,
measure=vbox}
\SetCell[r=1,c=1]{c} Quotient \
$\lim_{} f$ & $\ell$ & $\ell \neq 0$ & $\ell$ & $\infty$ & $\infty$ & $0$ \
$\lim_{} g$ & $\ell ' \neq 0$ & $0$ & $\infty$ & $\ell$ & $\infty$ & $0$\
$\lim_{} \dfrac{f}{g}$ & $\dfrac{\ell}{\ell '}$ & $\infty$ & $0$ & $\infty$ & ? & ? \
\end{tblr}
\end{document}
Mix of proposed solutions, thanks guys!
\noindent\begin{tblr}{
rows = {abovesep=4.5pt, belowsep=4.5pt},
rowspec={m{4mm} | t{10mm} | t{10mm} | t{10mm} },
columns = {leftsep=4pt, rightsep=4pt,26pt},
column{1}=1.5cm,
colspec={lcccccc},
cell{1}{1}={c},
hline{2,3,4} = {1-7}{black},
vline{2} = {black},
cell{1}{1} = {green!30},
stretch=-1,
% measure=\vbox
}
\SetCell[r=1,c=1]{c} Somme \\
$\lim_{} f$ & $\ell$ & $\ell$ & $\ell$ & $+\infty$ & $-\infty$ & $+\infty$ \\
$\lim_{} g$ & $\ell '$ & $+\infty$ & $-\infty$ & $+\infty$ & $-\infty$ & $-\infty$ \\
$\lim_{} f + g$ & $\ell + \ell '$ & $+\infty$ & $-\infty$ & $+\infty$ & $-\infty$ & $?$ \\
\end{tblr}
\vspace{.3cm}
\noindent\begin{tblr}{
rows = {abovesep=4.5pt,belowsep=4.5pt},
rowspec={m{4mm} | t{10mm} | t{10mm} | t{10mm} },
columns = {leftsep=4pt, rightsep=4pt,26pt},
column{1}=1.5cm,
colspec={lcccccc},
cell{1}{1}={c},
hline{2,3,4} = {1-6}{black},
vline{2} = {black},
cell{1}{1} = {purple!30},
stretch=-1,
% measure=\vbox
}
\SetCell[r=1,c=1]{c} Quotient \
$\lim_{} f$ & $\ell$ & $\ell \neq 0$ & $\ell$ & $\infty$ & $\infty$ & $0$ \
$\lim_{} g$ & $\ell ' \neq 0$ & $0$ & $\infty$ & $\ell$ & $\infty$ & $0$\
$\lim_{} \dfrac{f}{g}$ & $\dfrac{\ell}{\ell '}$ & $\infty$ & $0$ & $\infty$ & $?$ & $?$ \
\end{tblr}
\hspace{.3cm}
\begin{tblr}{
rows = {abovesep=4.5pt,belowsep=4.5pt},
rowspec={m{4mm} | t{10mm} | t{10mm} | t{10mm} },
columns = {leftsep=4pt, rightsep=4pt,26pt},
column{1}=1.5cm,
colspec={lcccc},
cell{1}{1}={c},
hline{2,3,4} = {1-7}{black},
vline{2} = {black},
cell{1}{1} = {blue!30},
stretch=-1,
% measure=\vbox
}
\SetCell[r=1,c=1]{c} Produit \
$\lim_{} f$ & $\ell$ & $\ell \neq 0 $ & $\infty$ & $0$ \
$\lim_{} g$ & $\ell '$ & $\infty$ & $\infty$ & $\infty$ \
$\lim_{} f \times g$ & $\ell \times \ell '$ & $\infty$ & $\infty$ & $?$ \
\end{tblr}





\vspace{.3cm}. LaTeX is interpreting that as a command to start a new paragraph. – Sandy G Dec 04 '22 at 17:05