Import Work from 2012/2013
This commit is contained in:
BIN
1S/DS/DS_130402/fig/exo2_1.png
Normal file
BIN
1S/DS/DS_130402/fig/exo2_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
BIN
1S/DS/DS_130402/fig/exo2_2.png
Normal file
BIN
1S/DS/DS_130402/fig/exo2_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 281 KiB |
BIN
1S/DS/DS_130402/fig/exo2_3.png
Normal file
BIN
1S/DS/DS_130402/fig/exo2_3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 204 KiB |
BIN
1S/DS/DS_130402/fig/exo3.pdf
Normal file
BIN
1S/DS/DS_130402/fig/exo3.pdf
Normal file
Binary file not shown.
24
1S/DS/DS_130402/fig/exo3.tex
Normal file
24
1S/DS/DS_130402/fig/exo3.tex
Normal file
@@ -0,0 +1,24 @@
|
||||
\begin{pspicture}*(-2.5,-2.5)(5,0.5)
|
||||
\psset{algebraic=true}
|
||||
%\psgrid[subgriddiv=2, gridcolor = lightgray](-6.5,-9.5)(9.5,3.5)
|
||||
|
||||
\psdot(0,0)
|
||||
\uput[u](0,0){$A$}
|
||||
|
||||
\psdot(-2,-2)
|
||||
\uput[l](-2,-2){$B$}
|
||||
|
||||
\psdot(4,-2)
|
||||
\uput[r](4,-2){$C$}
|
||||
|
||||
\psdot(-1,-1)
|
||||
\uput[ul](-1,-1){$M$}
|
||||
|
||||
\psdot(3,-1.5)
|
||||
\uput[ur](3,-1.5){$P$}
|
||||
|
||||
\pspolygon(0,0)(-2,-2)(4,-2)
|
||||
\psline(-1,-1)(3,-1.5)
|
||||
|
||||
|
||||
\end{pspicture}
|
||||
26
1S/DS/DS_130402/fig/pstricks.sh
Executable file
26
1S/DS/DS_130402/fig/pstricks.sh
Executable 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-plot}
|
||||
\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.*
|
||||
BIN
1S/DS/DS_130402/fig/trapeze.pdf
Normal file
BIN
1S/DS/DS_130402/fig/trapeze.pdf
Normal file
Binary file not shown.
55
1S/DS/DS_130402/fig/trapeze.tex
Normal file
55
1S/DS/DS_130402/fig/trapeze.tex
Normal file
@@ -0,0 +1,55 @@
|
||||
\begin{pspicture}*(-6.5,-9.5)(9.5,3.5)
|
||||
\psset{algebraic=true}
|
||||
%\psgrid[subgriddiv=2, gridcolor = lightgray](-6.5,-9.5)(9.5,3.5)
|
||||
|
||||
|
||||
|
||||
\psdot(0,0)
|
||||
\uput[u](0,0){$O$}
|
||||
|
||||
\uput[u](-2,3){$A$}
|
||||
\uput[u](2,3){$B$}
|
||||
\uput[r](9,-3){$C$}
|
||||
\uput[d](-6,-3){$D$}
|
||||
\uput[d](-2,-3){$E$}
|
||||
\uput[d](2,-3){$F$}
|
||||
\uput[r](9,-9){$G$}
|
||||
\uput[u](5.5,-3){$I$}
|
||||
%\uput[d](0,-3){$J$}
|
||||
\uput[r](7,-5.5){$H$}
|
||||
|
||||
% AE
|
||||
\psline(-2,3)(-2,-3)
|
||||
% BF
|
||||
\psline(2,3)(2,-3)
|
||||
% AF
|
||||
\psline(-2,3)(2,-3)
|
||||
% BE
|
||||
\psline(2,3)(-2,-3)
|
||||
% % OJ
|
||||
% \psline(0,0)(0,-3)
|
||||
% FG
|
||||
\psline(2,-3)(9,-9)
|
||||
% BG
|
||||
\psline(2,3)(9,-9)
|
||||
% GC
|
||||
\psline(9,-3)(9,-9)
|
||||
% FH
|
||||
\psline(2,-3)(6.95,-5.5)
|
||||
% HC
|
||||
\psline(6.95,-5.5)(9,-3)
|
||||
|
||||
% L'angle IFH
|
||||
\psarc{<->}(2,-3){2}{-26}{0}
|
||||
\uput[r](4,-3.5){$30^o$}
|
||||
|
||||
\pspolygon(-2,-3)(-2.2,-3)(-2.2,-2.8)(-2,-2.8)
|
||||
\pspolygon(2,-3)(2.2,-3)(2.2,-2.8)(2,-2.8)
|
||||
\pspolygon(-2,3)(2,3)(9,-3)(-6,-3)
|
||||
|
||||
\uput[u](0,3){4cm}
|
||||
\uput[u](7,-3){3,5cm}
|
||||
\uput[u](-4,-3){4cm}
|
||||
\uput[r](2,0){6cm}
|
||||
|
||||
\end{pspicture}
|
||||
Reference in New Issue
Block a user