tetrahedron.tex (613B)
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