From 23c095d2f6f8a4150951e5ee70dbeb55e705f9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 24 May 2011 01:10:44 +0200 Subject: [PATCH] =?UTF-8?q?70%=20du=20premier=20diagramme=20de=20John=20(?= =?UTF-8?q?=C3=A7a=20en=20fait=20un=20paquet=20de=20relations=E2=80=A6).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- presentation/presentation.tex | 48 +++++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/presentation/presentation.tex b/presentation/presentation.tex index e66ee58..c2e631c 100644 --- a/presentation/presentation.tex +++ b/presentation/presentation.tex @@ -137,16 +137,54 @@ \end{itemize} \end{frame} - \begin{frame} \begin{figure} - \begin{minipage}{\textwidth} -\centering - \includegraphics[width=0.75\textwidth]{img/jdm.jpeg} - \end{minipage} + \begin{center} + \includegraphics[width=0.75\textwidth]{img/jdm.jpeg} + \end{center} \end{figure} \end{frame} +\begin{frame} + \begin{figure} + \pgfdeclarelayer{background} + \pgfdeclarelayer{foreground} + \pgfsetlayers{background,main,foreground} + \begin{tikzpicture}[ + txt/.style = {fill=white,font=\footnotesize,scale=0.75, inner sep=1pt}, + earlymidway/.style = {pos=0.4}, + latemidway/.style = {pos=0.6} + ] + \node (n0) {musique}; + \node[above left = 2cm of n0] (n1) {trompette}; + \node[above right = 2cm of n0] (n2) {instrument}; + \node[below left = 2cm of n0] (n3) {champignon}; + \node[below right = 2cm of n0] (n4) {instrument de musique}; + + \foreach \direction/\nfrom/\nto/\angle/\pos/\anchor/\text in { + ->/n0/n2/15/near end/east/idée associée 450, + <-/n0/n2/0/midway/center/idée associée 250, + <-/n0/n2/-15/near start/west/hyperonyme 50, + % + ->/n0/n4/-20/midway/center/idée associée 25, + % + ->/n2/n4/-15/near end/east/hyponyme 50, + ->/n2/n4/0/latemidway/east/locution 70, + ->/n2/n4/15/latemidway/west/idée associée 25, + <-/n2/n4/30/near end/west/idée associée 25, + % + ->/n1/n3/-15/very near end/east/hyperonyme 70, + <-/n1/n3/0/latemidway/center/idée associée 50, + <-/n1/n3/15/very near end/west/hyperonyme 50 + }{ + \draw[\direction] (\nfrom) to[bend left=\angle] (\nto); + \begin{pgfonlayer}{foreground} + \path[\direction] (\nfrom) to[bend left=\angle] node[\pos, anchor=\anchor, txt] {\text} (\nto); + \end{pgfonlayer} + } + \end{tikzpicture} + \end{figure} +\end{frame} \begin{frame} \begin{figure}