Import work from year 2013-2014
This commit is contained in:
26
4e/Geometrie/thm_milieux/Conn/fig/pstricks.sh
Executable file
26
4e/Geometrie/thm_milieux/Conn/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-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.*
|
||||
BIN
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux.pdf
Normal file
BIN
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux.pdf
Normal file
Binary file not shown.
21
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux.tex
Normal file
21
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux.tex
Normal file
@@ -0,0 +1,21 @@
|
||||
\begin{pspicture}*(-2.5,-1.5)(3.5,2.5)
|
||||
|
||||
\pstGeonode[PosAngle=180](-2,-1){A}
|
||||
\pstGeonode(2,2){B}
|
||||
\pstGeonode(3,-1){E}
|
||||
|
||||
\pspolygon(A)(B)(E)
|
||||
|
||||
\pstMiddleAB{A}{B}{M}
|
||||
\pstSegmentMark{A}{M}
|
||||
\pstSegmentMark{M}{B}
|
||||
\pstMiddleAB[PosAngle=0]{E}{B}{J}
|
||||
\pstSegmentMark[SegmentSymbol=pstslash]{E}{J}
|
||||
\pstSegmentMark[SegmentSymbol=pstslash]{J}{B}
|
||||
|
||||
\pstLineAB{M}{J}
|
||||
|
||||
\end{pspicture}
|
||||
|
||||
|
||||
|
||||
BIN
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux2.pdf
Normal file
BIN
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux2.pdf
Normal file
Binary file not shown.
21
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux2.tex
Normal file
21
4e/Geometrie/thm_milieux/Conn/fig/thmMilieux2.tex
Normal file
@@ -0,0 +1,21 @@
|
||||
\begin{pspicture}*(-2.5,-2.5)(3.5,2.5)
|
||||
|
||||
\pstGeonode[PosAngle=180](-2,-1){D}
|
||||
\pstGeonode(0,2){B}
|
||||
\pstGeonode(3,-2){C}
|
||||
|
||||
\pspolygon(D)(B)(C)
|
||||
|
||||
\pstMiddleAB{D}{B}{I}
|
||||
\pstSegmentMark{D}{I}
|
||||
\pstSegmentMark{I}{B}
|
||||
\pstMiddleAB[PosAngle=0]{C}{B}{N}
|
||||
\pstSegmentMark[SegmentSymbol=pstslash]{C}{N}
|
||||
\pstSegmentMark[SegmentSymbol=pstslash]{N}{B}
|
||||
|
||||
\pstLineAB{I}{N}
|
||||
|
||||
\end{pspicture}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user