diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-19 15:47:53 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-19 15:47:53 +0200 |
| commit | 967f4abac97ac120a281e3b530791d7bb310e590 (patch) | |
| tree | 6e65952faffe6aa530e436a7207f2059f4b9e0e1 /tetrahedron.tex | |
| download | platonicsolids-967f4abac97ac120a281e3b530791d7bb310e590.tar.gz platonicsolids-967f4abac97ac120a281e3b530791d7bb310e590.zip | |
Initial commit
Diffstat (limited to 'tetrahedron.tex')
| -rw-r--r-- | tetrahedron.tex | 23 |
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 | |||
