Import Work from 2012/2013
This commit is contained in:
BIN
2nd/DM/DM_130327/fig/dessin_exo3.pdf
Normal file
BIN
2nd/DM/DM_130327/fig/dessin_exo3.pdf
Normal file
Binary file not shown.
35
2nd/DM/DM_130327/fig/dessin_exo3.tex
Normal file
35
2nd/DM/DM_130327/fig/dessin_exo3.tex
Normal file
@@ -0,0 +1,35 @@
|
||||
\begin{pspicture}*(-10,-5)(10,5)
|
||||
\psgrid[griddots=10, gridcolor=gray, subgriddiv =0](-10,-5)(10,5)
|
||||
|
||||
\pspolygon[fillstyle = solid,fillcolor=lightgray, linestyle = dotted](-5,1)(-9,4)(5,-1)(9,-4)
|
||||
\pspolygon(-9,4)(1,2)(9,-4)(-1,-2)
|
||||
|
||||
\psdot(-5,1)
|
||||
\uput[d](-5,1){$A$}
|
||||
\psdot(1,2)
|
||||
\uput[u](1,2){$B$}
|
||||
\psdot(-1,-2)
|
||||
\uput[d](-1,-2){$C$}
|
||||
\psdot(5,-1)
|
||||
\uput[u](5,-1){$D$}
|
||||
|
||||
\psline[arrowsize=4pt 3]{->}(-5,1)(1,2)
|
||||
\uput[u](-2,1.5){$\vec{AB}$}
|
||||
\psline[arrowsize=4pt 3]{->}(-5,1)(-1,-2)
|
||||
\uput[dl](-3,-0.5){$\vec{AC}$}
|
||||
\psline[arrowsize=4pt 3]{->}(-5,1)(5,-1)
|
||||
\uput[u](0,0){$\vec{AD}$}
|
||||
|
||||
|
||||
\psdot(-9,4)
|
||||
\uput[d](-9,4){$I$}
|
||||
\psdot(9,-4)
|
||||
\uput[u](9,-4){$J$}
|
||||
|
||||
|
||||
\psline(-1,-2)(-9,4)
|
||||
\psline(,2)(9,-4)
|
||||
|
||||
|
||||
|
||||
\end{pspicture}
|
||||
BIN
2nd/DM/DM_130327/fig/forces.pdf
Normal file
BIN
2nd/DM/DM_130327/fig/forces.pdf
Normal file
Binary file not shown.
15
2nd/DM/DM_130327/fig/forces.tex
Normal file
15
2nd/DM/DM_130327/fig/forces.tex
Normal file
@@ -0,0 +1,15 @@
|
||||
\begin{pspicture}*(-4.5,-4.5)(4.5,4.5)
|
||||
\psgrid[griddots=10, gridcolor=gray, subgriddiv =0](-5,-5)(5,5)
|
||||
|
||||
\psdot(0,0)
|
||||
\uput[u](0,0){$O$}
|
||||
|
||||
\psline{->}(0,0)(0,-3)
|
||||
\uput[l](0,-1.5){$\vec{F_3}$}
|
||||
\psline{->}(0,0)(2,1)
|
||||
\uput[u](1,0.5){$\vec{F_1}$}
|
||||
\psline{->}(0,0)(-2,2)
|
||||
\uput[u](-1,1){$\vec{F_2}$}
|
||||
|
||||
|
||||
\end{pspicture}
|
||||
BIN
2nd/DM/DM_130327/fig/forces_corr.pdf
Normal file
BIN
2nd/DM/DM_130327/fig/forces_corr.pdf
Normal file
Binary file not shown.
22
2nd/DM/DM_130327/fig/forces_corr.tex
Normal file
22
2nd/DM/DM_130327/fig/forces_corr.tex
Normal file
@@ -0,0 +1,22 @@
|
||||
\begin{pspicture}*(-4.5,-4.5)(4.5,4.5)
|
||||
\psgrid[griddots=10, gridcolor=gray, subgriddiv =0](-5,-5)(5,5)
|
||||
|
||||
\psdot(0,0)
|
||||
\uput[dr](0,0){$O$}
|
||||
|
||||
\psline{->}(0,0)(0,-3)
|
||||
\uput[l](0,-1.5){$\vec{F_3}$}
|
||||
\psline{->}(0,0)(2,1)
|
||||
\uput[u](1,0.5){$\vec{F_1}$}
|
||||
\psline{->}(0,0)(-2,2)
|
||||
\uput[u](-1,1){$\vec{F_2}$}
|
||||
|
||||
% construction de \vec{u}
|
||||
\psline[linestyle=dashed]{->}(2,1)(0,3)
|
||||
\uput[u](1,2){$\vec{F_2}$}
|
||||
|
||||
\psline{->}(0,0)(0,3)
|
||||
\uput[l](0,2){$\vec{u}$}
|
||||
|
||||
|
||||
\end{pspicture}
|
||||
25
2nd/DM/DM_130327/fig/pstricks.sh
Executable file
25
2nd/DM/DM_130327/fig/pstricks.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/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}
|
||||
\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