Import Work from 2012/2013

This commit is contained in:
Benjamin Bertrand
2017-06-16 09:45:50 +03:00
commit 80f8d6b71f
350 changed files with 12673 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,5 @@
\begin{pspicture*}(-.4,-.5)(2.5,1)
\psset{xunit=.1,yunit=.5}
%sinon :
\bam{1}{1}{9}{11}{15}{22}{22}
\end{pspicture*}

Binary file not shown.

View File

@@ -0,0 +1,5 @@
\begin{pspicture*}(-.4,-.5)(2.5,1)
\psset{xunit=.1,yunit=.5}
%sinon :
\bam{1}{1}{7}{10}{15}{25}{25}
\end{pspicture*}

Binary file not shown.

View File

@@ -0,0 +1,5 @@
\begin{pspicture*}(-.4,-.5)(2.5,1)
\psset{xunit=.1,yunit=.5}
%sinon :
\bam{1}{1}{7}{10}{15}{25}{25}
\end{pspicture*}

View File

@@ -0,0 +1,43 @@
\NeedsTeXFormat{LaTeX2e}
% Macro pour faire des boites à moustaches
\RequirePackage{multido}
\RequirePackage{calc}
\RequirePackage{ifthen}
%\bam{min}{d1}{q1}{med}{q2}{d9}{max}
\newlength{\haut}
\newlength{\bas}
\newcounter{bam}\setcounter{bam}{-1}
\newcommand{\bam}[7]{
\ifthenelse{\thebam=-1}{
% C'est la première boite à moustache, il faut mettre en place les premiers éléments
\psset{fillstyle=solid}
\psline{->}(0,0)(28,0)
{\scriptsize
\multido{\n=0+1}{26}{%
\psline(\n,.1)(\n,-.1)}
\multido{\n=0+10}{20}{%
\psline(\n,.2)(\n,-.2)
\uput[d](\n,0){\n}}}
}{}
% Dessin de la boite à moustaches
% Décalage vers le haut de la boite à moustaches
\addtocounter{bam}{2}
% On trace la boite
\setlength{\haut}{\thebam\psyunit+.2\psyunit}
\setlength{\bas}{\thebam\psyunit-.2\psyunit}
% On trace du min au max avec des pointillés
\psline[linestyle=dotted](#1,\thebam\psyunit)(#7,\thebam\psyunit)
% On trace de d1 à d9 les moustaches
\psline{|-|}(#2,\thebam\psyunit)(#6,\thebam\psyunit)
% On trace la boite
\psframe(#3,\bas)(#5,\haut)
\uput[u](#3,\haut){\tiny $Q_1$}
\uput[u](#5,\haut){\tiny $Q_3$}
% Puis la médiane
\psline(#4,\bas)(#4,\haut)
\uput[u](#4,\haut){\tiny $Me$}
}

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{boiteAMoustaches}
\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.*

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="688.09003"
height="589.35999"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="Nouveau document 1">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="303.38782"
inkscape:cy="420.85776"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1364"
inkscape:window-height="748"
inkscape:window-x="0"
inkscape:window-y="274"
inkscape:window-maximized="0" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-462.99706)">
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="655.71429"
y="648.07648"
id="text3769"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3771"
x="655.71429"
y="648.07648" /></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="317.14285"
y="549.50507"
id="text3803"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3805"
x="317.14285"
y="549.50507" /></text>
<g
id="g3846"
transform="matrix(1.1629694,0,0,1.1629694,-77.772626,245.27503)">
<path
inkscape:connector-curvature="0"
id="path2985"
d="m 120.92817,635.21944 501.03566,0 -325.26912,-385.87827 z"
style="fill:none;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:open="true"
sodipodi:end="3.1415927"
sodipodi:start="0"
transform="matrix(1.3719325,0,0,-1.3719325,93.139685,1484.3947)"
d="m 387.14287,619.50507 c 0,101.77819 -82.50753,184.28572 -184.28572,184.28572 -101.7782,0 -184.285724,-82.50753 -184.285724,-184.28572 0,-1e-5 0,-1e-5 0,-1e-5"
sodipodi:ry="184.28572"
sodipodi:rx="184.28572"
sodipodi:cy="619.50507"
sodipodi:cx="202.85715"
id="path3757"
style="fill:none;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
sodipodi:type="arc" />
<path
inkscape:connector-curvature="0"
id="path3759"
d="M 624.28571,635.21933 210,440.93361"
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
inkscape:connector-curvature="0"
id="path3761"
d="M 118.57143,633.79075 412.85714,385.21933"
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
inkscape:connector-curvature="0"
id="path3763"
d="m 297.14286,249.50504 1.42857,388.57143"
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:3, 6;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text3765"
y="233.79076"
x="314.28571"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="233.79076"
x="314.28571"
id="tspan3767"
sodipodi:role="line">C</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-3"
y="661.08789"
x="625.73999"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="661.08789"
x="625.73999"
id="tspan3767-0"
sodipodi:role="line">B</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-2"
y="685.3736"
x="74.311432"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="685.3736"
x="74.311432"
id="tspan3767-9"
sodipodi:role="line">A</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-29"
y="435.3736"
x="160.02571"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="435.3736"
x="160.02571"
id="tspan3767-2"
sodipodi:role="line">M</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-0"
y="368.23074"
x="412.88284"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="368.23074"
x="412.88284"
id="tspan3767-1"
sodipodi:role="line">N</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-03"
y="556.80219"
x="308.59714"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="556.80219"
x="308.59714"
id="tspan3767-3"
sodipodi:role="line">H</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.7 KiB