Un parallèlipipède avec Latex
📅 February 10, 2024 | 👁️ Views: 44

\documentclass{standalone}
\standaloneconfig{border=2mm 2mm 2mm 2mm}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3]
% Define the vertices
\coordinate (A) at (0,0,1);
\coordinate (B) at (3,0,1);
\coordinate (C) at (3,0,0);
\coordinate (D) at (0,0,0);
\coordinate (E) at (0,1,1);
\coordinate (F) at (3,1,1);
\coordinate (G) at (3,1,0);
\coordinate (H) at (0,1,0);
% Draw the edges of the cube
\draw (A) -- (B) -- (C); \draw[dashed] (C) -- (D) -- (A);
\draw (E) -- (F) -- (G) -- (H) -- cycle; % top
\draw (A) -- (E); \draw (B) -- (F); \draw (C) -- (G); \draw[dashed] (D) -- (H); % vertical
% Label the vertices
\foreach \vertex/\position in {A/below left,B/below right,C/above right,D/above left,E/above left,
F/below right,G/above right,H/above left}
{
\fill (\vertex) node[\position] {$\vertex$};
}
\end{tikzpicture}
\end{document}
Related Courses, Exams, and Exercises
- colorer un angle (arc) Course
- Coordonnées relatives avec angles Course
- Dashed polygone with custom pattern Course
- Dashed polygone with dashed pattern Course
- Deux parallèles et une sécante Course
- draw curved lines with tikz Course
- Figure : cercle , diametre et intersections Course
- figure, circle, rectangle, axes Course
- Médiatrice et hauteur d'un triangle Course
- Squares Course
- Syntax des abreviations de coordonées dans Latex Course
- المتوسط ، الإرتفاع والمنصف Course
Course PDF:
Recent Articles

Quran Search: A Feature rich and modern design
13 Feb 2025
Categories