je voudrais faire le tableau ci-dessous. Quelqu'un peut-il m'aider ? Les doubles traits ne sont pas indispensables et je ne cherche que le canevas du tableau. Pour les graphiques, ils seront donnés sous forme d'images.
Modérateur: Modérateurs_LaTeX
projetmbc a écrit:je voudrais faire le tableau ci-dessous. Quelqu'un peut-il m'aider ? Les doubles traits ne sont pas indispensables et je ne cherche que le canevas du tableau. Pour les graphiques, ils seront donnés sous forme d'images.
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{array,booktabs,tkz-2d}
\usepackage[frenchb]{babel}
\usepackage[autolanguage]{numprint}
\begin{document}
\def\hfq{\hfill\quad}
\def\cc#1{\hfq#1\hfq}
\def\tvi{\vrule height 12pt depth 4pt width 0pt}
\def\tv{\tvi\vrule}
\[\vbox{%
\offinterlineskip
\halign{\tv\strut\cc{#}\tv&\cc{#}\tv&\cc{#}\tv&\cc{#}\tv\cr
\omit\hfil &\omit\hrulefill&\omit\hrulefill&\omit\hrulefill\cr
\omit\hfil\tv & $b>0$ & $b=0$ & $b<0$\cr
\noalign{\hrule}
\tikz \node[minimum height=3cm] { $a>0$};
& \begin{tikzpicture}[scale=.5]
\tkzInit[xmin=0,xmax=5,ymin=0,ymax=5]
\tkzX
\tkzY
\end{tikzpicture} &
\begin{tikzpicture}[scale=.5]
\tkzInit[xmin=0,xmax=5,ymin=0,ymax=5]
\tkzX
\tkzY
\end{tikzpicture}& \begin{tikzpicture}[scale=.5]
\tkzInit[xmin=0,xmax=5,ymin=0,ymax=5]
\tkzX
\tkzY
\end{tikzpicture}\cr
&\multispan3 \cc {Si $a>0$ alors la fonction $f$ est strictement croissante}\tv\cr
\noalign{\hrule}
}
}\]
\end{document}Altermundus a écrit:Sinon j'ai utilise tkz-2d qui serait pratique pour faire ce que tu cherches mais bon là c'est mon truc aussi je ne suis pas objectif.

projetmbc a écrit:Je sens que ton code va me faire un peu mal à la tête...
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern,tkz-2d}
\usepackage{array,hhline,multirow}
\begin{document}
\[
\begin{array}{|c|c|c|c|}
\hhline{~---}
\multicolumn{1}{c|}{} & $b>0$ & $b=0$ & $b<0$ \\ \hline
\raisebox{1.75cm}{$a>0$} & \begin{tikzpicture}[scale=.5]
\tkzInit[xmin=0,xmax=5,ymin=0,ymax=5]
\tkzX
\tkzY
\end{tikzpicture} & \begin{tikzpicture}[scale=.5]
\tkzInit[xmin=0,xmax=5,ymin=0,ymax=5]
\tkzX
\tkzY
\end{tikzpicture} & \begin{tikzpicture}[scale=.5]
\tkzInit[xmin=0,xmax=5,ymin=0,ymax=5]
\tkzX
\tkzY
\end{tikzpicture} \\ \hline
\end{array}
\]
\end{document}Altermundus a écrit:Avec texgraph il est vrai que cela n'est pas très compliqué, en revanche asymptote me semble ici un outil disproportionné. Avec Tikz, même sans tikz-2d, il faut 3 mn pour le faire.
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 2 invités