Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 3
Phrase malencontreusement en anglais

07 Mar '21, 20:04

fpantigny's gravatar image

fpantigny
1.3k44

Si on tient absolument à mettre des filets verticaux dans les tableaux où on utilise les commandes de `booktabs`, on peut utiliser `{NiceTabular}` de `nicematrix` (there is nothing else to change). (il n'y a rien d'autre à changer). \documentclass{article} \usepackage{nicematrix,booktabs,makecell,multirow} \begin{document} \begin{table}[h!] \centering \caption[nom dans la liste dans tableaux]{legende} \label{tab:inventory} \begin{NiceTabular}{@{}l|l|l||r|r|r|r|r|r|r|r@{}} \toprule \textbf{Post} & \textbf{Equipment} & \textbf{Unit} & \textbf{Common} & \textbf{LLN} & \textbf{Woluwe} & \textbf{Mons} & \textbf{Tournai} & \textbf{St-Gilles} & \textbf{Charleroi} & \textbf{Uncertainty} \\ \Xhline{2.5pt} \multirow{4}{22mm}{test} & test & test & test & test & test & test & test & test & test & test \\ & test & test & test & test & test & test & test & test & test & test \\ & test & test & test & test & test & test & test & test & test & test \\ & test & test & test & test & test & test & test & test & test & test \\ \bottomrule \end{NiceTabular} \end{table} \end{document} Il faut au moins la version 5.2 du 19 août 2020.
cliquez ici pour masquer/afficher la révision 2
Petite précision sur la version minimale.

07 Mar '21, 14:06

fpantigny's gravatar image

fpantigny
1.3k44

Si on tient absolument à mettre des filets verticaux dans les tableaux où on utilise les commandes de `booktabs`, on peut utiliser `{NiceTabular}` de `nicematrix` (there is nothing else to change). \documentclass{article} \usepackage{nicematrix,booktabs,makecell,multirow} \begin{document} \begin{table}[h!] \centering \caption[nom dans la liste dans tableaux]{legende} \label{tab:inventory} \begin{NiceTabular}{@{}l|l|l||r|r|r|r|r|r|r|r@{}} \toprule \textbf{Post} & \textbf{Equipment} & \textbf{Unit} & \textbf{Common} & \textbf{LLN} & \textbf{Woluwe} & \textbf{Mons} & \textbf{Tournai} & \textbf{St-Gilles} & \textbf{Charleroi} & \textbf{Uncertainty} \\ \Xhline{2.5pt} \multirow{4}{22mm}{test} & test & test & test & test & test & test & test & test & test & test \\ & test & test & test & test & test & test & test & test & test & test \\ & test & test & test & test & test & test & test & test & test & test \\ & test & test & test & test & test & test & test & test & test & test \\ \bottomrule \end{NiceTabular} \end{table} \end{document} Il faut au moins la version 5.2 du 19 août 2020.
cliquez ici pour masquer/afficher la révision 1

07 Mar '21, 14:03

fpantigny's gravatar image

fpantigny
1.3k44