Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 2
mineure

06 Aoû '17, 01:32

Pathe's gravatar image

Pathe
7.6k49210252

On peut les mettre dans une boite boîte ou plus simplement, s'il si l'on souhaite les centrer, utiliser `\hfill` `\hfill`. \documentclass{article} \begin{document} Voici deux tableaux : \begin{table}[htb] \centering \hfill \begin{tabular}{|c|c|c|c|c|} \hline \textbf{Biens} & A & B & C & D\tabularnewline \hline \hline \textbf{Prix en UCA} & 4 & 12 & 7 & 2\tabularnewline \hline \end{tabular} \hfill \begin{tabular}{|c|c|c|c|c|} \hline \textbf{Tagada} & A & B & C & D\tabularnewline \hline \hline \textbf{Tsoin} & 8 & 177 & 56 & 39\tabularnewline \hline \end{tabular} \hfill\null \caption{Bla bla} \label{uca} \end{table} \end{document}
cliquez ici pour masquer/afficher la révision 1

10 Sep '16, 14:01

unbonpetit's gravatar image

unbonpetit
1.8k18

On peut les mettre dans une boite ou plus simplement, s'il l'on souhaite les centrer, utiliser `\hfill` \documentclass{article} \begin{document} Voici deux tableaux : \begin{table}[htb] \centering \hfill \begin{tabular}{|c|c|c|c|c|} \hline \textbf{Biens} & A & B & C & D\tabularnewline \hline \hline \textbf{Prix en UCA} & 4 & 12 & 7 & 2\tabularnewline \hline \end{tabular} \hfill \begin{tabular}{|c|c|c|c|c|} \hline \textbf{Tagada} & A & B & C & D\tabularnewline \hline \hline \textbf{Tsoin} & 8 & 177 & 56 & 39\tabularnewline \hline \end{tabular} \hfill\null \caption{Bla bla} \label{uca} \end{table} \end{document}

C'est votre première visite ici ? Consultez la FAQ !

×