aboutsummaryrefslogtreecommitdiff
path: root/tetrahedron.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tetrahedron.tex')
-rw-r--r--tetrahedron.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/tetrahedron.tex b/tetrahedron.tex
new file mode 100644
index 0000000..ada6ce0
--- /dev/null
+++ b/tetrahedron.tex
@@ -0,0 +1,23 @@
1\input{settings.ttt}
2
3\begin{document}
4\begin{tikzpicture}[scale=2, line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
5
6\input{coord-tet.tex}
7
8% Background varying in size depending on the main figure
9\fill[color=white] (-2,-2) rectangle (2,2);
10
11\filldraw[very thick, draw=my-color-draw-main,
12 fill=my-color-fill-main, fill opacity = 0.3]
13 (P0) -- (P1) -- (P2) -- cycle;
14
15\filldraw[very thick, draw=my-color-draw-main,
16 fill=my-color-fill-main, fill opacity = 0.7]
17 (P0) -- (P3) -- (P1) -- cycle;
18
19\draw[very thick, draw=my-color-draw-main, dashed] (P2) -- (P3);
20
21\end{tikzpicture}
22\end{document}
23

Generated with cgit - Back to sebastiano.tronto.net