Import work from year 2013-2014

This commit is contained in:
Benjamin Bertrand
2017-06-16 09:46:40 +03:00
commit 32262a4ecf
1788 changed files with 113187 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

View File

@@ -0,0 +1,29 @@
\begin{pspicture}*(-1,-1)(2,5)
\begin{psmatrix}[mnode=circle,colsep=2]
& A \\
B & & E \\
C & D & F
\end{psmatrix}
\psset{arrows=->,arrowsize=6pt,
labelsep=1mm,shortput=nab}
%\nccircle{1,2}{0.5cm}^{6}
\ncline{1,2}{2,1}^{$\times 2$}
\ncline{1,2}{2,3}^{$\times (-1,5)$}
\ncline{2,1}{3,1}_{$\times (-3)$}
\ncline{3,1}{3,2}_{$\times (-2)$}
\ncline{3,2}{3,3}_{$\times 0,5$}
\ncline{2,1}{3,3}^{$\times (-2,2)$}
\ncline{2,3}{3,3}^{$\times (-1,2)$}
\ncline{2,1}{2,3}^{$\times (-3)$}
%\ncline{1,2}{2,2}^{8}
%\ncline{1,2}{3,3}^{9}
%\ncline{2,1}{2,2}^{5}
%\ncline{2,2}{3,2}^{3}
%\ncline{3,3}{2,2}^{10}
%\ncarc[arcangle=10]{3,3}{3,2}^{7}
%\ncarc[arcangle=10]{3,2}{3,3}^{4}
\end{pspicture}

26
4e/DM/DM_131001/fig/pstricks.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/sh
# on enlève lextension du 1er argument
FILE=${1%.*}
TMPFILE=pstemp
# création dun fichier temporaire psttemp.tex
cat > $TMPFILE.tex <<EOF
\documentclass{article}
\usepackage{pstricks}
\usepackage{pstricks-add}
\usepackage{pst-eps}
\usepackage{pst-eucl}
\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.*