⚡ Compilation LaTeX (Bac)

Fichier tex utilisé : 📄 graphiques/23matj2me1-exo3.tex

↩ Retour 💾 Télécharger le fichier original 📦 Sur la Forge

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

\documentclass[margin=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}

\begin{document}

\begin{tikzpicture}[x={(-20:5cm)},y={(65:3.33cm)},z={(90:1cm)},line join=bevel]
	\tikzstyle{labelddd} = [inner sep=1.5pt,font=\tiny]
	\coordinate (A) at (0,0,0) ; \coordinate (B) at (1,0,0) ;
	\coordinate (C) at (1,1,0) ; \coordinate (D) at (0,1,0) ;
	\coordinate (V) at ($(D)!0.29!(C)$) ;% \filldraw (V) circle[radius=2pt] ;
	\coordinate (W) at (0.5,1,0) ;% \filldraw (W) circle[radius=2pt] ;
	\coordinate (E) at (0.5,0,-1.5) ; \coordinate (F) at (0.5,0,2.5) ;
	\coordinate (K) at (0.5,{5/7},-3.5) ;
	\coordinate (G) at (0.5,1,2.5) ; \coordinate (H) at (0.5,1,-3.5) ;
	\draw[semithick] (W)--(G)--(F)--(E) (H)--(K) ;
	\draw[semithick] (V)--(D)--(A)--(B)--(C)--(W) ;
	\coordinate (HH) at (0.5,0.29,0) ;% \filldraw (HH) circle[radius=2pt] ;
	\coordinate (HHH) at (0.5,0.57,0) ;% \filldraw (HHH) circle[radius=2pt] ;
	\draw[semithick] (HH) node[labelddd,left] {$H$} --++(0,0,1) node[labelddd,left] {$H_1$} --++(0.28,0,0) node[right,labelddd] {$A$} --++(0,0,-1) node[right,labelddd] {$H_2$}--cycle ;
	\draw[semithick] (0.5,-0.5,0) -- (HH) (HHH)--(0.5,1.85,0) ;
	\draw[semithick,densely dashed] (V)--(W) (W)--(H) (HH)--(HHH) ;
	\draw (0.5,-0.2,0) node[inner sep=1.5pt,font=\footnotesize,left=3pt] {$\Delta$} ;
	\draw (0.025,0,0) node[inner sep=1.5pt,font=\scriptsize,above right] {$\mathcal{P}_2$} ;
	\draw (0.5,1,1.5) node[inner sep=0.5pt,font=\scriptsize,left] {$\mathcal{P}_1$} ;
\end{tikzpicture}

\end{document}