📝 Code source du fichier LaTeX

📄 21matj2g11-exo3.tex

↩ Retour 💾 Fichier tex 📦 Sur la Forge

% !TeX TXS-program:compile = txs:///pdflatex

\documentclass[margin=5mm]{standalone}
\usepackage{tkz-euclide}

\begin{document}

\begin{tikzpicture}[scale=1,font=\small]
	\tkzDefPoint(0,0){A}\tkzDefPoint(4,0){B}\tkzDefPoint(0,4){E}\tkzDefPoint(4,4){F}
	\begin{scope}[shift=(A)]\tkzDefPoint(2,1.6){D}\end{scope}
	\begin{scope}[shift=(B)]\tkzDefPoint(2,1.6){C}\end{scope}
	\begin{scope}[shift=(E)]\tkzDefPoint(2,1.6){H}\end{scope}
	\begin{scope}[shift=(F)]\tkzDefPoint(2,1.6){G}\end{scope}
	\begin{scope}[shift=(A)]\tkzDefPoint(0,2.667){K}\end{scope}
	\begin{scope}[shift=(C)]\tkzDefPoint(0,2.667){J}\end{scope}
	\begin{scope}[shift=(C)]\tkzDefPoint(0,1.333){P}\end{scope}
	\begin{scope}[shift=(D)]\tkzDefPoint(0,1.333){L}\end{scope}
	\tkzDefMidPoint(A,H) \tkzGetPoint{I}
	\tkzInterLL(K,L)(C,G) \tkzGetPoint{W}
	\tkzDefLine[parallel=through W](K,L) \tkzGetPoint{W'}
	\tkzDrawLine[line width=1pt](W,W')
	\tkzDefLine[parallel=through K](L,K) \tkzGetPoint{K'}
	\tkzDrawLine[line width=1pt](K,K')
	\tkzDrawSegment[line width=1pt,dashed](K,W)
	\tkzDrawPolygon[line width=1pt,brown,fill=brown!25](K,L,J,F)
	\tkzDrawPolygon[line width=1pt](A,B,F,E)
	\tkzDrawPolygon[line width=1pt](B,C,G,F)
	\tkzDrawPolygon[line width=1pt](E,F,G,H)
	\tkzDrawSegment[line width=1pt,dashed](A,D)
	\tkzDrawSegment[line width=1pt,dashed](D,C)
	\tkzDrawSegment[line width=1pt,dashed](H,D)
	\tkzMarkSegments[mark=||,size=4pt](C,P P,J J,G)
	\tkzDrawPoints[fill=blue,size=3.5](A,B,E,F,C,D,G,H,I,J,K,L,P)
	\tkzLabelPoints[left](D)
	\tkzLabelPoints[above left](K)
	\tkzLabelPoints[below right](L)
	\tkzLabelPoints[right](C,P,J)
	\tkzLabelPoints[above](G,H,E,F)
	\tkzLabelPoints[below](I,A,B)
	\draw(-1.5,2.25) node{$(d)$} ;
\end{tikzpicture}

\end{document}