📝 Code source du fichier LaTeX

📄 22matj1ja1-exo3.tex

↩ Retour 💾 Fichier tex 📦 Sur la Forge

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

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

\begin{document}

\begin{tikzpicture}[x={(-15:0.75cm)},y={(10:0.9cm)},z={(90:1cm)},line join=bevel]
	\coordinate (A) at (0,0,0) ; \draw (A) node[below left] {$A$} ;
	\coordinate (B) at (3,0,0) ; \draw (B) node[below] {$B$} ;
	\coordinate (C) at (3,3,0) ; \draw (C) node[right] {$C$} ;
	\coordinate (D) at (0,3,0) ; \draw (D) node[below] {$D$} ;
	\coordinate (E) at (0,0,3) ; \draw (E) node[left] {$E$} ;
	\coordinate (F) at (3,0,3) ; \draw (F) node[above] {$F$} ;
	\coordinate (G) at (3,3,3) ; \draw (G) node[right] {$G$} ;
	\coordinate (H) at (0,3,3) ; \draw (H) node[above] {$H$} ;
	\draw[semithick,dashed] (A)--(D)--(H) (D)--(C) ;
	\draw[semithick] (A)--(B)--(F)--(E)--cycle (B)--(C)--(G)--(F) (G)--(H)--(E) ;
	\draw[thick,->,>=latex] (A)--++(1,0,0) node[midway,below] {$\vv{\imath}$} ;
	\draw[thick,->,>=latex] (A)--++(0,1,0) node[midway,above] {$\vv{\jmath}$} ;
	\draw[thick,->,>=latex] (A)--++(0,0,1) node[midway,left] {$\vv{k}$} ;
\end{tikzpicture}

\end{document}