User:Rama/pstricks1

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Diagrams-Ring.tex --- Example of a ring diagram %% %% Author         : Denis GIROU (CNRS/IDRIS - France)  %% Created the    : 1994 %% Last mod. by   : hv %% Last mod. the  : 2004-11-13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{article}

\usepackage{pstricks} \usepackage{pst-node} \usepackage{mathrsfs}

\newcommand{\simil}{\mathscr{S}}

%\newcommand{\PE}[1]{\pscirclebox[fillstyle=solid,fillcolor=white]{#1}} \newcommand{\PE}[1]{\pscirclebox[doubleline=true]{#1}}

\begin{document}

\begin{psmatrix}[rowsep=2cm,colsep=0cm] % Nodes &                  & [name=PE0] \PE{\begin{tabular}{c} \textsc{Ensembles}\\ \hline $\delta_{\mathrm{Dice}}$\\ $ \delta_{\mathrm{Jaccard}}$ \end{tabular} } \\[0cm] [name=PE4] \PE{\begin{tabular}{c} \textsc{Espaces} \\ \textsc{M\'etrique} \\ \hline {\small Distance} \\ {\small Euclidienne} \end{tabular}} &                  &        & & [name=PE1] \PE{\begin{tabular}{c} \textsc{Espaces}\\ \textsc{Similaris\'es} \\ \hline ? \end{tabular} } \\ & [name=PE3] \PE{\begin{tabular}{c} \textsc{Espaces}\\ \textsc{Vectoriels} \\ \textsc{Norm\'es}\\ \hline $\cos$ \end{tabular} } &       & [name=PE2] \PE{\begin{tabular}{c} \textsc{Mesures}\\ \textsc{de Prob-}\\ \textsc{abilit\'es}\\ \hline $\chi^2$ \end{tabular} } % Links \psset{arcangle=30,linewidth=0.6mm,arrows=->,arrowsize=2mm 3} %\ncline{-}{PE0}{PE1}\naput{\small Similarit\'es} \ncline{-}{PE0}{PE1}\lput*{:U}{\small Similarit\'es} %\ncline{-}{PE1}{PE2}\naput{\small $\max \simil = 1$} \ncline{-}{PE1}{PE2}\lput*{:D}{\small $\max \simil = 1$} %\ncline{-}{PE2}{PE3}\naput{\small \begin{tabular}{c} Espaces \\ de Banach \end{tabular}} \ncline{-}{PE2}{PE3}\lput*{:D}{\small \begin{tabular}{c} Espaces \\ de Banach \end{tabular}} %\ncline{-}{PE3}{PE4}\naput{\small \begin{tabular}{c} Produit scalaire \\ et Norme \end{tabular}} \ncline{-}{PE3}{PE4}\lput*{:D}{\small \begin{tabular}{c} Produit scalaire \\ et Norme \end{tabular}} %\ncline{-}{PE4}{PE0}\naput{\small Distances} \ncline{-}{PE4}{PE0}\lput*{:U}{\small Distances} \ncline{-}{PE4}{PE1}\lput*{:U}{\small Van Rijsbergen} \ncline{-}{PE0}{PE2}\aput*{:U}{\small \begin{tabular}{c} Mesures \\ de Prob \end{tabular}} \ncline{-}{PE0}{PE3}\bput*{:D}{\begin{tabular}{c} $L_1$, \\ Diff\'erences \\ sym\'etrique\end{tabular}} \ncline{-}{PE4}{PE2}\lput*{:U}{\small D\'evel. 1er ordre} \ncline{-}{PE3}{PE1}\lput*{:U}{\small ?} \end{psmatrix}

\end{document}