\documentclass[a4paper,10pt]{article} \usepackage{myXsim} \author{Benjamin Bertrand} \title{Croisement de deux variables- Cours} \date{Septembre 2022} \pagestyle{empty} \begin{document} \maketitle \section{Tableau croisé} On a résumé un tableau simple en un \textbf{tableau croisé} ou \textbf{tableau à double entrée} \begin{minipage}{0.3\linewidth} \includegraphics[scale=0.2]{./jan_sales} \end{minipage} \begin{minipage}{0.1\linewidth} $\rightarrow $ \end{minipage} \begin{minipage}{0.4\linewidth} \small \begin{tabular}{|p{4cm}|ccc|c|} \toprule & Impression & Logiciel & Ordinateur & Total \\ \midrule Barton & 3 & 4 & 1 & 8 \\ Hilpert & 2 & 1 & 4 & 7 \\ Metz & 1 & 0 & 4 & 5 \\ Kulas & 2 & 2 & 2 & 6 \\ Trantow & 4 & 6 & 5 & 15 \\ \midrule Total & 12 & 13 & 16 & 41 \\ \bottomrule \end{tabular} \end{minipage} \paragraph{Utilisation:} \begin{itemize} \item Nombre de ventes total: \item Nombre de ventes réalisée par Metz: \item Nombre de ventes réalisée en Ordinateur: \item Nombre de ventes réalisée par Metz et en ordinateur: \end{itemize} \afaire{Compléter la liste} \end{document}