From 967f4abac97ac120a281e3b530791d7bb310e590 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 19 May 2022 15:47:53 +0200 Subject: Initial commit --- tetrahedron.tex | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tetrahedron.tex (limited to 'tetrahedron.tex') diff --git a/tetrahedron.tex b/tetrahedron.tex new file mode 100644 index 0000000..ada6ce0 --- /dev/null +++ b/tetrahedron.tex @@ -0,0 +1,23 @@ +\input{settings.ttt} + +\begin{document} +\begin{tikzpicture}[scale=2, line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm] + +\input{coord-tet.tex} + +% Background varying in size depending on the main figure +\fill[color=white] (-2,-2) rectangle (2,2); + +\filldraw[very thick, draw=my-color-draw-main, + fill=my-color-fill-main, fill opacity = 0.3] + (P0) -- (P1) -- (P2) -- cycle; + +\filldraw[very thick, draw=my-color-draw-main, + fill=my-color-fill-main, fill opacity = 0.7] + (P0) -- (P3) -- (P1) -- cycle; + +\draw[very thick, draw=my-color-draw-main, dashed] (P2) -- (P3); + +\end{tikzpicture} +\end{document} + -- cgit v1.3