Import Work from 2012/2013
This commit is contained in:
BIN
1S/DS/DS_130506/fig/arbre.pdf
Normal file
BIN
1S/DS/DS_130506/fig/arbre.pdf
Normal file
Binary file not shown.
11
1S/DS/DS_130506/fig/arbre.tex
Normal file
11
1S/DS/DS_130506/fig/arbre.tex
Normal file
@@ -0,0 +1,11 @@
|
||||
\psset{nodesep=3mm,levelsep=3cm,treesep=1.5cm}
|
||||
\pstree[treemode=R]{\TC}{%
|
||||
\pstree{\TR{...} \naput{...}}{%
|
||||
\TR{...} \naput{...}
|
||||
\TR{...} \nbput{...}
|
||||
}
|
||||
\pstree{\TR{...} \nbput{...}}{%
|
||||
\TR{...} \naput{...}
|
||||
\TR{...} \nbput{...}
|
||||
}
|
||||
}
|
||||
BIN
1S/DS/DS_130506/fig/arbre_corr.pdf
Normal file
BIN
1S/DS/DS_130506/fig/arbre_corr.pdf
Normal file
Binary file not shown.
11
1S/DS/DS_130506/fig/arbre_corr.tex
Normal file
11
1S/DS/DS_130506/fig/arbre_corr.tex
Normal file
@@ -0,0 +1,11 @@
|
||||
\psset{nodesep=3mm,levelsep=3cm,treesep=1.5cm}
|
||||
\pstree[treemode=R]{\TC}{%
|
||||
\pstree{\TR{2} \naput{$\frac{2}{3}$}}{%
|
||||
\Tcircle{1} \naput{$\frac{1}{2}$}
|
||||
\TR{5} \nbput{$\frac{1}{2}$}
|
||||
}
|
||||
\pstree{\TR{6} \nbput{$\frac{1}{3}$}}{%
|
||||
\Tcircle{1} \naput{$\frac{1}{2}$}
|
||||
\Tcircle{5} \naput{$\frac{1}{2}$}
|
||||
}
|
||||
}
|
||||
BIN
1S/DS/DS_130506/fig/arbre_corr2.pdf
Normal file
BIN
1S/DS/DS_130506/fig/arbre_corr2.pdf
Normal file
Binary file not shown.
11
1S/DS/DS_130506/fig/arbre_corr2.tex
Normal file
11
1S/DS/DS_130506/fig/arbre_corr2.tex
Normal file
@@ -0,0 +1,11 @@
|
||||
\psset{nodesep=3mm,levelsep=3cm,treesep=1.5cm}
|
||||
\pstree[treemode=R]{\TC}{%
|
||||
\pstree{\TR{1} \naput{$\frac{1}{2}$}}{%
|
||||
\Tcircle{0} \naput{$\frac{1}{3}$}
|
||||
\TR{4} \nbput{$\frac{2}{3}$}
|
||||
}
|
||||
\pstree{\TR{5} \nbput{$\frac{1}{2}$}}{%
|
||||
\Tcircle{0} \naput{$\frac{1}{3}$}
|
||||
\Tcircle{4} \nbput{$\frac{2}{3}$}
|
||||
}
|
||||
}
|
||||
BIN
1S/DS/DS_130506/fig/parties.pdf
Normal file
BIN
1S/DS/DS_130506/fig/parties.pdf
Normal file
Binary file not shown.
23
1S/DS/DS_130506/fig/parties.tex
Normal file
23
1S/DS/DS_130506/fig/parties.tex
Normal file
@@ -0,0 +1,23 @@
|
||||
\psset{nodesep=3mm,levelsep=3cm,treesep=1.5cm}
|
||||
\pstree[treemode=R]{\TC}{%
|
||||
\pstree{\TR{G} \naput{$\frac{2}{3}$}}{%
|
||||
\pstree{\TR{G} \naput{$\frac{2}{3}$}}{%
|
||||
\Tcircle{G} \naput{$\frac{2}{3}$}
|
||||
\Tcircle{P} \nbput{$\frac{1}{3}$}
|
||||
}
|
||||
\pstree{\TR{P} \naput{$\frac{1}{3}$}}{%
|
||||
\Tcircle{G} \naput{$\frac{2}{3}$}
|
||||
\TR{P} \nbput{$\frac{1}{3}$}
|
||||
}
|
||||
}
|
||||
\pstree{\TR{P} \nbput{$\frac{1}{3}$}}{%
|
||||
\pstree{\TR{G} \naput{$\frac{2}{3}$}}{%
|
||||
\Tcircle{G} \naput{$\frac{2}{3}$}
|
||||
\TR{P} \nbput{$\frac{1}{3}$}
|
||||
}
|
||||
\pstree{\TR{P} \naput{$\frac{1}{3}$}}{%
|
||||
\TR{G} \naput{$\frac{2}{3}$}
|
||||
\TR{P} \nbput{$\frac{1}{3}$}
|
||||
}
|
||||
}
|
||||
}
|
||||
26
1S/DS/DS_130506/fig/pstricks.sh
Normal file
26
1S/DS/DS_130506/fig/pstricks.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# on enlève l’extension du 1er argument
|
||||
FILE=${1%.*}
|
||||
TMPFILE=pstemp
|
||||
# création d’un fichier temporaire psttemp.tex
|
||||
cat > $TMPFILE.tex <<EOF
|
||||
\documentclass{article}
|
||||
\usepackage{pstricks}
|
||||
\usepackage{pstricks-add}
|
||||
\usepackage{pst-eps}
|
||||
\usepackage{pst-tree}
|
||||
\thispagestyle{empty}
|
||||
\begin{document}
|
||||
\begin{TeXtoEPS}
|
||||
\input{$FILE}
|
||||
\end{TeXtoEPS}
|
||||
\end{document}
|
||||
EOF
|
||||
# Création du fichier dvi
|
||||
latex $TMPFILE
|
||||
# Création du fichier eps
|
||||
dvips -E $TMPFILE.dvi -o $TMPFILE.eps
|
||||
# Création du fichier pdf
|
||||
epstopdf $TMPFILE.eps --debug --outfile=$FILE.pdf
|
||||
# effacement des fichiers temporaires
|
||||
rm -f $TMPFILE.*
|
||||
Reference in New Issue
Block a user